SqlSmoObject.CheckObjectState 메서드 (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.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Protected Overridable Sub CheckObjectState ( _
    throwIfNotCreated As Boolean _
)
‘사용 방법
Dim throwIfNotCreated As Boolean 

Me.CheckObjectState(throwIfNotCreated)
protected virtual void CheckObjectState(
    bool throwIfNotCreated
)
protected:
virtual void CheckObjectState(
    bool throwIfNotCreated
)
abstract CheckObjectState : 
        throwIfNotCreated:bool -> unit  
override CheckObjectState : 
        throwIfNotCreated:bool -> unit
protected function CheckObjectState(
    throwIfNotCreated : boolean
)

매개 변수

  • throwIfNotCreated
    유형: 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.

주의

메서드 호출

참고 항목

참조

SqlSmoObject 클래스

CheckObjectState 오버로드

Microsoft.SqlServer.Management.Smo 네임스페이스