Partager via


Propriété ServerDisplayName

Gets the display name of the server on which the batch was executed.

Espace de noms :  Microsoft.SqlServer.Management.MultiServerConnection
Assembly :  Microsoft.SqlServer.Management.MultiServerConnection (en Microsoft.SqlServer.Management.MultiServerConnection.dll)

Syntaxe

'Déclaration
ReadOnly Property ServerDisplayName As String
    Get
'Utilisation
Dim instance As IResultInfo
Dim value As String

value = instance.ServerDisplayName
string ServerDisplayName { get; }
property String^ ServerDisplayName {
    String^ get ();
}
abstract ServerDisplayName : string
function get ServerDisplayName () : String

Valeur de propriété

Type : System. . :: . .String
A String that contains the display name of the server.