Compartilhar via


Construtor LinkedServerLogin (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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub New ( _
    linkedServer As LinkedServer, _
    name As String _
)
'Uso
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
)

Parâmetros