Compartir a través de


Clase DbccStatement

Represents DBCC statement (all variants).

Jerarquía de herencia

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.DbccStatement

Espacio de nombres:  Microsoft.SqlServer.TransactSql.ScriptDom
Ensamblado:  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Sintaxis

'Declaración
<SerializableAttribute> _
Public Class DbccStatement _
    Inherits TSqlStatement
'Uso
Dim instance As DbccStatement
[SerializableAttribute]
public class DbccStatement : TSqlStatement
[SerializableAttribute]
public ref class DbccStatement : public TSqlStatement
[<SerializableAttribute>]
type DbccStatement =  
    class 
        inherit TSqlStatement 
    end
public class DbccStatement extends TSqlStatement

El tipo DbccStatement expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público DbccStatement Initializes a new instance of the DbccStatement class.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Command Gets or sets the DBCC statement type.
Propiedad pública 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.
Propiedad pública FirstTokenIndex Gets or sets the first token index. (Se hereda de TSqlFragment.)
Propiedad pública FragmentLength Gets the fragment length. (Se hereda de TSqlFragment.)
Propiedad pública LastTokenIndex Gets or sets the last token index. (Se hereda de TSqlFragment.)
Propiedad pública Literals Gets a list of named literals.
Propiedad pública Options Gets or sets the DBCC statement options.
Propiedad pública OptionsUseJoin Gets or sets a value that indicates whether the DBCC options are specified using JOIN.
Propiedad pública ParenthesisRequired Gets or sets a value that indicates whether empty parentheses are required, even if there were no literals.
Propiedad pública ScriptTokenStream Gets or sets a list of token streams. (Se hereda de TSqlFragment.)
Propiedad pública StartColumn Gets the starting column. (Se hereda de TSqlFragment.)
Propiedad pública StartLine Gets the starting line. (Se hereda de TSqlFragment.)
Propiedad pública StartOffset Gets the fragment start offset value. (Se hereda de TSqlFragment.)

Arriba

Métodos

  Nombre Descripción
Método público Accept Accepts a visit from the specified visitor. (Invalida TSqlFragment.Accept(TSqlFragmentVisitor).)
Método público AcceptChildren Accepts a visit for the Children from the specified visitor. (Invalida TSqlStatement.AcceptChildren(TSqlFragmentVisitor).)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString (Se hereda de Object.)

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.TransactSql.ScriptDom