This documentation is archived and is not being maintained.

TfsTeamProjectCollection Constructor (Uri, IdentityDescriptor)

Initializes a new instance of the TfsTeamProjectCollection class.

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

public:
TfsTeamProjectCollection(
	Uri^ uri, 
	IdentityDescriptor^ identityToImpersonate
)

Parameters

uri
Type: System::Uri

The URI of the project collection.

identityToImpersonate
Type: Microsoft.TeamFoundation.Framework.Client::IdentityDescriptor

The identity to impersonate.

ExceptionCondition
ArgumentNullException

when uri is null

Show: