RegisteredTfsConnections.RegisterProjectCollection Method
Registers the specified project collection with this registry.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Декларация
Public Shared Sub RegisterProjectCollection ( _
projectCollection As TfsTeamProjectCollection _
)
public static void RegisterProjectCollection(
TfsTeamProjectCollection projectCollection
)
public:
static void RegisterProjectCollection(
TfsTeamProjectCollection^ projectCollection
)
static member RegisterProjectCollection :
projectCollection:TfsTeamProjectCollection -> unit
public static function RegisterProjectCollection(
projectCollection : TfsTeamProjectCollection
)
Parameters
- projectCollection
Type: Microsoft.TeamFoundation.Client.TfsTeamProjectCollection
The project collection to register.
Remarks
If the project collection is part of a configuration server, the configuration server will also be registered.
.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.