Udostępnij przez


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.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public Property RemoteUser As String
[SfcPropertyAttribute] 
public string RemoteUser { get; set; }
[SfcPropertyAttribute] 
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)

Property Value

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

Remarks

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

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.