RepositoryExtensions.UndoPendingChanges Method
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function UndoPendingChanges ( _
workspaceName As String, _
ownerName As String, _
items As ItemSpec(), _
<OutAttribute> ByRef failures As List(Of Failure), _
propertyNameFilters As String() _
) As StreamingCollection(Of GetOperation)
[WebMethodAttribute]
public StreamingCollection<GetOperation> UndoPendingChanges(
string workspaceName,
string ownerName,
ItemSpec[] items,
out List<Failure> failures,
string[] propertyNameFilters
)
[WebMethodAttribute]
public:
StreamingCollection<GetOperation^>^ UndoPendingChanges(
String^ workspaceName,
String^ ownerName,
array<ItemSpec^>^ items,
[OutAttribute] List<Failure^>^% failures,
array<String^>^ propertyNameFilters
)
[<WebMethodAttribute>]
member UndoPendingChanges :
workspaceName:string *
ownerName:string *
items:ItemSpec[] *
failures:List<Failure> byref *
propertyNameFilters:string[] -> StreamingCollection<GetOperation>
public function UndoPendingChanges(
workspaceName : String,
ownerName : String,
items : ItemSpec[],
failures : List<Failure>,
propertyNameFilters : String[]
) : StreamingCollection<GetOperation>
Parameters
- workspaceName
Type: System.String
- ownerName
Type: System.String
- items
Type: array<Microsoft.TeamFoundation.VersionControl.Server.ItemSpec[]
- failures
Type: System.Collections.Generic.List<Failure>%
- propertyNameFilters
Type: array<System.String[]
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.