Share via


IManagementHost.Name Property

Definition

Gets the unique name of the host.

public:
 property System::String ^ Name { System::String ^ get(); };
public string Name { get; }
member this.Name : string
Public ReadOnly Property Name As String

Property Value

The unique name of the host.

Examples

The following example gets the unique name of the host.

string IManagementHost.Name {
    get {
        return _name;
    }
} 

Remarks

You can use the Name property to identify the host when a user agent is constructed for client/server requests.

Applies to