Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Name Property

Name Property

Gets the unique name of the host.

Namespace:  Microsoft.Web.Management.Host
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

string Name { get; }

Property Value

Type: System..::..String
The unique name of the host.

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

The following example gets the unique name of the host.

string IManagementHost.Name {
    get {
        return _name;

Community Additions

© 2015 Microsoft