Delen via


DeclareVariableStatement.Declarations Property

Gets the list of declarations, must have at least one element.

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

Syntax

'Declaration
Public ReadOnly Property Declarations As IList(Of DeclareVariableElement)
    Get
'Usage
Dim instance As DeclareVariableStatement 
Dim value As IList(Of DeclareVariableElement)

value = instance.Declarations
public IList<DeclareVariableElement> Declarations { get; }
public:
property IList<DeclareVariableElement^>^ Declarations {
    IList<DeclareVariableElement^>^ get ();
}
member Declarations : IList<DeclareVariableElement>
function get Declarations () : IList<DeclareVariableElement>

Property Value

Type: System.Collections.Generic.IList<DeclareVariableElement>
The list of declarations.

See Also

Reference

DeclareVariableStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace