Aracılığıyla paylaş


CredentialManager.DeleteCredentials Method

Definition

Overloads

DeleteCredentials(String, Boolean)

Deletes the credentials.

DeleteCredentials(Uri, Boolean)

Deletes the credentials.

DeleteCredentials(String, Boolean)

Deletes the credentials.

public:
 static void DeleteCredentials(System::String ^ target, bool deletePasswordOnly);
public static void DeleteCredentials (string target, bool deletePasswordOnly);
static member DeleteCredentials : string * bool -> unit
Public Shared Sub DeleteCredentials (target As String, deletePasswordOnly As Boolean)

Parameters

target
String

Target is the key with which associated credentials can be fetched

deletePasswordOnly
Boolean

Indicates that the password should be overwritten, but the credential should not be removed from the credential cache.

Applies to

DeleteCredentials(Uri, Boolean)

Deletes the credentials.

public:
 static void DeleteCredentials(Uri ^ target, bool deletePasswordOnly);
public static void DeleteCredentials (Uri target, bool deletePasswordOnly);
static member DeleteCredentials : Uri * bool -> unit
Public Shared Sub DeleteCredentials (target As Uri, deletePasswordOnly As Boolean)

Parameters

target
Uri

Target is the key with which associated credentials can be fetched

deletePasswordOnly
Boolean

Indicates that the password should be overwritten, but the credential should not be removed from the credential cache.

Applies to