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)
Syntax
声明
Public Sub New ( _
uri As Uri, _
identityToImpersonate As IdentityDescriptor _
)
public TfsTeamProjectCollection(
Uri uri,
IdentityDescriptor identityToImpersonate
)
public:
TfsTeamProjectCollection(
Uri^ uri,
IdentityDescriptor^ identityToImpersonate
)
new :
uri:Uri *
identityToImpersonate:IdentityDescriptor -> TfsTeamProjectCollection
public function TfsTeamProjectCollection(
uri : Uri,
identityToImpersonate : IdentityDescriptor
)
Parameters
- uri
Type: System.Uri
The URI of the project collection.
- identityToImpersonate
Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor
The identity to impersonate.
.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.
See Also
Reference
TfsTeamProjectCollection Class