RegisteredTfsConnections.GetProjectCollection Method (Uri)

Gets the registered project collection with the specified URI.

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

Syntax

声明
Public Shared Function GetProjectCollection ( _
    uri As Uri _
) As RegisteredProjectCollection
public static RegisteredProjectCollection GetProjectCollection(
    Uri uri
)
public:
static RegisteredProjectCollection^ GetProjectCollection(
    Uri^ uri
)
static member GetProjectCollection : 
        uri:Uri -> RegisteredProjectCollection 
public static function GetProjectCollection(
    uri : Uri
) : RegisteredProjectCollection

Parameters

  • uri
    Type: System.Uri
    The URI of the registered project collection.

Return Value

Type: Microsoft.TeamFoundation.Client.RegisteredProjectCollection
The registered project collection with the specified URI.
Null if no match is found.

.NET Framework Security

See Also

Reference

RegisteredTfsConnections Class

GetProjectCollection Overload

Microsoft.TeamFoundation.Client Namespace