AuditSpecificationDetail-Struktur

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

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

Syntax

'Declaration
Public Structure AuditSpecificationDetail
'Usage
Dim instance As AuditSpecificationDetail
public struct AuditSpecificationDetail
public value class AuditSpecificationDetail
[<SealedAttribute>]
type AuditSpecificationDetail =  struct end
JScript unterstützt die Verwendung von Strukturen, aber nicht die Deklaration neuer Strukturen.

Der AuditSpecificationDetail-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode AuditSpecificationDetail(AuditActionType) Initializes a new instance of the AuditSpecificationDetail class with the specified action.
Öffentliche Methode AuditSpecificationDetail(AuditActionType, String, String) Initializes a new instance of the AuditSpecificationDetail class for the specified action, object and principal.
Öffentliche Methode AuditSpecificationDetail(AuditActionType, String, String, String) Initializes a new instance of the AuditSpecificationDetail class for the specified action, object, schema and principal.
Öffentliche Methode AuditSpecificationDetail(AuditActionType, String, String, String, String) Initializes a new instance of the AuditSpecificationDetail class for the specified action, class, schema, name, and principal.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Action Gets the type of action to be monitored during the audit.
Öffentliche Eigenschaft ObjectClass Gets the class of the object to be audited.
Öffentliche Eigenschaft ObjectName Gets the name of the object to be monitored during the audit.
Öffentliche Eigenschaft ObjectSchema Gets the schema of the object to be monitored during the audit.
Öffentliche Eigenschaft Principal Gets the name of the principal to be monitored during the audit.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von ValueType.)
Öffentliche Methode GetHashCode (Geerbt von ValueType.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von ValueType.)

Zum Anfang

Hinweise

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

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Smo-Namespace