BuildContributorContext.Arguments プロパティ

定義

コマンド ライン引数とその値のディクショナリを取得します。 SSDT でビルドする場合、引数は .sqlproj ファイルまたは参照先の .targets ファイルで見つかった場合に使用できます。 たとえば、値が "true" の "RunMyContributor" 引数を追加する場合、次のものが追加されます。

<PropertyGroup><ContributorArguments Condition="'$(Configuration)' == 'Debug''"> $(ContributorArguments);RunMyContributor=True; </ContributorArguments></PropertyGroup>

この場合、引数はデバッグ構成にのみ追加されます。 上記の構成を使用すると、MSBuild 環境から情報を収集し、それを共同作成者に渡すことができます。

public System.Collections.Generic.IDictionary<string,string> Arguments { get; }
member this.Arguments : System.Collections.Generic.IDictionary<string, string>
Public ReadOnly Property Arguments As IDictionary(Of String, String)

プロパティ値

適用対象