DatabaseEvent.CreateDatabaseAuditSpecification 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 CreateDatabaseAuditSpecification As DatabaseEvent 
    Get
'Usage
Dim value As DatabaseEvent 

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

Property Value

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

Examples

Handling SMO Events

See Also

Reference

DatabaseEvent Class

Microsoft.SqlServer.Management.Smo Namespace