Costruttore LinkedServerLogin (LinkedServer, String)
Initializes a new instance of the LinkedServerLogin class for the specified linked server and with the specified name.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
linkedServer As LinkedServer, _
name As String _
)
'Utilizzo
Dim linkedServer As LinkedServer
Dim name As String
Dim instance As New LinkedServerLogin(linkedServer, _
name)
public LinkedServerLogin(
LinkedServer linkedServer,
string name
)
public:
LinkedServerLogin(
LinkedServer^ linkedServer,
String^ name
)
new :
linkedServer:LinkedServer *
name:string -> LinkedServerLogin
public function LinkedServerLogin(
linkedServer : LinkedServer,
name : String
)
Parametri
- linkedServer
Tipo: Microsoft.SqlServer.Management.Smo.LinkedServer
A LinkedServer object that specifies the linked server to which the linked server logon has permission to access.
- name
Tipo: System.String
A String value that specifies the name of the linked server logon.
Esempi
Utilizzo di server collegati in SMO
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.Smo