CimSession.GetInstanceAsync Method

Definition

Overloads

GetInstanceAsync(String, CimInstance)

C++
public:
 Microsoft::Management::Infrastructure::Generic::CimAsyncResult<Microsoft::Management::Infrastructure::CimInstance ^> ^ GetInstanceAsync(System::String ^ namespaceName, Microsoft::Management::Infrastructure::CimInstance ^ instanceId);

Parameters

namespaceName
String
instanceId
CimInstance

Returns

Applies to

PowerShell SDK 7.4.0 and other versions
Product Versions
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0

GetInstanceAsync(String, CimInstance, CimOperationOptions)

C++
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);

Parameters

namespaceName
String
instanceId
CimInstance

Returns

Applies to

PowerShell SDK 7.4.0 and other versions
Product Versions
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0