ServerAdapterBase.Refresh Method

Updates the object.

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

Syntax

'Declaration
Public Overridable Sub Refresh
'Usage
Dim instance As ServerAdapterBase

instance.Refresh()
public virtual void Refresh()
public:
virtual void Refresh()
abstract Refresh : unit -> unit 
override Refresh : unit -> unit 
public function Refresh()

Implements

IRefreshable.Refresh()

Remarks

The Refresh method updates the object properties from the instance of SQL Server. For information about refreshing data programmatically, see SQL Server Native Client Concepts.