Delen via


DatabaseEvent.DenyDatabase Property

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

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

Syntax

'Declaration
Public Shared ReadOnly Property DenyDatabase As DatabaseEvent
    Get
'Usage
Dim value As DatabaseEvent

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.DatabaseEvent
A DatabaseEvent object that represents the DenyDatabase event that can be included in the database event set.