Структура AuditSpecificationDetail
The AuditSpecificationDetail object represents a SQL Server audit specification detail required when creating an audit.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Structure AuditSpecificationDetail
'Применение
Dim instance As AuditSpecificationDetail
public struct AuditSpecificationDetail
public value class AuditSpecificationDetail
[<SealedAttribute>]
type AuditSpecificationDetail = struct end
JScript поддерживает использование структур, но не объявление новых.
Тип AuditSpecificationDetail обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
![]() |
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. |
В начало
Свойства
Имя | Описание | |
---|---|---|
![]() |
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. |
В начало
Методы
Имя | Описание | |
---|---|---|
![]() |
Equals | (Производный от ValueType.) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetHashCode | (Производный от ValueType.) |
![]() |
GetType | (Производный от Object.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
ToString | (Производный от ValueType.) |
В начало
Замечания
The AuditSpecificationDetail object is used to specify the actions, objects, principals to be monitored during the audit.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.