SqlSmoObject.GetServerObject 方法
Gets the server of the SqlSmoObject object.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Protected Friend Function GetServerObject As Server
'用途
Dim returnValue As Server
returnValue = Me.GetServerObject()
protected internal Server GetServerObject()
protected public:
Server^ GetServerObject()
member GetServerObject : unit -> Server
function GetServerObject() : Server
傳回值
型別:Microsoft.SqlServer.Management.Smo.Server
A Server object.