TeamFoundationServerFactory.GetServer Method (RegisteredProjectCollection)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the TeamFoundationServer object that is associated with the specified RegisteredProjectCollection object.
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
public static TeamFoundationServer GetServer( RegisteredProjectCollection projectCollection )
- Type: Microsoft.TeamFoundation.Client.RegisteredProjectCollection
The RegisteredProjectCollection instance that contains information about the server.
Return ValueType: Microsoft.TeamFoundation.Client.TeamFoundationServer
The TeamFoundationServer object that is associated with the server that is described in the specified RegisteredProjectCollection.
- 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.