Compartir a través de


ServerName Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.MultiServerConnection
Ensamblado:  Microsoft.SqlServer.Management.MultiServerConnection (en Microsoft.SqlServer.Management.MultiServerConnection.dll)

Sintaxis

'Declaración
ReadOnly Property ServerName As String
    Get
'Uso
Dim instance As IResultInfo
Dim value As String

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

Valor de la propiedad

Tipo: System. . :: . .String
A String that contains the name of the server.