Delen via


TryCatchStatement.CatchStatements Property

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

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property CatchStatements As StatementList 
    Get 
    Set
'Usage
Dim instance As TryCatchStatement 
Dim value As StatementList 

value = instance.CatchStatements

instance.CatchStatements = value
public StatementList CatchStatements { get; set; }
public:
property StatementList^ CatchStatements {
    StatementList^ get ();
    void set (StatementList^ value);
}
member CatchStatements : StatementList with get, set
function get CatchStatements () : StatementList 
function set CatchStatements (value : StatementList)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.StatementList
The catch statements that may have zero elements.

See Also

Reference

TryCatchStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace