Compartir a través de


EnumDatabaseAuditSpecification Método

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Function EnumDatabaseAuditSpecification As DataTable
'Uso
Dim instance As Audit
Dim returnValue As DataTable

returnValue = instance.EnumDatabaseAuditSpecification()
public DataTable EnumDatabaseAuditSpecification()
public:
DataTable^ EnumDatabaseAuditSpecification()
member EnumDatabaseAuditSpecification : unit -> DataTable 
public function EnumDatabaseAuditSpecification() : DataTable

Valor devuelto

Tipo: System.Data. . :: . .DataTable
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.