Share via


TeamFoundationVersionControlService.SetVersionedItemProperty Method

Note: This API is now obsolete.

Sets properties on the specified versioned items.

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

Syntax

'Declaration
<ObsoleteAttribute("Please use SetVersionedItemAttribute to set attributes on versioned items.",  _
    False)> _
Public Sub SetVersionedItemProperty ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    workspaceOwner As String, _
    itemSpecs As ItemSpec(), _
    versionSpec As VersionSpec, _
    deletedState As DeletedState, _
    itemType As ItemType, _
    propertyValues As PropertyValue() _
)
[ObsoleteAttribute("Please use SetVersionedItemAttribute to set attributes on versioned items.", 
    false)]
public void SetVersionedItemProperty(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string workspaceOwner,
    ItemSpec[] itemSpecs,
    VersionSpec versionSpec,
    DeletedState deletedState,
    ItemType itemType,
    PropertyValue[] propertyValues
)
[ObsoleteAttribute(L"Please use SetVersionedItemAttribute to set attributes on versioned items.", 
    false)]
public:
void SetVersionedItemProperty(
    TeamFoundationRequestContext^ requestContext, 
    String^ workspaceName, 
    String^ workspaceOwner, 
    array<ItemSpec^>^ itemSpecs, 
    VersionSpec^ versionSpec, 
    DeletedState deletedState, 
    ItemType itemType, 
    array<PropertyValue^>^ propertyValues
)
[<ObsoleteAttribute("Please use SetVersionedItemAttribute to set attributes on versioned items.", 
    false)>]
member SetVersionedItemProperty : 
        requestContext:TeamFoundationRequestContext * 
        workspaceName:string * 
        workspaceOwner:string * 
        itemSpecs:ItemSpec[] * 
        versionSpec:VersionSpec * 
        deletedState:DeletedState * 
        itemType:ItemType * 
        propertyValues:PropertyValue[] -> unit
public function SetVersionedItemProperty(
    requestContext : TeamFoundationRequestContext, 
    workspaceName : String, 
    workspaceOwner : String, 
    itemSpecs : ItemSpec[], 
    versionSpec : VersionSpec, 
    deletedState : DeletedState, 
    itemType : ItemType, 
    propertyValues : PropertyValue[]
)

Parameters

  • workspaceName
    Type: System.String

    The name of the workspace to use for local path to server path mapping if local path itemSpecs are provided.

  • workspaceOwner
    Type: System.String

    The name of the workspace owner if workspace name is provided.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace