Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Visual Basic Reference

Visual Studio 6.0

DesignUserName Property

See Also    Example    Applies To

Returns or sets the user name that is used when the connecting to the data source at design time.

Note   This property is only saved if the DesignSaveAuthentication property is True.


object.DesignUserName [=string]

The DesignUserName property syntax has these parts:

Part Description
object An object expression that evaluates to an item in the Applies To list.
string A string expression that specifies the user name to use when connecting to the data source at design time.


This property is passed to ADO by appending "User ID=" and a value onto the connection string that is passed to ADO at design time.

© 2015 Microsoft