Compartilhar via


Propriedade do RDL ConnectionManagerOleDbClass.UserName

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

Gets or sets the username for the connection.

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

Sintaxe

'Declaração
Public Overridable Property UserName As String 
    Get 
    Set
'Uso
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)

Valor da propriedade

Tipo: System.String
The username for the connection.

Implementa

IDTSConnectionManagerDatabaseParameters100.UserName

Comentários

For more information, see ConnectionManager.

Consulte também

Referência

ConnectionManagerOleDbClass Classe

Namespace Microsoft.SqlServer.Dts.Runtime.Wrapper