次の方法で共有


MonitoringAlert.CustomField1 Property

 

Applies To: Operations Manager for System Center 2012

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)

Syntax

[DataMemberAttribute(IsRequired = true)]
public string CustomField1 { get; set; }
public:
[DataMemberAttribute(IsRequired = true)]
property String^ CustomField1 {
    String^ get();
    void set(String^ value);
}
[<DataMemberAttribute(IsRequired = true)>]
member CustomField1 : string with get, set
<DataMemberAttribute(IsRequired := True)>
Public Property CustomField1 As String

Property Value

Type: System.String

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.

See Also

MonitoringAlert Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top