Gets or sets the monitoring class associated with the saved search. Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As SavedSearch
Dim value As Nullable(Of Guid)

value = instance.TargetMonitoringClassId

instance.TargetMonitoringClassId = value

Syntax

Visual Basic
Public Property TargetMonitoringClassId As Nullable(Of Guid)
C#
public Nullable<Guid> TargetMonitoringClassId { get; set; }
C++
public:
property Nullable<Guid> TargetMonitoringClassId {
		Nullable<Guid> get ();
		void set (Nullable<Guid> value);
}
J#
/** @property */
public Nullable<Guid> get_TargetMonitoringClassId ()

/** @property */
public void set_TargetMonitoringClassId (Nullable<Guid> value)
JScript
public function get TargetMonitoringClassId () : Nullable<Guid>

public function set TargetMonitoringClassId (value : Nullable<Guid>)

Property Value

Returns the globally unique identifier (GUID) for the monitoring class associated with the saved search.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also