TrueName Propiedad
Gets the name of the server.
Espacio de nombres: Microsoft.SqlServer.Management.Common
Ensamblado: Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxis
'Declaración
Public ReadOnly Property TrueName As String
Get
'Uso
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
Valor de la propiedad
Tipo: System. . :: . .String
A String value that specifies the name of the server.
Notas
The name of the server is the equivalent to the value returned by the @@SERVERNAME Transact-SQL function.