RepositoryExtensions.PendChanges Method

Called to perform adds, checkouts, branches, renames, deletes, and so on.

Changes submitted may contain wildcard characters and recursion flags. Wildcards and recursions will be expanded and the list of changes successfully pended will be returned.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function PendChanges ( _
    workspaceName As String, _
    ownerName As String, _
    changes As ChangeRequest(), _
    pendChangesOptions As Integer, _
    supportedFeatures As Integer, _
    <OutAttribute> ByRef failures As List(Of Failure), _
    propertyNameFilters As String(), _
    <OutAttribute> ByRef changePendedFlags As Integer _
) As StreamingCollection(Of GetOperation)
[WebMethodAttribute]
public StreamingCollection<GetOperation> PendChanges(
    string workspaceName,
    string ownerName,
    ChangeRequest[] changes,
    int pendChangesOptions,
    int supportedFeatures,
    out List<Failure> failures,
    string[] propertyNameFilters,
    out int changePendedFlags
)
[WebMethodAttribute]
public:
StreamingCollection<GetOperation^>^ PendChanges(
    String^ workspaceName, 
    String^ ownerName, 
    array<ChangeRequest^>^ changes, 
    int pendChangesOptions, 
    int supportedFeatures, 
    [OutAttribute] List<Failure^>^% failures, 
    array<String^>^ propertyNameFilters, 
    [OutAttribute] int% changePendedFlags
)
[<WebMethodAttribute>]
member PendChanges : 
        workspaceName:string * 
        ownerName:string * 
        changes:ChangeRequest[] * 
        pendChangesOptions:int * 
        supportedFeatures:int * 
        failures:List<Failure> byref * 
        propertyNameFilters:string[] * 
        changePendedFlags:int byref -> StreamingCollection<GetOperation> 
public function PendChanges(
    workspaceName : String, 
    ownerName : String, 
    changes : ChangeRequest[], 
    pendChangesOptions : int, 
    supportedFeatures : int, 
    failures : List<Failure>, 
    propertyNameFilters : String[], 
    changePendedFlags : int
) : StreamingCollection<GetOperation>

Parameters

  • workspaceName
    Type: System.String

    Name of workspace to pend changes against.

  • ownerName
    Type: System.String

    Owner of workspace to pend changes against (including domain).

  • pendChangesOptions
    Type: System.Int32

    The set of PendChanges options (integer representation of PendChangeOptions enum) GetLatestOnCheckout: For pending edits, first synchronize the client to the latest version of the item by returning GetOps that indicate the client should perform a download.

  • supportedFeatures
    Type: System.Int32

    The features supported by the client, an int which contains the combined values of the SupportedFeatures enum.

  • propertyNameFilters
    Type: array<System.String[]

    List of properties to return with get operations.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
Array of GetOperation objects describing changes successfully made.

.NET Framework Security

See Also

Reference

RepositoryExtensions Class

Microsoft.TeamFoundation.VersionControl.Server Namespace