TeamFoundationVersionControlService.SetVersionedItemAttribute Method
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
Public Sub SetVersionedItemAttribute ( _
requestContext As TeamFoundationRequestContext, _
workspaceName As String, _
workspaceOwner As String, _
itemSpecs As ItemSpec(), _
versionSpec As VersionSpec, _
deletedState As DeletedState, _
itemType As ItemType, _
propertyValues As PropertyValue() _
)
public void SetVersionedItemAttribute(
TeamFoundationRequestContext requestContext,
string workspaceName,
string workspaceOwner,
ItemSpec[] itemSpecs,
VersionSpec versionSpec,
DeletedState deletedState,
ItemType itemType,
PropertyValue[] propertyValues
)
public:
void SetVersionedItemAttribute(
TeamFoundationRequestContext^ requestContext,
String^ workspaceName,
String^ workspaceOwner,
array<ItemSpec^>^ itemSpecs,
VersionSpec^ versionSpec,
DeletedState deletedState,
ItemType itemType,
array<PropertyValue^>^ propertyValues
)
member SetVersionedItemAttribute :
requestContext:TeamFoundationRequestContext *
workspaceName:string *
workspaceOwner:string *
itemSpecs:ItemSpec[] *
versionSpec:VersionSpec *
deletedState:DeletedState *
itemType:ItemType *
propertyValues:PropertyValue[] -> unit
public function SetVersionedItemAttribute(
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.