Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Adds password encryption to the master key.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub AddPasswordEncryption ( _
password As String _
)
'Utilisation
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
)
Paramètres
- password
Type : System.String
A String value that specifies the password with which to encrypt and decrypt the master key.
Notes
The IsEncryptedByServer property specifies whether the master key is encrypted by the service master key or by using a password.
Exemples
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo