Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Gets the name of the account used to establish the connection.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Wmi
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Sintaxis
'Declaración
Public Property Username As String
public string Username { get; set; }
public:
property String^ Username {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_Username ()
/** @property */
public void set_Username (String value)
public function get Username () : String
public function set Username (value : String)
Valor de propiedad
A String value that specifies the name of the account used to establish the connection.
Notas
Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.
Ejemplo
Seguridad para subprocesos
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plataformas
Plataformas de desarrollo
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Plataformas de destino
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Vea también
Referencia
WmiConnectionInfo Class
WmiConnectionInfo Members
Microsoft.SqlServer.Management.Smo.Wmi Namespace
Otros recursos
Managing Services and Network Settings by Using WMI Provider
WMI and SQL Server
Conectar al Motor de base de datos de SQL Server