Bagikan melalui


WmiSmoObject.UpdateObjectState Method

Updates the object state.

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

Syntax

'Declaration
Protected Sub UpdateObjectState
'Usage
Me.UpdateObjectState()
protected void UpdateObjectState()
protected:
void UpdateObjectState()
member UpdateObjectState : unit -> unit
protected function UpdateObjectState()

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