Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Represents the ON_FAILURE option in a CREATE/ALTER SERVER AUDIT statement.
Иерархия наследования
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.AuditOption
Microsoft.SqlServer.TransactSql.ScriptDom.OnFailureAuditOption
Пространство имен: Microsoft.SqlServer.TransactSql.ScriptDom
Сборка: Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Синтаксис
'Декларация
<SerializableAttribute> _
Public Class OnFailureAuditOption _
Inherits AuditOption
'Применение
Dim instance As OnFailureAuditOption
[SerializableAttribute]
public class OnFailureAuditOption : AuditOption
[SerializableAttribute]
public ref class OnFailureAuditOption : public AuditOption
[<SerializableAttribute>]
type OnFailureAuditOption =
class
inherit AuditOption
end
public class OnFailureAuditOption extends AuditOption
Тип OnFailureAuditOption обеспечивает доступ к следующим элементам.
Конструкторы
| Имя | Описание | |
|---|---|---|
![]() |
OnFailureAuditOption | Initializes a new instance of the OnFailureAuditOption class. |
В начало
Свойства
| Имя | Описание | |
|---|---|---|
![]() |
FirstTokenIndex | Gets or sets the first token index. (Производный от TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (Производный от TSqlFragment.) |
![]() |
LastTokenIndex | Gets or sets the last token index. (Производный от TSqlFragment.) |
![]() |
OnFailureAction | Gets or sets the failure action whether to continue or stop instance writing to the target. |
![]() |
OptionKind | Gets or sets the audit option kind. (Производный от AuditOption.) |
![]() |
ScriptTokenStream | Gets or sets a list of token streams. (Производный от TSqlFragment.) |
![]() |
StartColumn | Gets the starting column. (Производный от TSqlFragment.) |
![]() |
StartLine | Gets the starting line. (Производный от TSqlFragment.) |
![]() |
StartOffset | Gets the fragment start offset value. (Производный от TSqlFragment.) |
В начало
Методы
| Имя | Описание | |
|---|---|---|
![]() |
Accept | Accepts a visit from the specified visitor. (Переопределяет TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Accepts a visit for the Children from the specified visitor. (Переопределяет AuditOption.AcceptChildren(TSqlFragmentVisitor).) |
![]() |
Equals | (Производный от Object.) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetType | (Производный от Object.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
ToString | (Производный от Object.) |
В начало
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
.gif)
.gif)
.gif)