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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
workspaceName
Type: System.StringThe name of the workspace to use for local path to server path mapping if local path itemSpecs are provided.
workspaceOwner
Type: System.StringThe name of the workspace owner if workspace name is provided.
itemSpecs
Type: array<Microsoft.TeamFoundation.VersionControl.Server.ItemSpec[]ItemSpecs for the versioned items to set properties on.
versionSpec
Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpecSpec of the version to target for specified items.
deletedState
Type: Microsoft.TeamFoundation.VersionControl.Server.DeletedStateThe deleted state of specified items.
itemType
Type: Microsoft.TeamFoundation.VersionControl.Server.ItemTypeThe type of the specified items.
propertyValues
Type: array<Microsoft.TeamFoundation.Framework.Server.PropertyValue[]The property values to set on the matching items.
.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.