Namespace: Microsoft.IdentityModel.Tokens
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As UserNameSecurityTokenHandler
Dim value As Boolean

value = instance.RetainPassword

instance.RetainPassword = value

Syntax

Visual Basic
Public Overridable Property RetainPassword As Boolean
C#
public virtual bool RetainPassword { get; set; }
C++
public:
virtual property bool RetainPassword {
		bool get ();
		void set (bool value);
}
J#
/** @property */
public boolean get_RetainPassword ()

/** @property */
public void set_RetainPassword (boolean value)
JScript
public function get RetainPassword () : boolean

public function set RetainPassword (value : boolean)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also