TeamFoundationVersionControlService.PendChanges Method (TeamFoundationRequestContext, String, String, array<ChangeRequest[], Int32, Int32, array<String[], array<String , Boolean, PathLength)
Called to perform adds, checkouts, branches, renames, deletes, etc. Changes submitted may contain wildcards 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
Public Function PendChanges ( _
requestContext As TeamFoundationRequestContext, _
workspaceName As String, _
ownerName As String, _
changes As ChangeRequest(), _
pendChangesOptions As Integer, _
supportedFeatures As Integer, _
itemPropertyFilters As String(), _
itemAttributeFilters As String(), _
allowLocalWorkspace As Boolean, _
maxClientPathLength As PathLength _
) As TeamFoundationDataReader
public TeamFoundationDataReader PendChanges(
TeamFoundationRequestContext requestContext,
string workspaceName,
string ownerName,
ChangeRequest[] changes,
int pendChangesOptions,
int supportedFeatures,
string[] itemPropertyFilters,
string[] itemAttributeFilters,
bool allowLocalWorkspace,
PathLength maxClientPathLength
)
public:
TeamFoundationDataReader^ PendChanges(
TeamFoundationRequestContext^ requestContext,
String^ workspaceName,
String^ ownerName,
array<ChangeRequest^>^ changes,
int pendChangesOptions,
int supportedFeatures,
array<String^>^ itemPropertyFilters,
array<String^>^ itemAttributeFilters,
bool allowLocalWorkspace,
PathLength maxClientPathLength
)
member PendChanges :
requestContext:TeamFoundationRequestContext *
workspaceName:string *
ownerName:string *
changes:ChangeRequest[] *
pendChangesOptions:int *
supportedFeatures:int *
itemPropertyFilters:string[] *
itemAttributeFilters:string[] *
allowLocalWorkspace:bool *
maxClientPathLength:PathLength -> TeamFoundationDataReader
public function PendChanges(
requestContext : TeamFoundationRequestContext,
workspaceName : String,
ownerName : String,
changes : ChangeRequest[],
pendChangesOptions : int,
supportedFeatures : int,
itemPropertyFilters : String[],
itemAttributeFilters : String[],
allowLocalWorkspace : boolean,
maxClientPathLength : PathLength
) : TeamFoundationDataReader
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
workspaceName
Type: System.StringName of workspace to pend changes against.
ownerName
Type: System.StringOwner of workspace to pend changes against (including domain).
changes
Type: array<Microsoft.TeamFoundation.VersionControl.Server.ChangeRequest[]Array of ChangeRequest objects describing changes to make.
pendChangesOptions
Type: System.Int32The 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.Int32The features supported by the client, an int which contains the combined values of the SupportedFeatures enumeration.
- itemPropertyFilters
Type: array<System.String[]
itemAttributeFilters
Type: array<System.String[]List of properties to return with get operations.
allowLocalWorkspace
Type: System.BooleanTrue to allow the operation to proceed on a local workspace. By default calling PendChanges on a local workspace is disallowed.
maxClientPathLength
Type: Microsoft.TeamFoundation.VersionControl.Common.PathLengthThe maximum supported server path length by the client.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: GetOperation[] - Array of GetOperation objects describing changes successfully made Failure[] - List of failures encountered while pending changes.
.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.