SqlSmoObject.CheckObjectState Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
C#
protected void CheckObjectState();
member this.CheckObjectState : unit -> unit
Protected Sub CheckObjectState ()
Applies to
Microsoft.SqlServer.SqlManagementObjects 160.2004021.0 és Microsoft.SqlServer.SqlManagementObjects 150.18208.0
Termék | Verziók |
---|---|
Microsoft.SqlServer.SqlManagementObjects | 150.18208.0, 160.2004021.0 |
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
C#
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
Microsoft.SqlServer.SqlManagementObjects 160.2004021.0 és Microsoft.SqlServer.SqlManagementObjects 150.18208.0
Termék | Verziók |
---|---|
Microsoft.SqlServer.SqlManagementObjects | 150.18208.0, 160.2004021.0 |