BuildContributorContext.Arguments 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
명령줄 인수 및 해당 값의 사전을 가져옵니다. 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)