Export (0) Print
Expand All

Workspace.PendPropertyChange Method (ItemProperties[], RecursionType, LockLevel, PendChangesOptions, String[], String[])

Pends changes on the passed in paths giving each of them the passed in properties.

Note, property changes are merged with existing properties on the server. To delete an existing property pass in a property that has the desired name and a value of null.

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

public int PendPropertyChange(
	ItemProperties[] specs,
	RecursionType recursion,
	LockLevel lockLevel,
	PendChangesOptions options,
	string[] itemAttributeFilters,
	string[] itemPropertyFilters
)

Parameters

specs
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemProperties[]

The property changes to make

recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType

The amount of recursion to use on the items.

lockLevel
Type: Microsoft.TeamFoundation.VersionControl.Client.LockLevel

The lock level to put on the resulting pending change.

options
Type: Microsoft.TeamFoundation.VersionControl.Common.PendChangesOptions

The set of PendChanges options. Some relevant flags for PendPropertyChange are as follows: Silent: Don't return GetOps for the changes pended.

itemAttributeFilters
Type: System.String[]

A list of versioned item properties to return with each get operation

itemPropertyFilters
Type: System.String[]

Return Value

Type: System.Int32
The number of files checked out

Show:
© 2015 Microsoft