Share via


ConnectionManagerOleDbClass.UserName Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets or sets the username for the connection.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Public Overridable Property UserName As String 
    Get 
    Set
'Usage
Dim instance As ConnectionManagerOleDbClass 
Dim value As String 

value = instance.UserName

instance.UserName = value
public virtual string UserName { get; set; }
public:
virtual property String^ UserName {
    String^ get ();
    void set (String^ value);
}
abstract UserName : string with get, set 
override UserName : string with get, set
function get UserName () : String 
function set UserName (value : String)

Property Value

Type: System.String
The username for the connection.

Implements

IDTSConnectionManagerDatabaseParameters100.UserName

Remarks

For more information, see ConnectionManager.

See Also

Reference

ConnectionManagerOleDbClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace