Share via


IManagementHost.ApplicationName Property

Definition

Gets the unique name of the application that contains the host instance.

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

Property Value

The unique name of the application that contains the host instance.

Examples

The following example gets the application name.

string IManagementHost.ApplicationName {
    get {
        return _applicationName;
    }
} 

Remarks

You can use the ApplicationName property to associate profile information with an application.

Applies to