Класс SecurityStatement

Represents the security statement body base class.

Иерархия наследования

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.SecurityStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.DenyStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.GrantStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.RevokeStatement

Пространство имен:  Microsoft.SqlServer.TransactSql.ScriptDom
Сборка:  Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
Public MustInherit Class SecurityStatement _
    Inherits TSqlStatement
'Применение
Dim instance As SecurityStatement
[SerializableAttribute]
public abstract class SecurityStatement : TSqlStatement
[SerializableAttribute]
public ref class SecurityStatement abstract : public TSqlStatement
[<AbstractClassAttribute>]
[<SerializableAttribute>]
type SecurityStatement =  
    class 
        inherit TSqlStatement 
    end
public abstract class SecurityStatement extends TSqlStatement

Тип SecurityStatement обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Защищенный метод SecurityStatement Initializes a new instance of the SecurityStatement class.

В начало

Свойства

  Имя Описание
Открытое свойство AsClause Gets or sets an AS clause. Optional may be nullпустая ссылка (Nothing в Visual Basic).
Открытое свойство FirstTokenIndex Gets or sets the first token index. (Производный от TSqlFragment.)
Открытое свойство FragmentLength Gets the fragment length. (Производный от TSqlFragment.)
Открытое свойство LastTokenIndex Gets or sets the last token index. (Производный от TSqlFragment.)
Открытое свойство Permissions Gets or sets the permissions.
Открытое свойство Principals Gets the principals.
Открытое свойство ScriptTokenStream Gets or sets a list of token streams. (Производный от TSqlFragment.)
Открытое свойство SecurityTargetObject Gets or sets the security target object. Optional may be nullпустая ссылка (Nothing в Visual Basic).
Открытое свойство StartColumn Gets the starting column. (Производный от TSqlFragment.)
Открытое свойство StartLine Gets the starting line. (Производный от TSqlFragment.)
Открытое свойство StartOffset Gets the fragment start offset value. (Производный от TSqlFragment.)

В начало

Методы

  Имя Описание
Открытый метод Accept Indicates the entry point for a given visitor. (Производный от TSqlFragment.)
Открытый метод AcceptChildren Accepts visitor for Children. (Переопределяет TSqlStatement.AcceptChildren(TSqlFragmentVisitor).)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.TransactSql.ScriptDom