ServerProxyAccount.SetPassword Method (String)
Sets the proxy account password to the specified string.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
Public Sub SetPassword ( _
password As String _
)
'Kullanım
Dim instance As ServerProxyAccount
Dim password As String
instance.SetPassword(password)
public void SetPassword(
string password
)
public:
void SetPassword(
String^ password
)
member SetPassword :
password:string -> unit
public function SetPassword(
password : String
)
Parameters
- password
Type: System.String
A String value that specifies the password for the account.
Examples
Scheduling Automatic Administrative Tasks in SQL Server Agent