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
- featureRegistryKeyword
Type: System.String
- serverUrl
Type: System.Uri
- requireExactMatch
Type: System.Boolean
- promptType
Type: Microsoft.VisualStudio.Services.Common.CredentialPromptType
- registryRootPath
Type: System.String
- useWOW6432Hive
Type: System.Boolean
Return Value
Type: Microsoft.VisualStudio.Services.Common.VssCredentials
.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.