Udostępnij przez


Audit.EnumDatabaseAuditSpecification Method

Enumerates a list of databases and audit specifications defined by the audit.

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

Syntax

'Deklaracja
Public Function EnumDatabaseAuditSpecification As DataTable
public DataTable EnumDatabaseAuditSpecification ()
public:
DataTable^ EnumDatabaseAuditSpecification ()
public DataTable EnumDatabaseAuditSpecification ()
public function EnumDatabaseAuditSpecification () : DataTable

Return Value

A DataTable system object value that contains a list of information about the databases in the audit. The table describes the different columns of the returned DataTable.

Column

Data type

Description

Database Name

String

The name of the database.

DB Specification Name

String

The name of the database audit specification associated with the database.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.