Метод ApplicationRole.ChangePassword (SecureString)
Modifies the password of the application role.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub ChangePassword ( _
password As SecureString _
)
'Применение
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
)
Параметры
- password
Тип: System.Security.SecureString
A SecureString value that specifies the new password.
Замечания
For security reasons, the application role password should be modified before the application role is granted any privileges.
Примеры
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo