Compartilhar via


Propriedade do RDL Username

Gets the name of the account used to establish the connection.

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

Sintaxe

'Declaração
Public Property Username As String
    Get
    Set
'Uso
Dim instance As WmiConnectionInfo
Dim value As String

value = instance.Username

instance.Username = value
public string Username { get; set; }
public:
property String^ Username {
    String^ get ();
    void set (String^ value);
}
member 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 name of the account used to establish the connection.