Proprietà UserName
Questa API supporta l'infrastruttura e non può essere utilizzata direttamente dal codice.
Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Gets or sets a String value that specifies the login name for the connection.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly: Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)
Sintassi
'Dichiarazione
Public Overridable Property UserName As String
Get
Set
'Utilizzo
Dim instance As UIConnectionInfo
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
A String value that specifies the login name for the connection.
Vedere anche