Record (含 #import 的 Visual C++ 語法索引)
方法
HRESULT Cancel( );
HRESULT Close( );
_bstr_t CopyRecord( _bstr_t Source, _bstr_t Destination,
_bstr_t UserName, _bstr_t Password, enum CopyRecordOptionsEnum
Options, VARIANT_BOOL Async );
HRESULT DeleteRecord( _bstr_t Source, VARIANT_BOOL Async );
_RecordsetPtr GetChildren( );
_bstr_t MoveRecord( _bstr_t Source, _bstr_t Destination,
_bstr_t UserName, _bstr_t Password, enum MoveRecordOptionsEnum
Options, VARIANT_BOOL Async );
HRESULT Open( const _variant_t & Source, const _variant_t
& ActiveConnection, enum ConnectModeEnum Mode, enum
RecordCreateOptionsEnum CreateOptions, enum RecordOpenOptionsEnum
Options, _bstr_t UserName, _bstr_t Password );
屬性
_variant_t GetActiveConnection( );
void PutActiveConnection( _bstr_t pvar );
void PutRefActiveConnection( struct _Connection * pvar );
FieldsPtr GetFields( );
__declspec(property(get=GetFields)) FieldsPtr Fields;
enum ConnectModeEnum GetMode( );
void PutMode( enum ConnectModeEnum pMode );
__declspec(property(get=GetMode,put=PutMode)) enum ConnectModeEnum Mode;
_bstr_t GetParentURL( );
__declspec(property(get=GetParentURL)) _bstr_t ParentURL;
enum RecordTypeEnum GetRecordType( );
__declspec(property(get=GetRecordType)) enum RecordTypeEnum
RecordType;
_variant_t GetSource( );
void PutSource( _bstr_t pvar );
void PutRefSource( IDispatch * pvar );
enum ObjectStateEnum GetState( );
__declspec(property(get=GetState)) enum ObjectStateEnum State;
另請參閱
Record 物件 (ADO)