Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Sets the account name and password for the proxy account on the instance of SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub SetAccount ( _
windowsAccount As String, _
password As String _
)
'Utilisation
Dim instance As ServerProxyAccount
Dim windowsAccount As String
Dim password As String
instance.SetAccount(windowsAccount, password)
public void SetAccount(
string windowsAccount,
string password
)
public:
void SetAccount(
String^ windowsAccount,
String^ password
)
member SetAccount :
windowsAccount:string *
password:string -> unit
public function SetAccount(
windowsAccount : String,
password : String
)
Paramètres
- windowsAccount
Type : System.String
A String value that specifies the name of the account.
- password
Type : System.String
A String value that specifies the password for the account.
Exemples
Planification des tâches administratives automatiques dans l'Agent SQL Server