Estrutura AuditSpecificationDetail
The AuditSpecificationDetail object represents a SQL Server audit specification detail required when creating an audit.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Structure AuditSpecificationDetail
'Uso
Dim instance As AuditSpecificationDetail
public struct AuditSpecificationDetail
public value class AuditSpecificationDetail
[<SealedAttribute>]
type AuditSpecificationDetail = struct end
JScript dá suporte ao uso de estruturas, mas não à declaração de estruturas novas.
O tipo AuditSpecificationDetail expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
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. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
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. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals | (Herdado de ValueType.) | |
GetHashCode | (Herdado de ValueType.) | |
GetType | (Herdado de Object.) | |
ToString | (Herdado de ValueType.) |
Início
Comentários
The AuditSpecificationDetail object is used to specify the actions, objects, principals to be monitored during the audit.
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.