DbccStatement Class
SQL Server 2012
Represents DBCC statement (all variants).
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.DbccStatement
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.DbccStatement
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
The DbccStatement type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Command | Gets or sets the DBCC statement type. |
![]() | DllName | Gets or sets the DLL name in the case of a FREE command. Note, that actual presence of FREE keyword is not checked by parser. |
![]() | 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.) |
![]() | Literals | Gets a list of named literals. |
![]() | Options | Gets or sets the DBCC statement options. |
![]() | OptionsUseJoin | Gets or sets a value that indicates whether the DBCC options are specified using JOIN. |
![]() | ParenthesisRequired | Gets or sets a value that indicates whether empty parentheses are required, even if there were no literals. |
![]() | 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 a visit from the specified visitor. (Overrides TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() | AcceptChildren | Accepts a visit for the Children from the specified visitor. (Overrides TSqlStatement.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.) |

