共用方式為


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

'宣告
<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
    Get
[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
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