Compartir a través de


LinkedServerLogin.RemoteUser Property

Gets or sets an alternative logon name for the linked server logon to impersonate when it accesses data on a linked server.

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Property RemoteUser As String
public string RemoteUser { get; set; }
public:
property String^ RemoteUser {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_RemoteUser ()

/** @property */
public void set_RemoteUser (String value)
public function get RemoteUser () : String

public function set RemoteUser (value : String)

Valor de propiedad

A String value that specifies the alternative logon name for the linked server logon.

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)