UIConnectionInfo.UserName Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a String value that specifies the login name for the connection.

Namespace:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly:  Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)

Syntax

'Declaration
Public Overridable Property UserName As String 
    Get 
    Set
'Usage
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)

Property Value

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

See Also

Reference

UIConnectionInfo Class

Microsoft.SqlServer.Management.Smo.RegSvrEnum Namespace