Compartir a través de


UserName Propiedad

Esta API admite la infraestructura de y no está prevista su utilización directa desde el código.

No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Gets or sets a String value that specifies the login name for the connection.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Ensamblado:  Microsoft.SqlServer.RegSvrEnum (en Microsoft.SqlServer.RegSvrEnum.dll)

Sintaxis

'Declaración
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 de la propiedad

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