共用方式為


SqlSmoObject.IsObjectDirty 方法

Verifies whether the object properties have been modified and the changes have not yet been persisted on the instance of SQL Server.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Protected Overridable Function IsObjectDirty As Boolean
'用途
Dim returnValue As Boolean 

returnValue = Me.IsObjectDirty()
protected virtual bool IsObjectDirty()
protected:
virtual bool IsObjectDirty()
abstract IsObjectDirty : unit -> bool  
override IsObjectDirty : unit -> bool
protected function IsObjectDirty() : boolean

傳回值

型別:System.Boolean
A Boolean value that specifies whether the object properties have been modified and the changes have not yet been persisted on the instance of SQL Server.If True, changes have been made but not yet persisted. Otherwise, False.

範例

呼叫方法

請參閱

參考

SqlSmoObject 類別

Microsoft.SqlServer.Management.Smo 命名空間