Export (0) Print
Expand All
Expand Minimize

DatabaseEventSet.GrantDatabase Property

Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when access is granted to the database.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public bool GrantDatabase { get; set; }

Property Value

Type: System.Boolean
A Boolean value that specifies whether the GrantDatabase event is included in the event set.
If True, the event is included in the event set. Otherwise, False.

Community Additions

ADD
Show:
© 2014 Microsoft