TfsClientCredentialStorage.RetrieveToken Method
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Function RetrieveToken ( _
serverUrl As Uri, _
credentialType As VssCredentialsType _
) As IssuedToken
public IssuedToken RetrieveToken(
Uri serverUrl,
VssCredentialsType credentialType
)
public:
IssuedToken^ RetrieveToken(
Uri^ serverUrl,
VssCredentialsType credentialType
)
member RetrieveToken :
serverUrl:Uri *
credentialType:VssCredentialsType -> IssuedToken
public function RetrieveToken(
serverUrl : Uri,
credentialType : VssCredentialsType
) : IssuedToken
Parameters
- serverUrl
Type: System.Uri
- credentialType
Type: Microsoft.VisualStudio.Services.Common.VssCredentialsType
Return Value
Type: Microsoft.TeamFoundation.Client.IssuedToken
.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.