CimSession.DeleteInstanceAsync Method (CimInstance)

 

Asynchronously deletes an instance on the server represented by the session.

Namespace:   Microsoft.Management.Infrastructure
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Syntax

public CimAsyncStatus DeleteInstanceAsync(
    CimInstance instance
)
public:
CimAsyncStatus^ DeleteInstanceAsync(
    CimInstance^ instance
)
member DeleteInstanceAsync : 
        instance:CimInstance -> CimAsyncStatus
Public Function DeleteInstanceAsync (
    instance As CimInstance
) As CimAsyncStatus

Parameters

Return Value

Type: Microsoft.Management.Infrastructure.Generic.CimAsyncStatus

A CimAsyncStatus object that represents the status of the CimSession object creation.

See Also

DeleteInstanceAsync Overload
CimSession Class
Microsoft.Management.Infrastructure Namespace

Return to top