Workspace.PendPropertyChange Method (String, array<PropertyValue , RecursionType, LockLevel)
Pends changes on the passed in path giving it 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 ( _
path As String, _
properties As PropertyValue(), _
recursion As RecursionType, _
lockLevel As LockLevel _
) As Integer
public int PendPropertyChange(
string path,
PropertyValue[] properties,
RecursionType recursion,
LockLevel lockLevel
)
public:
int PendPropertyChange(
String^ path,
array<PropertyValue^>^ properties,
RecursionType recursion,
LockLevel lockLevel
)
member PendPropertyChange :
path:string *
properties:PropertyValue[] *
recursion:RecursionType *
lockLevel:LockLevel -> int
public function PendPropertyChange(
path : String,
properties : PropertyValue[],
recursion : RecursionType,
lockLevel : LockLevel
) : int
Parameters
path
Type: System.StringThe path to pend the property changes on.
properties
Type: array<Microsoft.TeamFoundation.Framework.Client.PropertyValue[]The properties to pend as changes.
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.
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.