Sdílet prostřednictvím


CimSession.GetInstance Method

Definition

Overloads

GetInstance(String, CimInstance)
GetInstance(String, CimInstance, CimOperationOptions)

GetInstance(String, CimInstance)

public:
 Microsoft::Management::Infrastructure::CimInstance ^ GetInstance(System::String ^ namespaceName, Microsoft::Management::Infrastructure::CimInstance ^ instanceId);
public Microsoft.Management.Infrastructure.CimInstance GetInstance (string namespaceName, Microsoft.Management.Infrastructure.CimInstance instanceId);
member this.GetInstance : string * Microsoft.Management.Infrastructure.CimInstance -> Microsoft.Management.Infrastructure.CimInstance
Public Function GetInstance (namespaceName As String, instanceId As CimInstance) As CimInstance

Parameters

namespaceName
String
instanceId
CimInstance

Returns

Applies to

GetInstance(String, CimInstance, CimOperationOptions)

public:
 Microsoft::Management::Infrastructure::CimInstance ^ GetInstance(System::String ^ namespaceName, Microsoft::Management::Infrastructure::CimInstance ^ instanceId, Microsoft::Management::Infrastructure::Options::CimOperationOptions ^ options);
public Microsoft.Management.Infrastructure.CimInstance GetInstance (string namespaceName, Microsoft.Management.Infrastructure.CimInstance instanceId, Microsoft.Management.Infrastructure.Options.CimOperationOptions options);
member this.GetInstance : string * Microsoft.Management.Infrastructure.CimInstance * Microsoft.Management.Infrastructure.Options.CimOperationOptions -> Microsoft.Management.Infrastructure.CimInstance
Public Function GetInstance (namespaceName As String, instanceId As CimInstance, options As CimOperationOptions) As CimInstance

Parameters

namespaceName
String
instanceId
CimInstance

Returns

Applies to