Structure AuditSpecificationDetail
The AuditSpecificationDetail object represents a SQL Server audit specification detail required when creating an audit.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Structure AuditSpecificationDetail
'Utilisation
Dim instance As AuditSpecificationDetail
public struct AuditSpecificationDetail
public value class AuditSpecificationDetail
[<SealedAttribute>]
type AuditSpecificationDetail = struct end
JScript prend en charge l'utilisation de structures, mais pas la déclaration de nouvelles structures.
Le type AuditSpecificationDetail expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
AuditSpecificationDetail(AuditActionType) | Initializes a new instance of the AuditSpecificationDetail class with the specified action. | |
AuditSpecificationDetail(AuditActionType, String, String) | Initializes a new instance of the AuditSpecificationDetail class for the specified action, object and principal. | |
AuditSpecificationDetail(AuditActionType, String, String, String) | Initializes a new instance of the AuditSpecificationDetail class for the specified action, object, schema and principal. | |
AuditSpecificationDetail(AuditActionType, String, String, String, String) | Initializes a new instance of the AuditSpecificationDetail class for the specified action, class, schema, name, and principal. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
Action | Gets the type of action to be monitored during the audit. | |
ObjectClass | Gets the class of the object to be audited. | |
ObjectName | Gets the name of the object to be monitored during the audit. | |
ObjectSchema | Gets the schema of the object to be monitored during the audit. | |
Principal | Gets the name of the principal to be monitored during the audit. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals | (hérité de ValueType.) | |
Finalize | (hérité de Object.) | |
GetHashCode | (hérité de ValueType.) | |
GetType | (hérité de Object.) | |
MemberwiseClone | (hérité de Object.) | |
ToString | (hérité de ValueType.) |
Haut de la page
Notes
The AuditSpecificationDetail object is used to specify the actions, objects, principals to be monitored during the audit.
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.