Repository4.UndoPendingChangesInLocalWorkspace 方法
命名空間: Microsoft.TeamFoundation.VersionControl.Server
組件: Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)
語法
'宣告
<WebMethodAttribute> _
Public Function UndoPendingChangesInLocalWorkspace ( _
workspaceName As String, _
ownerName As String, _
items As ItemSpec(), _
<OutAttribute> ByRef failures As List(Of Failure), _
itemPropertyFilters As String(), _
itemAttributeFilters As String(), _
<OutAttribute> ByRef changePendedFlags As Integer _
) As StreamingCollection(Of GetOperation)
[WebMethodAttribute]
public StreamingCollection<GetOperation> UndoPendingChangesInLocalWorkspace(
string workspaceName,
string ownerName,
ItemSpec[] items,
out List<Failure> failures,
string[] itemPropertyFilters,
string[] itemAttributeFilters,
out int changePendedFlags
)
參數
- workspaceName
類型:System.String
- ownerName
類型:System.String
- items
類型:array<Microsoft.TeamFoundation.VersionControl.Server.ItemSpec[]
- failures
類型:System.Collections.Generic.List<Failure>%
- itemPropertyFilters
類型:array<System.String[]
- itemAttributeFilters
類型:array<System.String[]
- changePendedFlags
類型:System.Int32%
傳回值
類型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
傳回 StreamingCollection<T>。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱 從部分受信任程式碼使用程式庫。