Share via


CustomMonitoringEvent.User Property

 

Applies To: Operations Manager for System Center 2012

Gets or sets the user that inserted the event. The current user is the default value.

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

Syntax

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

Property Value

Type: System.String

Returns a String that contains the name of the user that inserted the event.

See Also

CustomMonitoringEvent Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top