Proprietà ServerName
Gets the name of the server where the batch was executed.
Spazio dei nomi Microsoft.SqlServer.Management.MultiServerConnection
Assembly: Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)
Sintassi
'Dichiarazione
Public ReadOnly Property ServerName As String
Get
'Utilizzo
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
Valore proprietà
Tipo: System. . :: . .String
A String containing the name of the server.
Implementa
Vedere anche