SqlSmoObject.CheckObjectState Method (Boolean)
Validates the state of the referenced object with the option to specify that an exception is thrown if the object is not yet created.
Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
protected virtual void CheckObjectState (
protected void CheckObjectState (
protected function CheckObjectState (
throwIfNotCreated : boolean
Boolean value that specifies whether to throw an exception if the object is not yet created.
True, the method throws an exception if the object is not yet created.
False, the method does not throw an exception if the object is not yet created.
Any public static (
in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
( 1500 characters remaining)
Thank you for your feedback