Export (0) Print
Expand All

DatabaseDdlTriggerEventSet.DenyDatabase Property


Applies To: SQL Server 2016 Preview

Gets or sets a Boolean property value that specifies whether events are included in the event set.

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

public bool DenyDatabase { get; set; }

Property Value

Type: System.Boolean

A Boolean value that specifies whether the DenyDatabase event is included in the event set.

If True, the event is included in the event set. Otherwise, False.

Legacy Code Example

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft