Freigeben über


ConnectionManagerAdoNetClass.UserName-Eigenschaft

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

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 ConnectionManagerAdoNetClass 
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)

Eigenschaftswert

Typ: System.String
The username for the connection.

Implementiert

IDTSConnectionManagerDatabaseParameters100.UserName

Hinweise

For more information, see ConnectionManager.

Siehe auch

Verweis

ConnectionManagerAdoNetClass Klasse

Microsoft.SqlServer.Dts.Runtime.Wrapper-Namespace