DatabaseEvent.AlterMasterKey Property

Gets a database 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 AlterMasterKey As DatabaseEvent
    Get
'Usage
Dim value As DatabaseEvent

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

Property Value

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