次の方法で共有


MonitoringAlert.CustomField1 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 value of the custom field 1 for the alert.

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

Usage

'Usage
Dim instance As MonitoringAlert
Dim value As String

value = instance.CustomField1

instance.CustomField1 = value

Syntax

'Declaration
<DataMemberAttribute(IsRequired:=True)> _
Public Property CustomField1 As String
[DataMemberAttribute(IsRequired=true)] 
public string CustomField1 { get; set; }
[DataMemberAttribute(IsRequired=true)] 
public:
property String^ CustomField1 {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_CustomField1 ()

/** @property */
public void set_CustomField1 (String value)
public function get CustomField1 () : String

public function set CustomField1 (value : String)

Property Value

Returns a String that contains the value of the custom field 1 for the alert.

Remarks

When a property value for an alert is set, call the Update method to update the property value in the alert.

Once this property is set, all future alerts of this type will include this customized value.

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