共用方式為


CimSession.TestConnection Method

Definition

Overloads

TestConnection()
TestConnection(CimInstance, CimException)

TestConnection()

public:
 bool TestConnection();
public:
 bool TestConnection();
bool TestConnection();
public bool TestConnection ();
member this.TestConnection : unit -> bool
Public Function TestConnection () As Boolean

Returns

Applies to

TestConnection(CimInstance, CimException)

public:
 bool TestConnection([Runtime::InteropServices::Out] Microsoft::Management::Infrastructure::CimInstance ^ % instance, [Runtime::InteropServices::Out] Microsoft::Management::Infrastructure::CimException ^ % exception);
public bool TestConnection (out Microsoft.Management.Infrastructure.CimInstance instance, out Microsoft.Management.Infrastructure.CimException exception);
member this.TestConnection : CimInstance * CimException -> bool
Public Function TestConnection (ByRef instance As CimInstance, ByRef exception As CimException) As Boolean

Parameters

instance
CimInstance
exception
CimException

Returns

Applies to