TryCatchStatement TryCatchStatement TryCatchStatement Class

Definition

Defines the try catch statement.

public ref class TryCatchStatement : Microsoft::SqlServer::TransactSql::ScriptDom::TSqlStatement
public class TryCatchStatement : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Public Class TryCatchStatement
Inherits TSqlStatement
Inheritance

Constructors

TryCatchStatement() TryCatchStatement() TryCatchStatement()

Initializes a new instance of the TryCatchStatement class.

Properties

CatchStatements CatchStatements CatchStatements

Gets or sets the catch statements that may have zero elements.

FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
ScriptTokenStream ScriptTokenStream ScriptTokenStream

Gets or sets a list of token streams.

(Inherited from TSqlFragment)
StartColumn StartColumn StartColumn

Gets the starting column.

(Inherited from TSqlFragment)
StartLine StartLine StartLine

Gets the starting line.

(Inherited from TSqlFragment)
StartOffset StartOffset StartOffset

Gets the fragment start offset value.

(Inherited from TSqlFragment)
TryStatements TryStatements TryStatements

Gets or sets the try statements.

Methods

Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor)

Accepts visitor.

AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor)

Accepts visitor for Children.

Fields

Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to