CimSession.CreateInstanceAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- options
- CimOperationOptions