This documentation is archived and is not being maintained.

LinkedServer Constructor (Server, String)

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

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

public LinkedServer (
	Server server,
	string name
public LinkedServer (
	Server server, 
	String name
public function LinkedServer (
	server : Server, 
	name : String



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


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

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms