Condividi tramite


Proprietà Impersonate

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.

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute> _
Public Property Impersonate As Boolean
    Get
    Set
'Utilizzo
Dim instance As LinkedServerLogin
Dim value As Boolean

value = instance.Impersonate

instance.Impersonate = value
[SfcPropertyAttribute]
public bool Impersonate { get; set; }
[SfcPropertyAttribute]
public:
property bool Impersonate {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute>]
member Impersonate : bool with get, set
function get Impersonate () : boolean
function set Impersonate (value : boolean)

Valore proprietà

Tipo: System. . :: . .Boolean
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.