Sets the credentials property to the specified credentials.
Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Sub New ( _
    credentials As ICredentials _
)
public CredentialsChangedEventArgs(
    ICredentials credentials
)
public:
CredentialsChangedEventArgs(
    ICredentials^ credentials
)
new : 
        credentials:ICredentials -> CredentialsChangedEventArgs
public function CredentialsChangedEventArgs(
    credentials : ICredentials
)
Parameters
- credentials 
 Type: System.Net.ICredentials- The new credentials to associate with the TfsTeamProjectCollection instance. 
.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.