Propriété Database.MasterKey
Gets the master key that is used to encrypt the private keys of certificates.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcObjectAttribute(SfcObjectRelationship.Object, SfcObjectCardinality.ZeroToOne)> _
Public ReadOnly Property MasterKey As MasterKey
Get
'Utilisation
Dim instance As Database
Dim value As MasterKey
value = instance.MasterKey
[SfcObjectAttribute(SfcObjectRelationship.Object, SfcObjectCardinality.ZeroToOne)]
public MasterKey MasterKey { get; }
[SfcObjectAttribute(SfcObjectRelationship::Object, SfcObjectCardinality::ZeroToOne)]
public:
property MasterKey^ MasterKey {
MasterKey^ get ();
}
[<SfcObjectAttribute(SfcObjectRelationship.Object, SfcObjectCardinality.ZeroToOne)>]
member MasterKey : MasterKey
function get MasterKey () : MasterKey
Valeur de propriété
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.
Exemples
Utilisation des objets de base de données
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo