This topic has not yet been rated - Rate this topic

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)
abstract CheckObjectState : 
        throwIfNotCreated:bool -> unit  
override CheckObjectState : 
        throwIfNotCreated:bool -> unit

Parameters

throwIfNotCreated
Type: System.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.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.