SecurityTargetObject 类

表示可在安全语句体中使用的目标对象。

继承层次结构

System.Object
  Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
    Microsoft.Data.Schema.ScriptDom.Sql.SecurityTargetObject

命名空间:  Microsoft.Data.Schema.ScriptDom.Sql
程序集:  Microsoft.Data.Schema.ScriptDom.Sql(在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)

语法

声明
<SerializableAttribute> _
Public Class SecurityTargetObject _
    Inherits TSqlFragment
[SerializableAttribute]
public class SecurityTargetObject : TSqlFragment
[SerializableAttribute]
public ref class SecurityTargetObject : public TSqlFragment
[<SerializableAttribute>]
type SecurityTargetObject =  
    class
        inherit TSqlFragment
    end
public class SecurityTargetObject extends TSqlFragment

SecurityTargetObject 类型公开以下成员。

构造函数

  名称 说明
公共方法 SecurityTargetObject 初始化 SecurityTargetObject 类的新实例。

页首

属性

  名称 说明
公共属性 Columns 获取列的列表。
公共属性 FirstTokenIndex 获取或设置第一个标记索引。 (继承自 TSqlFragment。)
公共属性 FragmentLength 获取片段长度。 (继承自 TSqlFragment。)
公共属性 LastTokenIndex 获取或设置最后一个标记索引。 (继承自 TSqlFragment。)
公共属性 ObjectKind 获取或设置对象类型。
公共属性 ObjectName 获取或设置对象名。
公共属性 ScriptTokenStream 获取或设置标记流的列表。 (继承自 TSqlFragment。)
公共属性 StartColumn 获取起始列。 (继承自 TSqlFragment。)
公共属性 StartLine 获取起始行。 (继承自 TSqlFragment。)
公共属性 StartOffset 获取片段的起始偏移值。 (继承自 TSqlFragment。)

页首

方法

  名称 说明
公共方法 Accept 给定访问者的入口点。 (重写 TSqlFragment.Accept(TSqlFragmentVisitor)。)
公共方法 AcceptChildren 用给定访问者对子级调用 Accept。 (重写 TSqlFragment.AcceptChildren(TSqlFragmentVisitor)。)
公共方法 Equals 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.Data.Schema.ScriptDom.Sql 命名空间