Proprietà ConnectionManagerExcelClass.UserName
Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.
Gets or sets the username for the connection.
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintassi
'Dichiarazione
Public Overridable Property UserName As String
Get
Set
'Utilizzo
Dim instance As ConnectionManagerExcelClass
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)
Valore proprietà
Tipo: System.String
The username for the connection.
Implementa
IDTSConnectionManagerDatabaseParameters100.UserName
Osservazioni
For more information, see ConnectionManager.