VersionControlServer.SetVersionedItemProperty Method (ItemSpec, VersionSpec, DeletedState, ItemType, String, String)

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)

Syntax

'Declaration
<ObsoleteAttribute("Please use SetVersionedItemAttribute to set attributes on versioned items.",  _
    False)> _
Public Sub SetVersionedItemProperty ( _
    itemSpec As ItemSpec, _
    versionSpec As VersionSpec, _
    deletedState As DeletedState, _
    itemType As ItemType, _
    propertyName As String, _
    value As String _
)
[ObsoleteAttribute("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
)
[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
)
[<ObsoleteAttribute("Please use SetVersionedItemAttribute to set attributes on versioned items.", 
    false)>]
member SetVersionedItemProperty : 
        itemSpec:ItemSpec * 
        versionSpec:VersionSpec * 
        deletedState:DeletedState * 
        itemType:ItemType * 
        propertyName:string * 
        value:string -> unit
public function SetVersionedItemProperty(
    itemSpec : ItemSpec, 
    versionSpec : VersionSpec, 
    deletedState : DeletedState, 
    itemType : ItemType, 
    propertyName : String, 
    value : String
)

Parameters

.NET Framework Security

See Also

Reference

VersionControlServer Class

SetVersionedItemProperty Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace