SymmetricKey.AddKeyEncryption Method (SymmetricKeyEncryption[])
Adds key encryption to the symmetric key.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Sintaxis
'Declaración
Public Sub AddKeyEncryption ( _
keyEncryptions As SymmetricKeyEncryption() _
)
public void AddKeyEncryption (
SymmetricKeyEncryption[] keyEncryptions
)
public:
void AddKeyEncryption (
array<SymmetricKeyEncryption^>^ keyEncryptions
)
public void AddKeyEncryption (
SymmetricKeyEncryption[] keyEncryptions
)
public function AddKeyEncryption (
keyEncryptions : SymmetricKeyEncryption[]
)
Parámetros
- keyEncryptions
A SymmetricKeyEncryption object array value that specifies two or more encryption mechanisms to be added to the symmetric key.
Notas
The SymmetricKeyEncryption object parameter defines a key encryption type and a name or password associated with it.
Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.
Ejemplo
How to: Use an SMO Method with a Parameter in Visual Basic .NET
Seguridad para subprocesos
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plataformas
Plataformas de desarrollo
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Plataformas de destino
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Vea también
Referencia
SymmetricKey Class
SymmetricKey Members
Microsoft.SqlServer.Management.Smo Namespace
Otros recursos
Using Encryption
Jerarquía de cifrado
CREATE SYMMETRIC KEY (Transact-SQL)