Repository4.UndoPendingChanges 메서드
보류 중인 변경 내용 집합을 취소합니다.
ServerItem 사양 항목 일치 하지 않는 경우에 오류 개체가 반환 됩니다.
이 메서드는 보류 중인 변경 내용 실행 취소할 수 없는 배열을 반환 합니다. 각 파일에 대 한 클라이언트 DownloadFile()를 호출 하 고 UndonePendingChange 개체를 수정 되지 않은 버전의 파일 검색에서 반환 되는 버전을 지정 해야 합니다.
네임스페이스: Microsoft.TeamFoundation.VersionControl.Server
어셈블리: Microsoft.TeamFoundation.VersionControl.Server(Microsoft.TeamFoundation.VersionControl.Server.dll)
구문
‘선언
<WebMethodAttribute> _
Public Function UndoPendingChanges ( _
workspaceName As String, _
ownerName As String, _
items As ItemSpec(), _
itemPropertyFilters As String(), _
itemAttributeFilters As String(), _
<OutAttribute> ByRef failures As List(Of Failure), _
<OutAttribute> ByRef changePendedFlags As Integer _
) As StreamingCollection(Of GetOperation)
[WebMethodAttribute]
public StreamingCollection<GetOperation> UndoPendingChanges(
string workspaceName,
string ownerName,
ItemSpec[] items,
string[] itemPropertyFilters,
string[] itemAttributeFilters,
out List<Failure> failures,
out int changePendedFlags
)
매개 변수
- workspaceName
형식: System.String
보류 상태로 돌아가려면 작업 영역에서 변경 됩니다.
- ownerName
형식: System.String
작업 영역 (도메인 포함)의 소유자입니다.
- items
형식: array<Microsoft.TeamFoundation.VersionControl.Server.ItemSpec[]
되돌릴 수 있는 항목의 배열입니다.
- itemPropertyFilters
형식: array<System.String[]
- itemAttributeFilters
형식: array<System.String[]
가져오기 작업을 반환 하는 속성의 목록입니다.
- failures
형식: System.Collections.Generic.List<Failure>%
오류 개체 항목을 취소할 수 없습니다.
- changePendedFlags
형식: System.Int32%
반환 값
형식: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
결국 동기화 하는 클라이언트에 적용 해야 하는 get 작업의 배열입니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.