Condividi tramite


CimSession.GetInstanceAsync Method

Definition

Overloads

GetInstanceAsync(String, CimInstance)
GetInstanceAsync(String, CimInstance, CimOperationOptions)

GetInstanceAsync(String, CimInstance)

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

Parameters

namespaceName
String
instanceId
CimInstance

Returns

Applies to

GetInstanceAsync(String, CimInstance, CimOperationOptions)

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

Parameters

namespaceName
String
instanceId
CimInstance

Returns

Applies to