MasterKey.EnumKeyEncryptions 方法
Enumerates a list of the current set of key encryptions for the database master key.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Function EnumKeyEncryptions As DataTable
用法
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
返回值
类型: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 |
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 |
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). |
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间