LinkedServerLogin Constructor (LinkedServer, String)

 

Initializes a new instance of the LinkedServerLogin class for the specified linked server and with the specified name.

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

public LinkedServerLogin(
	LinkedServer linkedServer,
	string name
)

Parameters

linkedServer
Type: Microsoft.SqlServer.Management.Smo.LinkedServer

A LinkedServer object that specifies the linked server to which the linked server logon has permission to access.

name
Type: System.String

A String value that specifies the name of the linked server logon.

Return to top
Show: