WmiConnectionInfo.Username Property
Gets the name of the account used to establish the connection.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in microsoft.sqlserver.sqlwmimanagement.dll)
Syntax
'Deklaracja
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)
Property Value
A String value that specifies the name of the account used to establish the connection.
Thread Safety
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.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.