Udostępnij za pośrednictwem


CimSession.CreateInstanceAsync Method

Definition

Overloads

CreateInstanceAsync(String, CimInstance)
CreateInstanceAsync(String, CimInstance, CimOperationOptions)

CreateInstanceAsync(String, CimInstance)

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

Parameters

namespaceName
String
instance
CimInstance

Returns

Applies to

CreateInstanceAsync(String, CimInstance, CimOperationOptions)

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

Parameters

namespaceName
String
instance
CimInstance

Returns

Applies to