共用方式為


GetServerObject 方法

命名空間:  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