Delen via


TryCatchStatement.TryStatements Property

Gets or sets the try statements.

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

Syntax

'Declaration
Public Property TryStatements As StatementList 
    Get 
    Set
'Usage
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)

Property Value

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

See Also

Reference

TryCatchStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace