Export (0) Print
Expand All

VersionControlServer.SetVersionedItemAttribute Method (ItemSpec, VersionSpec, DeletedState, ItemType, String, Nullable(DateTime))

Sets the attributes associated with the versioned item.

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

public function SetVersionedItemAttribute(
	itemSpec : ItemSpec, 
	versionSpec : VersionSpec, 
	deletedState : DeletedState, 
	itemType : ItemType, 
	propertyName : String, 
	value : Nullable<DateTime>
)

Parameters

itemSpec
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpec

The ItemSpec 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.Nullable(DateTime)

The property value to set.

Show:
© 2014 Microsoft