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
'Declaration
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
- 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.