CimSession.TestConnection 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 bool TestConnection()
public:
bool TestConnection()
member TestConnection : unit -> bool
Public Function TestConnection As Boolean
Return Value
Type: System.Boolean
true if the connection succeeded; otherwise, false.
See Also
TestConnection Overload
CimSession Class
Microsoft.Management.Infrastructure Namespace
Return to top