Bagikan melalui


WmiSmoObject.Refresh Method

Refreshes the referenced object and its properties.

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

Syntax

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

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

Examples

Managing Services and Network Settings by Using WMI Provider

See Also

Reference

WmiSmoObject Class

Microsoft.SqlServer.Management.Smo.Wmi Namespace

Other Resources

WMI and SQL Server

Connecting to the SQL Server Database Engine