Workspace.PendPropertyChange Method (array<ItemProperties[], RecursionType, LockLevel, PendChangesOptions, array<String[], array<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)
Syntax
'Declaration
Public Function PendPropertyChange ( _
specs As ItemProperties(), _
recursion As RecursionType, _
lockLevel As LockLevel, _
options As PendChangesOptions, _
itemAttributeFilters As String(), _
itemPropertyFilters As String() _
) As Integer
public int PendPropertyChange(
ItemProperties[] specs,
RecursionType recursion,
LockLevel lockLevel,
PendChangesOptions options,
string[] itemAttributeFilters,
string[] itemPropertyFilters
)
public:
int PendPropertyChange(
array<ItemProperties^>^ specs,
RecursionType recursion,
LockLevel lockLevel,
PendChangesOptions options,
array<String^>^ itemAttributeFilters,
array<String^>^ itemPropertyFilters
)
member PendPropertyChange :
specs:ItemProperties[] *
recursion:RecursionType *
lockLevel:LockLevel *
options:PendChangesOptions *
itemAttributeFilters:string[] *
itemPropertyFilters:string[] -> int
public function PendPropertyChange(
specs : ItemProperties[],
recursion : RecursionType,
lockLevel : LockLevel,
options : PendChangesOptions,
itemAttributeFilters : String[],
itemPropertyFilters : String[]
) : int
Parameters
specs
Type: array<Microsoft.TeamFoundation.VersionControl.Client.ItemProperties[]The property changes to make
recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionTypeThe amount of recursion to use on the items.
lockLevel
Type: Microsoft.TeamFoundation.VersionControl.Client.LockLevelThe lock level to put on the resulting pending change.
options
Type: Microsoft.TeamFoundation.VersionControl.Common.PendChangesOptionsThe set of PendChanges options. Some relevant flags for PendPropertyChange are as follows: Silent: Don't return GetOps for the changes pended.
itemAttributeFilters
Type: array<System.String[]A list of versioned item properties to return with each get operation
- itemPropertyFilters
Type: array<System.String[]
Return Value
Type: System.Int32
The number of files checked out
.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.