مشاركة عبر


DatabaseDdlTriggerEvent.AlterMasterKey Property

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

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

Syntax

'Declaration
Public Shared ReadOnly Property AlterMasterKey As DatabaseDdlTriggerEvent 
    Get
'Usage
Dim value As DatabaseDdlTriggerEvent 

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

Property Value

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

Examples

Handling SMO Events

See Also

Reference

DatabaseDdlTriggerEvent Class

Microsoft.SqlServer.Management.Smo Namespace