Partilhar via


Propriedade do RDL TryCatchStatement.TryStatements

Gets or sets the try statements.

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

Sintaxe

'Declaração
Public Property TryStatements As StatementList 
    Get 
    Set
'Uso
Dim instance As TryCatchStatement 
Dim value As StatementList 

value = instance.TryStatements

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

Valor da propriedade

Tipo: Microsoft.SqlServer.TransactSql.ScriptDom.StatementList
The try statements.

Consulte também

Referência

TryCatchStatement Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom