共用方式為


TestConnection 方法

Tests the connection to a linked server.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub TestConnection
'用途
Dim instance As LinkedServer

instance.TestConnection()
public void TestConnection()
public:
void TestConnection()
member TestConnection : unit -> unit 
public function TestConnection()