RasEntry.UpdateCredentials Method (RasPreSharedKey, String)

DotRas SDK

Collapse image Expand Image Copy image CopyHover image
Updates the user credentials for the entry.

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

Syntax

C#
public bool UpdateCredentials(
	RasPreSharedKey key,
	string value
)
Visual Basic
Public Function UpdateCredentials ( 
	key As RasPreSharedKey,
	value As String
) As Boolean
Visual C++
public:
bool UpdateCredentials(
	RasPreSharedKey key, 
	String^ value
)
F#
member UpdateCredentials : 
        key : RasPreSharedKey * 
        value : string -> bool 

Parameters

key
Type: DotRas..::..RasPreSharedKey
The pre-shared key to update.
value
Type: System..::..String
The value to set.

Return Value

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

Remarks

Windows XP and later: This method is supported.

See Also