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