Delen via


DatabaseDdlTriggerEvent.DenyDatabase 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 DenyDatabase As DatabaseDdlTriggerEvent
    Get
'Usage
Dim value As DatabaseDdlTriggerEvent

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

Property Value

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