User.ChangePassword Method (SecureString)
Changes the user password.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub ChangePassword ( _
newPassword As SecureString _
)
'Usage
Dim instance As User
Dim newPassword As SecureString
instance.ChangePassword(newPassword)
public void ChangePassword(
SecureString newPassword
)
public:
void ChangePassword(
SecureString^ newPassword
)
member ChangePassword :
newPassword:SecureString -> unit
public function ChangePassword(
newPassword : SecureString
)
Parameters
- newPassword
Type: System.Security.SecureString
The new password.