SqlSmoObject.CheckObjectStateImpl Method

Checks the state of a SqlSmoObject.

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

Syntax

'Declaration
Protected Sub CheckObjectStateImpl ( _
    throwIfNotCreated As Boolean _
)
'Usage
Dim throwIfNotCreated As Boolean

Me.CheckObjectStateImpl(throwIfNotCreated)
protected void CheckObjectStateImpl(
    bool throwIfNotCreated
)
protected:
void CheckObjectStateImpl(
    bool throwIfNotCreated
)
member CheckObjectStateImpl : 
        throwIfNotCreated:bool -> unit 
protected function CheckObjectStateImpl(
    throwIfNotCreated : boolean
)

Parameters

  • throwIfNotCreated
    Type: System.Boolean
    A Boolean value that specifies whether to throw an exception if the object is not created.