Proprietà DatabaseDdlTriggerEvent.GrantDatabase

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

Sintassi

'Dichiarazione
Public Shared ReadOnly Property GrantDatabase As DatabaseDdlTriggerEvent 
    Get
'Utilizzo
Dim value As DatabaseDdlTriggerEvent 

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

Valore proprietà

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

Esempi

Gestione degli eventi SMO

Vedere anche

Riferimento

DatabaseDdlTriggerEvent Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo