ADODC.UserName ADODC.UserName ADODC.UserName ADODC.UserName Property


Gets or sets a value that represents a user of an ADO Recordset object.

 property System::String ^ UserName { System::String ^ get(); void set(System::String ^ value); };
public string UserName { get; set; }
member this.UserName : string with get, set
Public Property UserName As String

Property Value

A String that contains a user name.


The user-name syntax depends on the data source. When a UserName and Password are supplied, the control uses the values to create a connection string (ConnectionString property).


Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Applies to