Partager via


Propriété DenyDatabase

Gets a database data definition language (DDL) trigger event that can be included in the event set.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SqlEnum (en Microsoft.SqlServer.SqlEnum.dll)

Syntaxe

'Déclaration
Public Shared ReadOnly Property DenyDatabase As ServerDdlTriggerEvent
    Get
'Utilisation
Dim value As ServerDdlTriggerEvent

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

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo. . :: . .ServerDdlTriggerEvent
A ServerDdlTriggerEvent object that represents the DenyDatabase event that can be included in the server DDL trigger event set.