Metodo ServerProxyAccount.SetAccount (String, String)
Sets the account name and password for the proxy account on the instance of SQL Server.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Sub SetAccount ( _
windowsAccount As String, _
password As String _
)
'Utilizzo
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
)
Parametri
- windowsAccount
Tipo: System.String
A String value that specifies the name of the account.
- password
Tipo: System.String
A String value that specifies the password for the account.
Esempi
Pianificazione delle attività amministrative automatiche in SQL Server Agent