Share via


TrueLogin 속성

Gets the current logon record name used by the referenced connection.

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

구문

‘선언
Public ReadOnly Property TrueLogin As String
    Get
‘사용 방법
Dim instance As ServerConnection
Dim value As String

value = instance.TrueLogin
public string TrueLogin { get; }
public:
property String^ TrueLogin {
    String^ get ();
}
member TrueLogin : string
function get TrueLogin () : String

속성 값

유형: System. . :: . .String
A String value that specifies the current logon record name used by the referenced connection.

C#

ServerConnection conn = new ServerConnection();
Console.WriteLine(conn.TrueLogin);

PowerShell

$conn = new-object Microsoft.SqlServer.Management.Common.ServerConnection
Write-Host $conn.TrueLogin