LinkedServerLogin.SetRemotePassword Method (SecureString)
Sets the password an alternative logon name used when a distributed query or another Microsoft 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 (in microsoft.sqlserver.smo.dll)
Sintaxis
'Declaración
Public Sub SetRemotePassword ( _
password As SecureString _
)
public void SetRemotePassword (
SecureString password
)
public:
void SetRemotePassword (
SecureString^ password
)
public void SetRemotePassword (
SecureString password
)
public function SetRemotePassword (
password : SecureString
)
Parámetros
- password
A SecureString value that specifies the password that is used with the logon name specified in the RemoteUser property.
Notas
This property is only valid when the Impersonate property is set to the value True.
Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.
Ejemplo
How to: Link to an OLE-DB Provider Server in Visual Basic .NET
Seguridad para subprocesos
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plataformas
Plataformas de desarrollo
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Plataformas de destino
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Vea también
Referencia
LinkedServerLogin Class
LinkedServerLogin Members
Microsoft.SqlServer.Management.Smo Namespace
Otros recursos
Using Linked Servers in SMO
Vincular servidores
sp_addlinkedsrvlogin (Transact-SQL)
Using Linked Servers in SMO
Vincular servidores
sp_addlinkedsrvlogin (Transact-SQL)