Share via


UIConnectionInfo.UserName 속성

이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.

코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. Gets or sets a String value that specifies the login name for the connection.

네임스페이스:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
어셈블리:  Microsoft.SqlServer.RegSvrEnum(Microsoft.SqlServer.RegSvrEnum.dll)

구문

‘선언
Public Overridable Property UserName As String 
    Get 
    Set
‘사용 방법
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)

속성 값

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

참고 항목

참조

UIConnectionInfo 클래스

Microsoft.SqlServer.Management.Smo.RegSvrEnum 네임스페이스