次の方法で共有


DeclareVariableStatement.Declarations プロパティ

宣言の一覧を取得します。少なくとも 1 つの要素が必要です。

名前空間:  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>
宣言の一覧。

関連項目

参照

DeclareVariableStatement クラス

Microsoft.SqlServer.TransactSql.ScriptDom 名前空間