TeamFoundationVersionControlService.GetVersionedItemProperty Method
Note: This API is now obsolete.
Gets the properties associated with a versioned item.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<ObsoleteAttribute("Please use QueryItems to retrieve versioned item attributes.", _
False)> _
Public Function GetVersionedItemProperty ( _
requestContext As TeamFoundationRequestContext, _
workspaceName As String, _
workspaceOwner As String, _
itemSpecs As ItemSpec(), _
versionSpec As VersionSpec, _
deletedState As DeletedState, _
itemType As ItemType, _
propertyNameFilters As String() _
) As TeamFoundationDataReader
[ObsoleteAttribute("Please use QueryItems to retrieve versioned item attributes.",
false)]
public TeamFoundationDataReader GetVersionedItemProperty(
TeamFoundationRequestContext requestContext,
string workspaceName,
string workspaceOwner,
ItemSpec[] itemSpecs,
VersionSpec versionSpec,
DeletedState deletedState,
ItemType itemType,
string[] propertyNameFilters
)
[ObsoleteAttribute(L"Please use QueryItems to retrieve versioned item attributes.",
false)]
public:
TeamFoundationDataReader^ GetVersionedItemProperty(
TeamFoundationRequestContext^ requestContext,
String^ workspaceName,
String^ workspaceOwner,
array<ItemSpec^>^ itemSpecs,
VersionSpec^ versionSpec,
DeletedState deletedState,
ItemType itemType,
array<String^>^ propertyNameFilters
)
[<ObsoleteAttribute("Please use QueryItems to retrieve versioned item attributes.",
false)>]
member GetVersionedItemProperty :
requestContext:TeamFoundationRequestContext *
workspaceName:string *
workspaceOwner:string *
itemSpecs:ItemSpec[] *
versionSpec:VersionSpec *
deletedState:DeletedState *
itemType:ItemType *
propertyNameFilters:string[] -> TeamFoundationDataReader
public function GetVersionedItemProperty(
requestContext : TeamFoundationRequestContext,
workspaceName : String,
workspaceOwner : String,
itemSpecs : ItemSpec[],
versionSpec : VersionSpec,
deletedState : DeletedState,
itemType : ItemType,
propertyNameFilters : String[]
) : TeamFoundationDataReader
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
workspaceName
Type: System.StringThe name of the workspace to use for local path of 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 retrieve properties for.
versionSpec
Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpecSpec of the version to target for requested items.
deletedState
Type: Microsoft.TeamFoundation.VersionControl.Server.DeletedStateThe deleted state of requested items.
itemType
Type: Microsoft.TeamFoundation.VersionControl.Server.ItemTypeThe type of the requested items.
propertyNameFilters
Type: array<System.String[]Property name filters to apply to the query. Only property names matching a filter will be returned.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: ArtifactPropertyValue[] - Artifact property values for each matched versioned item.
.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.