Share via


LinkedServerLogin.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.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Impersonate As Boolean 
    Get 
    Set
‘사용 방법
Dim instance As LinkedServerLogin 
Dim value As Boolean 

value = instance.Impersonate

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

속성 값

유형: 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.

SMO에서 연결된 서버 사용

참고 항목

참조

LinkedServerLogin 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

연결된 서버(데이터베이스 엔진)

sp_addlinkedsrvlogin(Transact-SQL)