RegisteredTfsConnections.GetProjectCollections Method

Gets an array of all registered project collections in this registry, including legacy collections.

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

Syntax

声明
Public Shared Function GetProjectCollections As RegisteredProjectCollection()
public static RegisteredProjectCollection[] GetProjectCollections()
public:
static array<RegisteredProjectCollection^>^ GetProjectCollections()
static member GetProjectCollections : unit -> RegisteredProjectCollection[] 
public static function GetProjectCollections() : RegisteredProjectCollection[]

Return Value

Type: array<Microsoft.TeamFoundation.Client.RegisteredProjectCollection[]
An array of registered project collections.

.NET Framework Security

See Also

Reference

RegisteredTfsConnections Class

Microsoft.TeamFoundation.Client Namespace