Sdílet prostřednictvím


SymmetricKey.EnumKeyEncryptions Method

Enumerates a list of key encryptions associated with the symmetric key.

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

Syntax

'Declaration
Public Function EnumKeyEncryptions As DataTable
'Usage
Dim instance As SymmetricKey 
Dim returnValue As DataTable 

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

Return Value

Type: System.Data.DataTable
An DataTable system object value that contains a list of key encryptions associated with the symmetric key.

Examples

Using Encryption

See Also

Reference

SymmetricKey Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Encryption Hierarchy

CREATE SYMMETRIC KEY (Transact-SQL)