This documentation is archived and is not being maintained.
DocumentService::GetWorkItem Method (TeamFoundationServer, Int32, Object)
Visual Studio 2013
Note: This API is now obsolete.
Namespace: Microsoft.VisualStudio.TeamFoundation.WorkItemTracking
Assembly: Microsoft.VisualStudio.TeamFoundation.WorkItemTracking (in Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.dll)
[ObsoleteAttribute(L"The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")] public: IWorkItemDocument^ GetWorkItem( TeamFoundationServer^ teamFoundationServer, int workItemId, Object^ lockToken )
Parameters
- teamFoundationServer
- Type: Microsoft.TeamFoundation.Client::TeamFoundationServer
- workItemId
- Type: System::Int32
- lockToken
- Type: System::Object
Return Value
Type: Microsoft.VisualStudio.TeamFoundation.WorkItemTracking::IWorkItemDocumentReturns IWorkItemDocument.
- 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.
Show: