LinkedServer.TestConnection Method

Tests the connection to a linked server.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub TestConnection
'Usage
Dim instance As LinkedServer

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

See Also

Reference

LinkedServer Class

Microsoft.SqlServer.Management.Smo Namespace