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.
Sets the account name and password for the proxy account on the instance of Microsoft SQL Server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Declaration
Public Sub SetAccount ( _
windowsAccount As String, _
password As String _
)
public void SetAccount (
string windowsAccount,
string password
)
public:
void SetAccount (
String^ windowsAccount,
String^ password
)
public void SetAccount (
String windowsAccount,
String password
)
public function SetAccount (
windowsAccount : String,
password : String
)
Parameter
- windowsAccount
A String value that specifies the name of the account.
- password
A String value that specifies the password for the account.
Hinweise
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Beispiel
How to: Allow User Access to Subsystem by Using a Proxy Account 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
ServerProxyAccount Class
ServerProxyAccount Members
Microsoft.SqlServer.Management.Smo Namespace
Andere Ressourcen
Scheduling Automatic Administrative Tasks in SQL Server Agent
Scheduling Automatic Administrative Tasks in SQL Server Agent