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.