Freigeben über


VssCredentials.LoadCachedCredentials Method (String, Uri, Boolean, CredentialPromptType)

Namespace:  Microsoft.VisualStudio.Services.Common
Assembly:  Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)

Syntax

'Declaration
Public Shared Function LoadCachedCredentials ( _
    featureRegistryKeyword As String, _
    serverUrl As Uri, _
    requireExactMatch As Boolean, _
    promptType As CredentialPromptType _
) As VssCredentials
public static VssCredentials LoadCachedCredentials(
    string featureRegistryKeyword,
    Uri serverUrl,
    bool requireExactMatch,
    CredentialPromptType promptType
)
public:
static VssCredentials^ LoadCachedCredentials(
    String^ featureRegistryKeyword, 
    Uri^ serverUrl, 
    bool requireExactMatch, 
    CredentialPromptType promptType
)
static member LoadCachedCredentials : 
        featureRegistryKeyword:string * 
        serverUrl:Uri * 
        requireExactMatch:bool * 
        promptType:CredentialPromptType -> VssCredentials
public static function LoadCachedCredentials(
    featureRegistryKeyword : String, 
    serverUrl : Uri, 
    requireExactMatch : boolean, 
    promptType : CredentialPromptType
) : VssCredentials

Parameters

Return Value

Type: Microsoft.VisualStudio.Services.Common.VssCredentials

.NET Framework Security

See Also

Reference

VssCredentials Class

LoadCachedCredentials Overload

Microsoft.VisualStudio.Services.Common Namespace