Compartilhar via


Propriedade do RDL UIConnectionInfo.UserName

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

Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Gets or sets a String value that specifies the login name for the connection.

Namespace:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly:  Microsoft.SqlServer.RegSvrEnum (em Microsoft.SqlServer.RegSvrEnum.dll)

Sintaxe

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

Valor da propriedade

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

Consulte também

Referência

UIConnectionInfo Classe

Namespace Microsoft.SqlServer.Management.Smo.RegSvrEnum