TfsTeamProjectCollection Constructor (Uri, TfsClientCredentials, IdentityDescriptor)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new TfsTeamProjectCollection instance using the specified credentials. The specified identity will be impersonated for all operations.
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
new : uri:Uri * credentials:TfsClientCredentials * identityToImpersonate:IdentityDescriptor -> TfsTeamProjectCollection
- Type: System.Uri
The URI of the project collection
- Type: Microsoft.TeamFoundation.Client.TfsClientCredentials
The credentials which should be used for authentication
- Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor
The windows credentials which should be used for authentication
- 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.