共用方式為


CreateMasterKey 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Shared ReadOnly Property CreateMasterKey As DatabaseEvent
    Get
'用途
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

屬性值

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