Export (0) Print
Expand All

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.

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

protected virtual void CheckObjectState(
	bool throwIfNotCreated
)

Parameters

throwIfNotCreated
Type: Boolean
A Boolean value that specifies whether to throw an exception if the object is not yet created.If True, the method throws an exception if the object is not yet created. Otherwise, False.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft