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)

Usage

Visual Basic
Dim instance As MonitoringAlert
Dim value As String

value = instance.CustomField2

instance.CustomField2 = value

Syntax

Visual Basic
<DataMemberAttribute(IsRequired:=True)> _
Public Property CustomField2 As String
C#
[DataMemberAttribute(IsRequired=true)] 
public string CustomField2 { get; set; }
C++
[DataMemberAttribute(IsRequired=true)] 
public:
property String^ CustomField2 {
		String^ get ();
		void set (String^ value);
}
J#
/** @property */
public String get_CustomField2 ()

/** @property */
public void set_CustomField2 (String value)
JScript
public function get CustomField2 () : String

public function set CustomField2 (value : String)

Property Value

A string that contains the value of the custom field 2 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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

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

See Also