Dela via


ServerEvent.CreateMasterKey Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Shared ReadOnly Property CreateMasterKey As ServerEvent
    Get
'Usage
Dim value As ServerEvent

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

Property Value

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