TeamFoundationServer Constructor (RegisteredProjectCollection)
Initializes a new TeamFoundationServer object that is associated with the server that is described by the specified RegisteredProjectCollection.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
声明
Public Sub New ( _
projectCollection As RegisteredProjectCollection _
)
public TeamFoundationServer(
RegisteredProjectCollection projectCollection
)
public:
TeamFoundationServer(
RegisteredProjectCollection^ projectCollection
)
new :
projectCollection:RegisteredProjectCollection -> TeamFoundationServer
public function TeamFoundationServer(
projectCollection : RegisteredProjectCollection
)
Parameters
- projectCollection
Type: Microsoft.TeamFoundation.Client.RegisteredProjectCollection
The RegisteredProjectCollection that contains information about the server.
.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.