Share via


ColumnEncryptionKeyValueCollection.GetItemByColumnMasterKeyID(Int32) Method

Definition

Gets the column encryption key value for a given column master key id

public Microsoft.SqlServer.Management.Smo.ColumnEncryptionKeyValue GetItemByColumnMasterKeyID (int ColumnMasterKeyID);
member this.GetItemByColumnMasterKeyID : int -> Microsoft.SqlServer.Management.Smo.ColumnEncryptionKeyValue
Public Function GetItemByColumnMasterKeyID (ColumnMasterKeyID As Integer) As ColumnEncryptionKeyValue

Parameters

ColumnMasterKeyID
Int32

The Column Master Key ID

Returns

The CEK value if found, null otherwise

Applies to