共用方式為


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

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, _
    registryRootPath As String, _
    useWOW6432Hive As Boolean _
) As VssCredentials
public static VssCredentials LoadCachedCredentials(
    string featureRegistryKeyword,
    Uri serverUrl,
    bool requireExactMatch,
    CredentialPromptType promptType,
    string registryRootPath,
    bool useWOW6432Hive
)
public:
static VssCredentials^ LoadCachedCredentials(
    String^ featureRegistryKeyword, 
    Uri^ serverUrl, 
    bool requireExactMatch, 
    CredentialPromptType promptType, 
    String^ registryRootPath, 
    bool useWOW6432Hive
)
static member LoadCachedCredentials : 
        featureRegistryKeyword:string * 
        serverUrl:Uri * 
        requireExactMatch:bool * 
        promptType:CredentialPromptType * 
        registryRootPath:string * 
        useWOW6432Hive:bool -> VssCredentials
public static function LoadCachedCredentials(
    featureRegistryKeyword : String, 
    serverUrl : Uri, 
    requireExactMatch : boolean, 
    promptType : CredentialPromptType, 
    registryRootPath : String, 
    useWOW6432Hive : boolean
) : 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