共用方式為


SqlSmoObject.CheckObjectState Method

Definition

Overloads

CheckObjectState()
CheckObjectState(Boolean)

This is a virtual function, so that derived classes can override it if they want to do additional checks on the state of the object

CheckObjectState()

protected void CheckObjectState ();
member this.CheckObjectState : unit -> unit
Protected Sub CheckObjectState ()

Applies to

CheckObjectState(Boolean)

This is a virtual function, so that derived classes can override it if they want to do additional checks on the state of the object

protected virtual void CheckObjectState (bool throwIfNotCreated);
abstract member CheckObjectState : bool -> unit
override this.CheckObjectState : bool -> unit
Protected Overridable Sub CheckObjectState (throwIfNotCreated As Boolean)

Parameters

throwIfNotCreated
Boolean

Applies to