Udostępnij za pośrednictwem


CustomMonitoringEvent.LoggingComputer 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 name of the computer that logged the event.

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

Usage

'Usage
Dim instance As CustomMonitoringEvent
Dim value As String

value = instance.LoggingComputer

instance.LoggingComputer = value

Syntax

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

/** @property */
public void set_LoggingComputer (String value)
public function get LoggingComputer () : String

public function set LoggingComputer (value : String)

Property Value

Returns a String that contains the name of the computer that logged the event.

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

CustomMonitoringEvent Class
CustomMonitoringEvent Members
Microsoft.EnterpriseManagement.Monitoring Namespace