Share via


Propriété CreateMasterKey

Gets a database event that can be included in the event set.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared ReadOnly Property CreateMasterKey As DatabaseEvent
    Get
'Utilisation
Dim value As DatabaseEvent

value = DatabaseEvent.CreateMasterKey
public static DatabaseEvent CreateMasterKey { get; }
public:
static property DatabaseEvent^ CreateMasterKey {
    DatabaseEvent^ get ();
}
static member CreateMasterKey : DatabaseEvent
static function get CreateMasterKey () : DatabaseEvent

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEvent
A DatabaseEvent object that represents the CreateMasterKey event that can be included in the database event set.