Condividi tramite


Struttura AuditSpecificationDetail

The AuditSpecificationDetail object represents a SQL Server audit specification detail required when creating an audit.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Structure AuditSpecificationDetail
'Utilizzo
Dim instance As AuditSpecificationDetail
public struct AuditSpecificationDetail
public value class AuditSpecificationDetail
[<SealedAttribute>]
type AuditSpecificationDetail =  struct end
JScript supporta l'utilizzo di strutture, ma non la dichiarazione di nuove strutture.

Nel tipo AuditSpecificationDetail sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico AuditSpecificationDetail(AuditActionType) Initializes a new instance of the AuditSpecificationDetail class with the specified action.
Metodo pubblico AuditSpecificationDetail(AuditActionType, String, String) Initializes a new instance of the AuditSpecificationDetail class for the specified action, object and principal.
Metodo pubblico AuditSpecificationDetail(AuditActionType, String, String, String) Initializes a new instance of the AuditSpecificationDetail class for the specified action, object, schema and principal.
Metodo pubblico AuditSpecificationDetail(AuditActionType, String, String, String, String) Initializes a new instance of the AuditSpecificationDetail class for the specified action, class, schema, name, and principal.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Action Gets the type of action to be monitored during the audit.
Proprietà pubblica ObjectClass Gets the class of the object to be audited.
Proprietà pubblica ObjectName Gets the name of the object to be monitored during the audit.
Proprietà pubblica ObjectSchema Gets the schema of the object to be monitored during the audit.
Proprietà pubblica Principal Gets the name of the principal to be monitored during the audit.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da ValueType.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da ValueType.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Ereditato da ValueType.

In alto

Osservazioni

The AuditSpecificationDetail object is used to specify the actions, objects, principals to be monitored during the audit.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.