다음을 통해 공유


UserName 속성

Gets or sets the name of the login to use when connecting.

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

구문

‘선언
Public Overrides Property UserName As String
    Get
    Set
‘사용 방법
Dim instance As MultiServerSqlConnectionInfo
Dim value As String

value = instance.UserName

instance.UserName = value
public override string UserName { get; set; }
public:
virtual property String^ UserName {
    String^ get () override;
    void set (String^ value) override;
}
abstract UserName : string with get, set
override UserName : string with get, set
override function get UserName () : String
override function set UserName (value : String)

속성 값

유형: System. . :: . .String
A string value specifying the login name.