다음을 통해 공유


TrueName 속성

Gets the name of the server.

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

구문

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

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

속성 값

형식: System. . :: . .String
A String value that specifies the name of the server.

주의

The name of the server is the equivalent to the value returned by the @@SERVERNAME Transact-SQL function.

예제

속성 설정