RasEntry.ClearCredentials Method

DotRas SDK

Collapse image Expand Image Copy image CopyHover image
Clears the stored credentials for the entry.

Namespace: DotRas
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)

Syntax

C#
public bool ClearCredentials()
Visual Basic
Public Function ClearCredentials As Boolean
Visual C++
public:
bool ClearCredentials()
F#
member ClearCredentials : unit -> bool 

Return Value

Type: Boolean
true if the operation was successful, otherwise false.

Exceptions

Exception Condition
System..::..InvalidOperationException The entry is not associated with a phone book.

See Also