Compartir a través de


SetRemotePassword Método (SecureString)

Sets the password for an alternative login name used when a distributed query or another SQL Server process accesses data on a linked server using an OLE DB Provider.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub SetRemotePassword ( _
    password As SecureString _
)
'Uso
Dim instance As LinkedServerLogin
Dim password As SecureString

instance.SetRemotePassword(password)
public void SetRemotePassword(
    SecureString password
)
public:
void SetRemotePassword(
    SecureString^ password
)
member SetRemotePassword : 
        password:SecureString -> unit 
public function SetRemotePassword(
    password : SecureString
)

Parámetros

Comentarios

This property is only valid when the Impersonate property is set to the value True.