Méthode SymmetricKey.AddKeyEncryption (SymmetricKeyEncryption)
Adds key encryption to the symmetric key.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub AddKeyEncryption ( _
keyEncryption As SymmetricKeyEncryption _
)
'Utilisation
Dim instance As SymmetricKey
Dim keyEncryption As SymmetricKeyEncryption
instance.AddKeyEncryption(keyEncryption)
public void AddKeyEncryption(
SymmetricKeyEncryption keyEncryption
)
public:
void AddKeyEncryption(
SymmetricKeyEncryption^ keyEncryption
)
member AddKeyEncryption :
keyEncryption:SymmetricKeyEncryption -> unit
public function AddKeyEncryption(
keyEncryption : SymmetricKeyEncryption
)
Paramètres
- keyEncryption
Type : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption
A SymmetricKeyEncryption object value that specifies one encryption mechanism to be added to the symmetric key.
Notes
The SymmetricKeyEncryption object parameter defines a key encryption type and a name or password associated with it.
Exemples
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo