ColumnEncryptionKeyValueCollection.GetItemByColumnMasterKeyID(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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