Database::MasterKey Property
SQL Server 2012
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: property MasterKey^ MasterKey { MasterKey^ get (); }
Property Value
Type: Microsoft.SqlServer.Management.Smo::MasterKeyA 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.
