Share via


TryCatchStatement Class

Represents the TRY…CATCH statement.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class TryCatchStatement _
    Inherits TSqlStatement
'Usage
Dim instance As TryCatchStatement
[SerializableAttribute]
public class TryCatchStatement : TSqlStatement
[SerializableAttribute]
public ref class TryCatchStatement : public TSqlStatement
public class TryCatchStatement extends TSqlStatement

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
    Microsoft.Data.Schema.ScriptDom.Sql.TSqlStatement
      Microsoft.Data.Schema.ScriptDom.Sql.TryCatchStatement

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

TryCatchStatement Members

Microsoft.Data.Schema.ScriptDom.Sql Namespace