Udostępnij przez


LinkedServerLogin.Impersonate Property

Gets or sets the Boolean property value that specifies whether the SQL Server authenticated logon account connects to the linked server using its own credentials or using a specified logon name and password.

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

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public Property Impersonate As Boolean
[SfcPropertyAttribute] 
public bool Impersonate { get; set; }
[SfcPropertyAttribute] 
public:
property bool Impersonate {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_Impersonate ()

/** @property */
public void set_Impersonate (boolean value)
public function get Impersonate () : boolean

public function set Impersonate (value : boolean)

Property Value

A Boolean property value that specifies whether the SQL Server authenticated logon account connects to the linked server using its own credentials or using a specified logon name and password. If True, the logon connects using a specified logon name and password. If False (default), the logon connects using its own credentials.

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.