CimSession.CloseAsync Method ()

 

Closes a session asynchronously and releases all associated memory.

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

Syntax

public CimAsyncStatus CloseAsync()
public:
CimAsyncStatus^ CloseAsync()
member CloseAsync : unit -> CimAsyncStatus
Public Function CloseAsync As CimAsyncStatus

Return Value

Type: Microsoft.Management.Infrastructure.Generic.CimAsyncStatus

A CimAsyncStatus object that represents the status of the operations being canceled.

See Also

CimSession Class
Microsoft.Management.Infrastructure Namespace

Return to top