Partager via


Propriété UIConnectionInfo.UserName

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets a String value that specifies the login name for the connection.

Espace de noms :  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly :  Microsoft.SqlServer.RegSvrEnum (en Microsoft.SqlServer.RegSvrEnum.dll)

Syntaxe

'Déclaration
Public Overridable Property UserName As String 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

Type : System.String
A String value that specifies the login name for the connection.

Voir aussi

Référence

UIConnectionInfo Classe

Espace de noms Microsoft.SqlServer.Management.Smo.RegSvrEnum