Partager via


VersionControlServer.TeamFoundationServer Property

Note: This API is now obsolete.

Gets the TeamFoundationServer that owns this VersionControlServer instance.

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

Syntax

'Déclaration
<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 TeamFoundationServer that owns this VersionControlServer instance.

.NET Framework Security

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace