Compartilhar via


Propriedade do RDL TryCatchStatement.CatchStatements

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

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

Sintaxe

'Declaração
Public Property CatchStatements As StatementList 
    Get 
    Set
'Uso
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)

Valor da propriedade

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

Consulte também

Referência

TryCatchStatement Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom