SqlSmoObject.GetServerObject Method
Gets the server of the SqlSmoObject object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Protected Friend Function GetServerObject As Server
'Usage
Dim returnValue As Server
returnValue = Me.GetServerObject()
protected internal Server GetServerObject()
protected public:
Server^ GetServerObject()
member GetServerObject : unit -> Server
function GetServerObject() : Server
Return Value
Type: Microsoft.SqlServer.Management.Smo.Server
A Server object.