Compartir a través de


AddPasswordEncryption Método

Adds password encryption to the master key.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub AddPasswordEncryption ( _
    password As String _
)
'Uso
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
)

Parámetros

Comentarios

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