共用方式為


VssCredentials.LoadCachedCredentials 方法 (Uri, Boolean, CredentialPromptType)

命名空間:  Microsoft.VisualStudio.Services.Common
組件:  Microsoft.VisualStudio.Services.Common (在 Microsoft.VisualStudio.Services.Common.dll 中)

語法

'宣告
Public Shared Function LoadCachedCredentials ( _
    serverUrl As Uri, _
    requireExactMatch As Boolean, _
    promptType As CredentialPromptType _
) As VssCredentials
public static VssCredentials LoadCachedCredentials(
    Uri serverUrl,
    bool requireExactMatch,
    CredentialPromptType promptType
)

參數

傳回值

類型:Microsoft.VisualStudio.Services.Common.VssCredentials

.NET Framework 安全性

請參閱

參考

VssCredentials 類別

LoadCachedCredentials 多載

Microsoft.VisualStudio.Services.Common 命名空間