MonitoringAlert.CustomField2 Property

Updated: April 16, 2012

Gets or sets the value of the custom field 2 for the alert. Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As MonitoringAlert Dim value As String value = instance.CustomField2 instance.CustomField2 = value<DataMemberAttribute(IsRequired:=True)> _ Public Property CustomField2 As String[DataMemberAttribute(IsRequired=true)] public string CustomField2 { get; set; }[DataMemberAttribute(IsRequired=true)] public: property String^ CustomField2 { String^ get (); void set (String^ value); }/** @property */ public String get_CustomField2 () /** @property */ public void set_CustomField2 (String value) public function get CustomField2 () : String public function set CustomField2 (value : String) Property ValueReturns a String that contains the value of the custom field 2 for the alert.

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.

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

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms