SecurityTargetObject Class
SQL Server 2012
Represents the target object that can be used in security statement body.
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.SecurityTargetObject
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.SecurityTargetObject
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
The SecurityTargetObject type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Columns | Gets or sets the columns. If this is used inside ALTER AUTHORIZATION, there can't be any columns. Optional may have zero elements. |
![]() | FirstTokenIndex | Gets or sets the first token index. (Inherited from TSqlFragment.) |
![]() | FragmentLength | Gets the fragment length. (Inherited from TSqlFragment.) |
![]() | LastTokenIndex | Gets or sets the last token index. (Inherited from TSqlFragment.) |
![]() | ObjectKind | Gets or sets the object kind. |
![]() | ObjectName | Gets or sets the name of the object. |
![]() | ScriptTokenStream | Gets or sets a list of token streams. (Inherited from TSqlFragment.) |
![]() | StartColumn | Gets the starting column. (Inherited from TSqlFragment.) |
![]() | StartLine | Gets the starting line. (Inherited from TSqlFragment.) |
![]() | StartOffset | Gets the fragment start offset value. (Inherited from TSqlFragment.) |
| Name | Description | |
|---|---|---|
![]() | Accept | Accepts visitor. (Overrides TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() | AcceptChildren | Accepts visitor for Children. (Overrides TSqlFragment.AcceptChildren(TSqlFragmentVisitor).) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |

