Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets or sets the Boolean property value that specifies whether the Microsoft 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
'Declaration
Public Property Impersonate As Boolean
public bool Impersonate { get; set; }
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)
Eigenschaftswert
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.
Hinweise
Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.
Beispiel
How to: Link to an OLE-DB Provider Server in Visual Basic .NET
Threadsicherheit
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.
Plattformen
Entwicklungsplattformen
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
Zielplattforme
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
Siehe auch
Verweis
LinkedServerLogin Class
LinkedServerLogin Members
Microsoft.SqlServer.Management.Smo Namespace
Andere Ressourcen
Using Linked Servers in SMO
Verbindungsserver
sp_addlinkedsrvlogin (Transact-SQL)