ServerProxyAccount.SetPassword ServerProxyAccount.SetPassword ServerProxyAccount.SetPassword Method

Definition

Sets the proxy account password.

Overloads

SetPassword(SecureString) SetPassword(SecureString) SetPassword(SecureString)

Sets the proxy account password to the specified secure string.

SetPassword(String) SetPassword(String) SetPassword(String)

Sets the proxy account password to the specified string.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

SetPassword(SecureString) SetPassword(SecureString) SetPassword(SecureString)

Sets the proxy account password to the specified secure string.

public:
 void SetPassword(System::Security::SecureString ^ password);
public void SetPassword (System.Security.SecureString password);
Public Sub SetPassword (password As SecureString)
Parameters
password
SecureString SecureString SecureString

A SecureString value that specifies the password for the account.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

SetPassword(String) SetPassword(String) SetPassword(String)

Sets the proxy account password to the specified string.

public:
 void SetPassword(System::String ^ password);
public void SetPassword (string password);
Public Sub SetPassword (password As String)
Parameters
password
String String String

A String value that specifies the password for the account.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

Applies to