다음을 통해 공유


IRowsetUpdateImpl::IsUpdateAllowed

Override this method to check for security, integrity, and so on before updates.

HRESULT IsUpdateAllowed( 
   DBPENDINGSTATUS /* [in] *//* status */, 
   HROW /* [in] *//* hRowUpdate */, 
   DBROWSTATUS* /* [out] *//* pRowStatus */ 
);

매개 변수

  • status
    [in] The status of pending operations on the rows.

  • hRowUpdate
    [in] Handle for the rows the user wants to update.

  • pRowStatus
    [out] The status returned to the user.

설명

If you determine that an update should be allowed, returns S_OK; otherwise returns E_FAIL. If you allow an update, you also need to set the DBROWSTATUS in IRowsetUpdateImpl::Update to an appropriate row state.

요구 사항

Header: atldb.h

참고 항목

참조

IRowsetUpdateImpl 클래스