Share via


ResultInfo.ServerDisplayName Property

Gets the display name of the server where the batch was executed.

Namespace:  Microsoft.SqlServer.Management.MultiServerConnection
Assembly:  Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)

Syntax

'Declaration
Public ReadOnly Property ServerDisplayName As String
    Get
'Usage
Dim instance As ResultInfo
Dim value As String

value = instance.ServerDisplayName
public string ServerDisplayName { get; }
public:
virtual property String^ ServerDisplayName {
    String^ get () sealed;
}
abstract ServerDisplayName : string
override ServerDisplayName : string
final function get ServerDisplayName () : String

Property Value

Type: System.String
A String containing the server display name.

Implements

IResultInfo.ServerDisplayName