ApplicationRole.ChangePassword Method (String)
Modifies the password of the application role.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub ChangePassword ( _
password As String _
)
'Usage
Dim instance As ApplicationRole
Dim password As String
instance.ChangePassword(password)
public void ChangePassword(
string password
)
public:
void ChangePassword(
String^ password
)
member ChangePassword :
password:string -> unit
public function ChangePassword(
password : String
)
Parameters
- password
Type: System.String
A String value that specifies the new password.
Remarks
For security reasons, the application role password should be modified before the application role is granted any privileges.
See Also