Condividi tramite


CimSession.TestConnectionAsync Method ()

 

Tests a connection by communicating with the server represented by the session to determine whether it is responding.

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

Syntax

public CimAsyncResult<CimInstance> TestConnectionAsync()
public:
CimAsyncResult<CimInstance^>^ TestConnectionAsync()
member TestConnectionAsync : unit -> CimAsyncResult<CimInstance>
Public Function TestConnectionAsync As CimAsyncResult(Of CimInstance)

Return Value

Type: Microsoft.Management.Infrastructure.Generic.CimAsyncResult<CimInstance>

true to indicate that the server is responding; otherwise, false.

See Also

CimSession Class
Microsoft.Management.Infrastructure Namespace

Return to top