Método MasterKey.EnumKeyEncryptions

Enumerates a list of the current set of key encryptions for the database master key.

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

Sintaxe

'Declaração
Public Function EnumKeyEncryptions As DataTable
'Uso
Dim instance As MasterKey 
Dim returnValue As DataTable 

returnValue = instance.EnumKeyEncryptions()
public DataTable EnumKeyEncryptions()
public:
DataTable^ EnumKeyEncryptions()
member EnumKeyEncryptions : unit -> DataTable
public function EnumKeyEncryptions() : DataTable

Valor de retorno

Tipo: System.Data.DataTable
A DataTable system object value that contains the list of current key encryptions for the database master key. The table describes the different columns of the returned DataTable.

Column

Data type

Description

Urn

String

The URN string that specifies the referenced master key.

Thumbprint

Byte

The thumbprint byte array that is associated with the master key. For more information, see sys.key_encryptions (Transact-SQL).

SymmetricKeyEncryptionType

String

The symmetric key encryption type. For more information, see SymmetricKeyEncryptionType class.

CryptProperty

Byte

The byte array that describes the crypt property. For more information, see sys.key_encryptions (Transact-SQL).

Exemplos

Chamando métodos

Consulte também

Referência

MasterKey Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Hierarquia de criptografia

CREATE MASTER KEY (Transact-SQL)