Share via


DependencyWalker.GetServerObject-Methode

Returns the Server object that represents the instance of SQL Server on which the dependency discovery operation is running.

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

Syntax

'Declaration
Protected Function GetServerObject As Server
'Usage
Dim returnValue As Server 

returnValue = Me.GetServerObject()
protected Server GetServerObject()
protected:
Server^ GetServerObject()
member GetServerObject : unit -> Server
protected function GetServerObject() : Server

Rückgabewert

Typ: Microsoft.SqlServer.Management.Smo.Server
A Server object value that specifies the instance of SQL Server.

Beispiele

Skripterstellung

Siehe auch

Verweis

DependencyWalker Klasse

Microsoft.SqlServer.Management.Smo-Namespace