Compartilhar via


Propriedade do RDL GrantDatabase

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

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

Sintaxe

'Declaração
Public Shared ReadOnly Property GrantDatabase As DatabaseDdlTriggerEvent
    Get
'Uso
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

Valor da propriedade

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.