SqlSmoObject.GetServerObject Method ()

 

Applies To: SQL Server 2016 Preview

Gets the server of the SqlSmoObject object.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

protected internal Server GetServerObject()
public protected:
Server^ GetServerObject()
member GetServerObject : unit -> Server
Protected Friend Function GetServerObject As Server

Return Value

Type: Microsoft.SqlServer.Management.Smo.Server

A Server object.

See Also

SqlSmoObject Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top