Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the TfsTeamProjectCollection instance that is associated with the specified RegisteredProjectCollection instance.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Shared Function GetTeamProjectCollection ( _
projectCollection As RegisteredProjectCollection _
) As TfsTeamProjectCollection
public static TfsTeamProjectCollection GetTeamProjectCollection(
RegisteredProjectCollection projectCollection
)
public:
static TfsTeamProjectCollection^ GetTeamProjectCollection(
RegisteredProjectCollection^ projectCollection
)
static member GetTeamProjectCollection :
projectCollection:RegisteredProjectCollection -> TfsTeamProjectCollection
public static function GetTeamProjectCollection(
projectCollection : RegisteredProjectCollection
) : TfsTeamProjectCollection
Parameters
projectCollection
Type: Microsoft.TeamFoundation.Client.RegisteredProjectCollectionThe RegisteredProjectCollection that contains information about the server.
Return Value
Type: Microsoft.TeamFoundation.Client.TfsTeamProjectCollection
The TfsTeamProjectCollection instance that is associated with the server that is described in the specified RegisteredProjectCollection.
.NET Framework Security
- 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.
See Also
Reference
TfsTeamProjectCollectionFactory Class