ServerDdlTriggerEvent.GrantDatabase Property

Gets a database data definition language (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 GrantDatabase As ServerDdlTriggerEvent 
    Get
'Usage
Dim value As ServerDdlTriggerEvent 

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

Property Value

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

See Also

Reference

ServerDdlTriggerEvent Class

Microsoft.SqlServer.Management.Smo Namespace