Share via


CimSession.DeleteInstanceAsync Method

Definition

Overloads

DeleteInstanceAsync(String, CimInstance)
DeleteInstanceAsync(CimInstance)
DeleteInstanceAsync(String, CimInstance, CimOperationOptions)

DeleteInstanceAsync(String, CimInstance)

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

Parameters

namespaceName
String
instance
CimInstance

Returns

Applies to

DeleteInstanceAsync(CimInstance)

public:
 Microsoft::Management::Infrastructure::Generic::CimAsyncStatus ^ DeleteInstanceAsync(Microsoft::Management::Infrastructure::CimInstance ^ instance);
public Microsoft.Management.Infrastructure.Generic.CimAsyncStatus DeleteInstanceAsync (Microsoft.Management.Infrastructure.CimInstance instance);
member this.DeleteInstanceAsync : Microsoft.Management.Infrastructure.CimInstance -> Microsoft.Management.Infrastructure.Generic.CimAsyncStatus
Public Function DeleteInstanceAsync (instance As CimInstance) As CimAsyncStatus

Parameters

instance
CimInstance

Returns

Applies to

DeleteInstanceAsync(String, CimInstance, CimOperationOptions)

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

Parameters

namespaceName
String
instance
CimInstance

Returns

Applies to