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.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)
Sintaxis
'Declaración
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 de la propiedad
Tipo: System.String
A String value that specifies the name of the account used to establish the connection.
Ejemplos
Administrar servicios y configuración de red utilizando el proveedor WMI
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo.Wmi