Export (0) Print
Expand All

AuditSpecificationDetail Structure

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)

'Declaration
Public Structure AuditSpecificationDetail
'Usage
Dim instance As AuditSpecificationDetail

The AuditSpecificationDetail type exposes the following members.

  NameDescription
Public methodAuditSpecificationDetail(AuditActionType)Initializes a new instance of the AuditSpecificationDetail class with the specified action.
Public methodAuditSpecificationDetail(AuditActionType, String, String)Initializes a new instance of the AuditSpecificationDetail class for the specified action, object and principal.
Public methodAuditSpecificationDetail(AuditActionType, String, String, String)Initializes a new instance of the AuditSpecificationDetail class for the specified action, object, schema and principal.
Public methodAuditSpecificationDetail(AuditActionType, String, String, String, String)Initializes a new instance of the AuditSpecificationDetail class for the specified action, class, schema, name, and principal.
Top

  NameDescription
Public propertyActionGets the type of action to be monitored during the audit.
Public propertyObjectClassGets the class of the object to be audited.
Public propertyObjectNameGets the name of the object to be monitored during the audit.
Public propertyObjectSchemaGets the schema of the object to be monitored during the audit.
Public propertyPrincipalGets the name of the principal to be monitored during the audit.
Top

  NameDescription
Public methodEquals (Inherited from ValueType.)
Public methodGetHashCode (Inherited from ValueType.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from ValueType.)
Top

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft