Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Database.MasterKey Property

Gets the master key that is used to encrypt the private keys of certificates.

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

function get MasterKey () : MasterKey

Property Value

Type: Microsoft.SqlServer.Management.Smo.MasterKey
A MasterKey object value that specifies the master key that is used to encrypt the private keys of certificates.The database master key can be encrypted by the service master key.

Community Additions

Show:
© 2015 Microsoft