Поделиться через


CimInstance.GetCimSessionComputerName Method ()

 

Gets the name of the computer used to retrieve the current instance.

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

Syntax

public string GetCimSessionComputerName()
public:
String^ GetCimSessionComputerName()
member GetCimSessionComputerName : unit -> string
Public Function GetCimSessionComputerName As String

Return Value

Type: System.String

The ComputerName used to retrieve the current instance; null if the current instance is client-side only, or if the instance was retrieved from localhost.

See Also

CimInstance Class
Microsoft.Management.Infrastructure Namespace

Return to top