Compartilhar via


Método AddKeyEncryption (SymmetricKeyEncryption)

Adds key encryption to the symmetric key.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub AddKeyEncryption ( _
    keyEncryption As SymmetricKeyEncryption _
)
'Uso
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
)

Parâmetros

Comentários

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