Свойство TrueName

Gets the name of the server.

Пространство имен:  Microsoft.SqlServer.Management.Common
Сборка:  Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)

Синтаксис

'Декларация
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.