Поделиться через


WorkItemStore.TeamFoundationServer Property

Note: This API is now obsolete.

Gets the connection to the server that is running Team Foundation Server.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

'Declaration
<ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this property. Use the corresponding property of type TfsTeamProjectCollection instead.")> _
Public ReadOnly Property TeamFoundationServer As TeamFoundationServer
[ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this property. Use the corresponding property of type TfsTeamProjectCollection instead.")]
public TeamFoundationServer TeamFoundationServer { get; }
[ObsoleteAttribute(L"The TeamFoundationServer class is obsolete and so is this property. Use the corresponding property of type TfsTeamProjectCollection instead.")]
public:
property TeamFoundationServer^ TeamFoundationServer {
    TeamFoundationServer^ get ();
}
[<ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this property. Use the corresponding property of type TfsTeamProjectCollection instead.")>]
member TeamFoundationServer : TeamFoundationServer with get
function get TeamFoundationServer () : TeamFoundationServer

Property Value

Type: Microsoft.TeamFoundation.Client.TeamFoundationServer
The connection to the server that is running Team Foundation Server.

Remarks

This API and the TeamFoundationServer type is obsolete and is included only for backward compatibility. The TfsTeamProjectCollection type should be used instead and all supporting infrastructure should be updated to use it.

.NET Framework Security

See Also

Reference

WorkItemStore Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace