Export (0) Print
Expand All

Database.MasterKey Property

 

Applies To: SQL Server 2016 Preview

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)

[SfcObjectAttribute(SfcObjectRelationship.Object, SfcObjectCardinality.ZeroToOne)]
public MasterKey MasterKey { get; }

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.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft