This documentation is archived and is not being maintained.
VersionControlServer::SetVersionedItemProperty Method (ItemSpec, VersionSpec, DeletedState, ItemType, String, String)
Visual Studio 2013
Note: This API is now obsolete.
Sets a property on a versioned items.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
[ObsoleteAttribute(L"Please use SetVersionedItemAttribute to set attributes on versioned items.", false)] public: void SetVersionedItemProperty( ItemSpec^ itemSpec, VersionSpec^ versionSpec, DeletedState deletedState, ItemType itemType, String^ propertyName, String^ value )
Parameters
- itemSpec
- Type: Microsoft.TeamFoundation.VersionControl.Client::ItemSpec
The VersionSpec of the item.
- versionSpec
- Type: Microsoft.TeamFoundation.VersionControl.Client::VersionSpec
The VersionSpec of the item.
- deletedState
- Type: Microsoft.TeamFoundation.VersionControl.Client::DeletedState
A flag describing whether to set the property on deleted items and/or non-deleted items.
- itemType
- Type: Microsoft.TeamFoundation.VersionControl.Client::ItemType
A flag describing whether to set the property on files and/or folders.
- propertyName
- Type: System::String
The property to set.
- value
- Type: System::String
The property value to set.
- 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.
Show: