共用方式為


DeclareVariableStatement.Declarations 屬性

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

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public ReadOnly Property Declarations As IList(Of DeclareVariableElement)
    Get
'用途
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>

屬性值

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

請參閱

參考

DeclareVariableStatement 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間