Delen via


TfsClientCredentials Implicit Conversion (FederatedCredential to TfsClientCredentials)

Implicitly converts a FederatedCredential instance into a TfsClientCredentials instance.

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

Syntax

'Declaration
Public Shared Widening Operator CType ( _
    credential As FederatedCredential _
) As TfsClientCredentials
public static implicit operator TfsClientCredentials (
    FederatedCredential credential
)
static implicit operator TfsClientCredentials^ (
    FederatedCredential^ credential
)
F# does not support the declaration of new casting operators.
JScript does not support the declaration of new casting operators.

Parameters

Return Value

Type: Microsoft.TeamFoundation.Client.TfsClientCredentials
A new TfsClientCredentials instance which wraps the specified credential

.NET Framework Security

See Also

Reference

TfsClientCredentials Class

Implicit Overload

Microsoft.TeamFoundation.Client Namespace