Partager via


AddKeyEncryption méthode (SymmetricKeyEncryption[])

Adds key encryption to the symmetric key.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub AddKeyEncryption ( _
    keyEncryptions As SymmetricKeyEncryption() _
)
'Utilisation
Dim instance As SymmetricKey
Dim keyEncryptions As SymmetricKeyEncryption()

instance.AddKeyEncryption(keyEncryptions)
public void AddKeyEncryption(
    SymmetricKeyEncryption[] keyEncryptions
)
public:
void AddKeyEncryption(
    array<SymmetricKeyEncryption^>^ keyEncryptions
)
member AddKeyEncryption : 
        keyEncryptions:SymmetricKeyEncryption[] -> unit 
public function AddKeyEncryption(
    keyEncryptions : SymmetricKeyEncryption[]
)

Paramètres

Notes

The SymmetricKeyEncryption object parameter defines a key encryption type and a name or password associated with it.