Compartilhar via


Propriedade do RDL ServerName

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

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

Sintaxe

'Declaração
Public ReadOnly Property ServerName As String
    Get
'Uso
Dim instance As ServerMessageEventArgs
Dim value As String

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

Valor da propriedade

Tipo: System. . :: . .String
A String containing the name of the server.

Implementa

IResultInfo. . :: . .ServerName