Свойство ServerName
Gets the name of the server where the batch was executed.
Пространство имен: Microsoft.SqlServer.Management.MultiServerConnection
Сборка: Microsoft.SqlServer.Management.MultiServerConnection (в Microsoft.SqlServer.Management.MultiServerConnection.dll)
Синтаксис
'Декларация
Public ReadOnly Property ServerName As String
Get
'Применение
Dim instance As ResultInfo
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
Значение свойства
Тип: System. . :: . .String
A String that contains the name of the server.
Реализует
См. также