Share via


TeamProject.TeamFoundationServer Property

Note: This API is now obsolete.

Gets the server that is running Team Foundation Server where this team project resides.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.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 server that is running Team Foundation Server where this team project resides.

.NET Framework Security

See Also

Reference

TeamProject Class

Microsoft.TeamFoundation.VersionControl.Client Namespace