Share via


ServerEvent.CreateDatabaseAuditSpecification Property

Gets a server 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 ServerEvent 
    Get
'Usage
Dim value As ServerEvent 

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

Property Value

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

Examples

Handling SMO Events

See Also

Reference

ServerEvent Class

Microsoft.SqlServer.Management.Smo Namespace