次の方法で共有


TestConnection メソッド

リンク サーバーへの接続をテストします。

名前空間:  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()