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)

속성 값

적용 대상