Поделиться через


Метод AddPasswordEncryption

Adds password encryption to the master key.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Sub AddPasswordEncryption ( _
    password As String _
)
'Применение
Dim instance As MasterKey
Dim password As String

instance.AddPasswordEncryption(password)
public void AddPasswordEncryption(
    string password
)
public:
void AddPasswordEncryption(
    String^ password
)
member AddPasswordEncryption : 
        password:string -> unit 
public function AddPasswordEncryption(
    password : String
)

Параметры

Замечания

The IsEncryptedByServer property specifies whether the master key is encrypted by the service master key or by using a password.

Примеры

Вызов методов