Share via


ApplicationRole.ChangePassword Method (SecureString)

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 SecureString _
)
'Usage
Dim instance As ApplicationRole 
Dim password As SecureString

instance.ChangePassword(password)
public void ChangePassword(
    SecureString password
)
public:
void ChangePassword(
    SecureString^ password
)
member ChangePassword : 
        password:SecureString -> unit
public function ChangePassword(
    password : SecureString
)

Parameters

Remarks

For security reasons, the application role password should be modified before the application role is granted any privileges.

Examples

Calling Methods

See Also

Reference

ApplicationRole Class

ChangePassword Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Application Roles