CredentialPromptDialog.MaxUserNameLength Property

DotRas SDK

Collapse image Expand Image Copy image CopyHover image
Gets or sets the maximum length of the user name.

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

Syntax

C#
public int MaxUserNameLength { get; set; }
Visual Basic
Public Property MaxUserNameLength As Integer
	Get
	Set
Visual C++
public:
property int MaxUserNameLength {
	int get ();
	void set (int value);
}
F#
member MaxUserNameLength : int with get, set

Property Value

Type: Int32

Exceptions

Exception Condition
System..::..ArgumentException value must be greater than or equal to zero, and less than or equal to 513.

See Also