ResultInfo.ServerName Property

 

Gets the 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)

public string ServerName { get; }

Property Value

Type: System.String

A String that contains the name of the server.

Return to top
Show: