次の方法で共有


MonitoringAlert.ConnectorId Property

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets or sets the globally unique identifier (GUID) for the connector corresponding to the monitoring alert.

Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As MonitoringAlert
Dim value As Nullable(Of Guid)

value = instance.ConnectorId

instance.ConnectorId = value

Syntax

'Declaration
<DataMemberAttribute(IsRequired:=True)> _
Public Property ConnectorId As Nullable(Of Guid)
[DataMemberAttribute(IsRequired=true)] 
public Nullable<Guid> ConnectorId { get; set; }
[DataMemberAttribute(IsRequired=true)] 
public:
property Nullable<Guid> ConnectorId {
    Nullable<Guid> get ();
    void set (Nullable<Guid> value);
}
/** @property */
public Nullable<Guid> get_ConnectorId ()

/** @property */
public void set_ConnectorId (Nullable<Guid> value)
public function get ConnectorId () : Nullable<Guid>

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

Property Value

Returns a Guid for the connector corresponding to the monitoring alert.

Remarks

Not all alerts are associated with a connector. When a property value for an alert is set, call the Update method to update the alert.

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 Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

MonitoringAlert Class
MonitoringAlert Members
Microsoft.EnterpriseManagement.Monitoring Namespace