Dela via


AuditDestinationType Enumeration

The AuditDestination enumeration contains values that are used to specify the destination, to which the results of a SQL Server Audit are sent.

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

Syntax

'Declaration
Public Enumeration AuditDestinationType
'Usage
Dim instance As AuditDestinationType
public enum AuditDestinationType
public enum class AuditDestinationType
type AuditDestinationType
public enum AuditDestinationType

Members

Member name Description
File A file.
SecurityLog Windows Security event log.
ApplicationLog The Windows Application event log.

Remarks

The results of a SQL Server Audit are sent to a destination, which can be a file, the Windows Security event log, or the Windows Application event log.

The AuditDestinationType is served by the DestinationType property.