CimSession.InstanceId Property

 

Gets the unique instance ID of the current session object.

Namespace:   Microsoft.Management.Infrastructure
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Syntax

public Guid InstanceId { get; private set; }
public:
property Guid InstanceId {
    Guid get();
    private: void set(Guid value);
}
member InstanceId : Guid with get, private set
Public Property InstanceId As Guid
    Get
    Private Set
End Property

Property Value

Type: System.Guid

The unique instance ID of the current session.

See Also

CimSession Class
Microsoft.Management.Infrastructure Namespace

Return to top