共用方式為


Repository5.UndoPendingChangesInLocalWorkspace Method

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'Declaration
<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, _
    maxClientPathLength 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,
    int maxClientPathLength
)
[WebMethodAttribute]
public:
StreamingCollection<GetOperation^>^ UndoPendingChangesInLocalWorkspace(
    String^ workspaceName, 
    String^ ownerName, 
    array<ItemSpec^>^ items, 
    [OutAttribute] List<Failure^>^% failures, 
    array<String^>^ itemPropertyFilters, 
    array<String^>^ itemAttributeFilters, 
    [OutAttribute] int% changePendedFlags, 
    int maxClientPathLength
)
[<WebMethodAttribute>]
member UndoPendingChangesInLocalWorkspace : 
        workspaceName:string * 
        ownerName:string * 
        items:ItemSpec[] * 
        failures:List<Failure> byref * 
        itemPropertyFilters:string[] * 
        itemAttributeFilters:string[] * 
        changePendedFlags:int byref * 
        maxClientPathLength:int -> StreamingCollection<GetOperation> 
public function UndoPendingChangesInLocalWorkspace(
    workspaceName : String, 
    ownerName : String, 
    items : ItemSpec[], 
    failures : List<Failure>, 
    itemPropertyFilters : String[], 
    itemAttributeFilters : String[], 
    changePendedFlags : int, 
    maxClientPathLength : int
) : StreamingCollection<GetOperation>

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>

.NET Framework Security

See Also

Reference

Repository5 Class

Microsoft.TeamFoundation.VersionControl.Server Namespace