Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

LinkedServer Constructor

 

Applies To: SQL Server 2016 Preview

Initializes a new instance of the LinkedServer object.

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

NameDescription
System_CAPS_pubmethodLinkedServer()

Initializes a new instance of the LinkedServer object.

System_CAPS_pubmethodLinkedServer(Server, String)

Initializes a new instance of the LinkedServer object on the specified instance of SQL Server and with the specified name.

Return to top

LinkedServer Constructor ()

Initializes a new instance of the LinkedServer object.

public LinkedServer()

The default constructor initializes any fields to their default values.

Return to top

LinkedServer Constructor (Server, String)

Initializes a new instance of the LinkedServer object on the specified instance of SQL Server and with the specified name.

public LinkedServer(
	Server server,
	string name
)

Parameters

server
Type: Microsoft.SqlServer.Management.Smo.Server

A Server object value that specifies the local instance of SQL Server.

name
Type: System.String

A String value that specifies the name of the remote instance of SQL Server.

Return to top
Show:
© 2015 Microsoft