SqlSmoObject.CheckObjectStateImpl Method (Boolean)

 

Applies To: SQL Server 2016 Preview

Checks the state of a SqlSmoObject.

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

Syntax

protected void CheckObjectStateImpl(
    bool throwIfNotCreated
)
protected:
void CheckObjectStateImpl(
    bool throwIfNotCreated
)
member CheckObjectStateImpl : 
        throwIfNotCreated:bool -> unit
Protected Sub CheckObjectStateImpl (
    throwIfNotCreated As Boolean
)

Parameters

  • throwIfNotCreated
    Type: System.Boolean

    A Boolean value that specifies whether to throw an exception if the object is not created.

See Also

SqlSmoObject Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top