Метод GetServerObject
Returns the Server object that represents the instance of SQL Server on which the dependency discovery operation is running.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Protected Function GetServerObject As Server
'Применение
Dim returnValue As Server
returnValue = Me.GetServerObject()
protected Server GetServerObject()
protected:
Server^ GetServerObject()
member GetServerObject : unit -> Server
protected function GetServerObject() : Server
Возвращаемое значение
Тип: Microsoft.SqlServer.Management.Smo. . :: . .Server
A Server object value that specifies the instance of SQL Server.