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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。