版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1/1ADO对象模型的概要////////////////////////////////////////////////////////////ADO对象模型的概要下图是ADO模型中的对象示意图,白色的是Collection。
ADOObjectSummaryObjectDescriptionCommandDefinesaspecificcommandthatyouintendtoexecuteagainstadatasource.ConnectionRepresentsanopenconnectiontoadatasource.DataControl(RDS)BindsadataqueryRecordsettooneormorecontrols(forexample,atextbox,gridcontrol,orcombobox)todisplaytheRecordsetdataonaWebpage.DataFactory(RDSServer)Implementsmethodsthatprovideread/writedataaccesstospecifieddatasourcesforclient-sideapplications.DataSpace(RDS)Createsclient-sideproxiestocustombusinessobjectslocatedonthemiddletier.ErrorContainsdetailsaboutdataaccesserrorsthatpertaintoasingleoperationinvolvingtheprovider.FieldRepresentsacolumnofdatawithacommondatatype.ParameterRepresentsaparameterorargumentassociatedwithaCommandobjectbasedonaparameterizedqueryorstoredprocedure.PropertyRepresentsadynamiccharacteristicofanADOobjectthatisdefinedbytheprovider.RecordRepresentsarowofaRecordset,oradirectoryorfileinafilesystem.RecordsetRepresentstheentiresetofrecordsfromabasetableortheresultsofanexecutedcommand.Atanytime,theRecordsetobjectreferstoonlyasinglerecordwithinthesetasthecurrentrecord.StreamRepresentsabinarystreamofdata.ADOCollectionSummaryCollectionDescriptionErrorsContainsalltheErrorobjectscreatedinresponsetoasingleprovider-relatedfailure.FieldsContainsalltheFieldobjectsofaRecordsetobject.ParametersContainsalltheParameterobjectsofaCommandobject.PropertiesContainsallthePropertyobjectsforaspecificinstanceofanobject.ADOPropertySummaryPropertyDescriptionAbsolutePageIndicatesonwhichpagethecurrentrecordresides.AbsolutePositionIndicatestheordinalpositionofaRecordsetobject’scurrentrecord.ActiveCommandIndicatestheCommandobjectthatcreatedtheassociatedRecordsetobject.ActiveConnectionIndicatestowhichConnectionobjectthespecifiedCommand,Recordset,orRecordobjectcurrentlybelongs.ActualSizeIndicatestheactuallengthofafield’svalue.AttributesIndicatesoneormorecharacteristicsofanobject.BOFandEOFBOFindicatesthatthecurrentrecordpositionisbeforethefirstrecordinaRecordsetobject.EOFindicatesthatthecurrentrecordpositionisafterthelastrecordinaRecordsetobject.BookmarkIndicatesabookmarkthatuniquelyidentifiesthecurrentrecordinaRecordsetobjectorsetsthecurrentrecordinaRecordsetobjecttotherecordidentifiedbyavalidbookmark.CacheSizeIndicatesthenumberofrecordsfromaRecordsetobjectthatarecachedlocallyinmemory.CharSetIndicatesthecharactersetintowhichthecontentsofatextStreamshouldbetranslated.CommandTextIndicatesthetextofacommandtobeissuedagainstaprovider.CommandTimeoutIndicateshowlongtowaitwhileexecutingacommandbeforeterminatingtheattemptandgeneratinganerror.CommandTypeIndicatesthetypeofaCommandobject.Connect(RDS)Indicatesthedatabasenamefromwhichthequeryandupdateoperationsarerun.ConnectionStringPropertyIndicatestheinformationusedtoestablishaconnectiontoadatasource.ConnectionTimeoutIndicateshowlongtowaitwhileestablishingaconnectionbeforeterminatingtheattemptandgeneratinganerror.CountIndicatesthenumberofobjectsinacollection.CursorLocationIndicatesthelocationofthecursorservice.CursorTypeIndicatesthetypeofcursorusedinaRecordsetobject.DataMemberIndicatesthenameofthedatamemberthatwillberetrievedfromtheobjectreferencedbytheDataSourceproperty.DataSourceIndicatesanobjectthatcontainsdatatoberepresentedasaRecordsetobject.DefaultDatabaseIndicatesthedefaultdatabaseforaConnectionobject.DefinedSizeIndicatesthedatacapacityofaFieldobject.DescriptionDescribesanErrorobject.DirectionIndicateswhethertheParameterrepresentsaninputparameter,anoutputparameter,orboth,oriftheparameteristhereturnvaluefromastoredprocedure.EditModeIndicatestheeditingstatusofthecurrentrecord.EOSIndicateswhetherthecurrentpositionisattheendofthestream.ExecuteOptions(RDS)Indicateswhetherasynchronousexecutionisenabled.FetchOptions(RDS)Indicatesthetypeofasynchronousfetching.FilterIndicatesafilterfordatainaRecordset.FilterColumn(RDS)Indicatesthecolumnonwhichtoevaluatethefiltercriteria.FilterCriterion(RDS)Indicatestheevaluationoperatortouseinthefiltervalue.FilterValue(RDS)Indicatesthevaluetofilterrecords.Handler(RDS)Indicatesthenameofaserver-sidecustomizationprogram(handler)thatextendsthefunctionalityoftheRDSServer.DataFactory,andanyparametersusedbythehandler.HelpContextandHelpFileIndicatesthehelpfileandtopicassociatedwithanErrorobject.HelpContextIDreturnsacontextID,asaLongvalue,foratopicinaHelpfile.HelpFilereturnsaStringvaluethatevaluatestoafullyresolvedpathtoaHelpfile.IndexIndicatesthenameoftheindexcurrentlyineffectforaRecordsetobject.InternetTimeout(RDS)Indicatesthenumberofmillisecondstowaitbeforearequesttimesout.IsolationLevelIndicatesthelevelofisolationforaConnectionobject.ItemIndicatesaspecificmemberofacollection,bynameorordinalnumber.LineSeparatorIndicatesthebinarycharactertobeusedasthelineseparatorintextStreamobjects.LockTypeIndicatesthetypeoflocksplacedonrecordsduringediting.MarshalOptionsIndicateswhichrecordsaretobemarshaledbacktotheserver.MaxRecordsIndicatesthemaximumnumberofrecordstoreturntoaRecordsetfromaquery.ModeIndicatestheavailablepermissionsformodifyingdatainaConnection,Record,orStreamobject.NameIndicatesthenameofanobject.NativeErrorIndicatestheprovider-specificerrorcodeforagivenErrorobject.NumberIndicatesthenumberthatuniquelyidentifiesanErrorobject.NumericScaleIndicatesthescaleofnumericvaluesinaParameterorFieldobject.OriginalValueIndicatesthevalueofaFieldthatexistedintherecordbeforeanychangesweremade.PageCountIndicateshowmanypagesofdatatheRecordsetobjectcontains.PageSizeIndicateshowmanyrecordsconstituteonepageintheRecordset.ParentURLIndicatesanabsoluteURLstringthatpointstotheparentRecordofthecurrentRecordobject.PositionIndicatesthecurrentpositionwithinaStreamobject.PrecisionIndicatesthedegreeofprecisionfornumericvaluesinaParameterobjectorfornumericFieldobjects.PreparedIndicateswhethertosaveacompiledversionofacommandbeforeexecution.ProviderIndicatesthenameoftheproviderforaConnectionobject.ReadyState(RDS)IndicatestheprogressofaDataControlobjectasitfetchesdataintoitsRecordsetobject.RecordCountIndicatesthenumberofrecordsinaRecordsetobject.RecordsetandSourceRecordset(RDS)IndicatestheRecordsetobjectreturnedfromacustombusinessobject.RecordTypeIndicatesthetypeofRecordobject.Server(RDS)IndicatestheInternetInformationServices(IIS)nameandcommunicationprotocol.SizeIndicatesthemaximumsize,inbytesorcharacters,ofaParameterobject.Size(ADOStream)Indicatesthetotalsizeofthestreaminnumberofbytes.SortIndicatesoneormorefieldnamesonwhichtheRecordsetissorted,andwhethereachfieldissortedinascendingordescendingorder.SortColumn(RDS)Indicatesbywhichcolumntosorttherecords.SortDirection(RDS)Indicateswhetherasortorderisascendingordescending.Source(ADOError)Indicatesthenameoftheobjectorapplicationthatoriginallygeneratedanerror.Source(ADORecord)IndicatestheentityrepresentedbytheRecordobject.Source(ADORecordset)IndicatesthesourceforthedatainaRecordsetobjectSQL(RDS)IndicatesthequerystringusedtoretrievetheRecordset.SQLStateIndicatestheSQLstateforagivenErrorobject.StateIndicatesforallapplicableobjectswhetherthestateoftheobjectisopenorclosed.Indicatesforallapplicableobjectsexecutinganasynchronousmethod,whetherthecurrentstateoftheobjectisconnecting,executing,orretrievingStatus(ADOField)IndicatesthestatusofaFieldobject.Status(ADORecordset)Indicatesthestatusofthecurrentrecordwithrespecttobatchupdatesorotherbulkoperations.StayInSyncIndicates,inahierarchicalRecordsetobject,whetherthereferencetotheunderlyingchildrecords(thatis,thechapter)changeswhentheparentrowpositionchanges.TypeIndicatestheoperationaltypeordatatypeofaParameter,Field,orPropertyobject.Type(ADOStream)IndicatesthetypeofdatacontainedintheStream(binaryortext).UnderlyingValueIndicatesaFieldobject’scurrentvalueinthedatabase.URL(RDS)IndicatesastringthatcontainsarelativeorabsoluteURL.ValueIndicatesthevalueassignedtoaField,Parameter,orPropertyobject.VersionIndicatestheADOversionnumber.ADODynamicPropertySummaryDynamicpropertiescanbeaddedtothePropertiescollectionsoftheConnection,Command,orRecordsetobjects.Thesourceforthesepropertiesiseitheradataprovider,suchastheOLEDBProviderforSQLServer,oraserviceprovider,suchastheMicrosoftCursorServiceforOLEDB.Refertotheappropriatedataproviderorserviceproviderdocumentationformoreinformationaboutaspecificdynamicproperty.TheADODynamicPropertyIndexprovidesacross-referencebetweentheADOandOLEDBnamesforeachstandardOLEDBproviderdynamicproperty.Thefollowingdynamicpropertiesareofspecialinterest,andarealsodocumentedinthesourcesmentionedabove.SpecialfunctionalitywithADOisdocumentedintheADOhelptopicslistedbelow.PropertyDescriptionOptimizeSpecifieswhetheranindexshouldbecreatedonthisfield.PromptSpecifieswhethertheOLEDBprovidershouldprompttheuserforinitializationinformation.ReshapeNameSpecifiesanamefortheRecordsetobject.ResyncCommandSpecifiesauser-suppliedcommandstringthattheResyncmethodissuestorefreshthedatainthetablenamedintheUniqueTabledynamicproperty.UniqueTable,UniqueSchema,UniqueCatalogUniqueTablespecifiesthenameofthebasetableuponwhichupdates,insertions,anddeletionsareallowed.UniqueSchemaspecifiestheschema,ornameoftheownerofthetable.UniqueCatalogspecifiesthecatalog,ornameofthedatabasecontainingthetable.UpdateResyncSpecifieswhethertheUpdateBatchmethodisfollowedbyanimplicitResyncmethodoperation,andifso,thescopeofthatoperation.ADOMethodSummaryMethodDescriptionAddNewCreatesanewrecordforanupdatableRecordsetobject.AppendAppendsanobjecttoacollection.IfthecollectionisFields,anewFieldobjectmaybecreatedbeforeitisappendedtothecollection.AppendChunkAppendsdatatoalargetextorbinarydataField,ortoaParameterobject.BeginTrans,CommitTrans,andRollbackTransManagestransactionprocessingwithinaConnectionobjectasfollows:BeginTransBeginsanewtransaction.CommitTransSavesanychangesandendsthecurrenttransaction.Itmayalsostartanewtransaction.RollbackTransCancelsanychangesandendsthecurrenttransaction.Itmayalsostartanewtransaction.Cancel(ADO)Cancelsexecutionofapending,asynchronousmethodcall.Cancel(RDS)Cancelsexecutionofapending,asynchronousmethodcall.CancelBatchCancelsapendingbatchupdate.CancelUpdate(ADO)CancelsanychangesmadetothecurrentornewrowofaRecordsetobject,ortheFieldscollectionofaRecordobject,beforecallingtheUpdatemethod.CancelUpdate(RDS)CancelsanychangesmadetothecurrentornewrowofaRecordsetobject.ClearRemovesalltheErrorobjectsfromtheErrorscollection.CloneCreatesaduplicateRecordsetobjectfromanexistingRecordsetobject.Optionally,specifiesthatthecloneberead-only.CloseClosesanopenobjectandanydependentobjects.CompareBookmarksComparestwobookmarksandreturnsanindicationoftheirrelativevalues.ConvertToString(RDS)ConvertsaRecordsettoaMIMEstringthatrepresentstherecordsetdata.CopyRecordCopiesafileordirectory,anditscontents,toanotherlocation.CopyToCopiesthespecifiednumberofcharactersorbytes(dependingonType)intheStreamtoanotherStreamobject.CreateObject(RDS)Createstheproxyforthetargetbusinessobjectandreturnsapointertoit.CreateParameterCreatesanewParameterobjectwiththespecifiedproperties.CreateRecordset(RDS)Createsanempty,disconnectedRecordset.Delete(ADOParametersCollection)DeletesanobjectfromtheParameterscollection.Delete(ADOFieldsCollection)DeletesanobjectfromtheFieldscollection.Delete(ADORecordset)Deletesthecurrentrecordoragroupofrecords.DeleteRecordDeletesafileordirectory,andallitssubdirectories.Execute(ADOCommand)Executesthequery,SQLstatement,orstoredprocedurespecifiedintheCommandTextproperty.Execute(ADOConnection)Executesthespecifiedquery,SQLstatement,storedprocedure,orprovider-specifictext.FindSearchesaRecordsetfortherowthatsatisfiesthespecifiedcriteria.FlushForcesthecontentsoftheStreamremainingintheADObuffertotheunderlyingobjectwithwhichtheStreamisassociated.GetChildrenReturnsaRecordsetwhoserowsrepresentthefilesandsubdirectoriesinthedirectoryrepresentedbythisRecord.GetChunkReturnsall,oraportionof,thecontentsofalargetextorbinarydataFieldobject.GetRowsRetrievesmultiplerecordsofaRecordsetobjectintoanarray.GetStringReturnstheRecordsetasastring.LoadFromFileLoadsthecontentsofanexistingfileintoaStream.MoveMovesthepositionofthecurrentrecordinaRecordsetobject.MoveFirst,MoveLast,MoveNext,andMovePrevious(ADO)Movestothefirst,last,next,orpreviousrecordinaspecifiedRecordsetobjectandmakesthatrecordthecurrentrecord.MoveFirst,MoveLast,MoveNext,MovePrevious(RDS)Movestothefirst,last,next,orpreviousrecordinaspecifiedRecordsetobject.MoveRecordMovesafile,oradirectoryanditscontents,toanotherlocation.NextRecordsetClearsthecurrentRecordsetobjectandreturnsthenextRecordsetbyadvancingthroughaseriesofcommands.Open(ADOConnection)Opensaconnectiontoadatasource.Open(ADORecord)OpensanexistingRecordobject,orcreatesanewfileordirectory.Open(ADORecordset)Opensacursor.Open(ADOStream)OpensaStreamobjecttomanipulatestreamsofbinaryortextdata.OpenSchemaObtainsdatabaseschemainformationfromtheprovider.Query(RDS)UsesavalidSQLquerystringtoreturnaRecordset.ReadReadsaspecifiednumberofbytesfromaStreamobject.ReadTextReadsaspecifiednumberofcharactersfromatextStreamobject.Refresh(ADO)Updatestheobjectsinacollectiontoreflectobjectsavailablefrom,andspecificto,theprovider.Refresh(RDS)RequeriesthedatasourcespecifiedintheConnectpropertyandupdatesthequeryresults.RequeryUpdatesthedatainaRecordsetobjectbyre-executingthequeryonwhichtheobjectisbased.Reset(RDS)Executesthesortorfilteronaclient-sideRecordset,basedonthespecifiedsortandfilterproperties.ResyncRefreshesthedatainthecurrentRecordsetobject,orFieldscollectionofaRecordobject,fromtheunderlyingdatabase.SaveSavestheRecordsetinafileorStreamobject.SaveToFileSavesthebinarycontentsofaStreamtoafile.SeekSearchestheindexofaRecordsettoquicklylocatetherowthatmatchesthespecifiedvalues,andchangesthecurrentrowpositiontothatrow.SetEOSSetsthepositionthatistheendofthestream.SkipLineSkipsoneentirelinewhenreadingatextstream.SubmitChanges(RDS)SubmitspendingchangesofthelocallycachedandupdatableRecordsettothedatasourcespecifiedintheConnectproperty.SupportsDetermineswhetheraspecifiedRecordsetobjectsupportsaparticulartypeoffunctionality.UpdateSavesanychangesyoumaketothecurrentrowofaRecordsetobject,ortheFieldscollectionofaRecordobject.UpdateBatchWritesallpendingbatchupdatestodisk.WriteWritesbinarydatatoaStreamobject.WriteTextWritesaspecifiedtextstringtoaStreamobject.ADOEventSummaryEventDescriptionBeginTransCompleteCalledaftertheBeginTransoperation.CommitTransCompleteCalledaftertheCommitTransoperation.ConnectCompleteCalledafteraconnectionstarts.DisconnectCalledafteraconnectionends.EndOfRecordsetCalledwhenthereisanattempttomovetoarowpasttheendoftheRecordset.ExecuteCompleteCalledafteracommandhasfinishedexecuting.FetchCompleteCalledafteralltherecordsinalengthyasynchronousoperationhavebeenretrievedintotheRecordset.FetchProgressCalledperiodicallyduringalengthyasynchronousoperationtoreporthowmanyrowshavecurrentlybeenretrievedintotheRecordset.FieldChangeCompleteCalledafterthevalueofoneormoreFieldobjectshaschanged.InfoMessageCalledwheneverawarningoccursduringaConnectionEventoperation.MoveCompleteCalledafterthecurrentpositionintheRecordsetchanges.onError(RDS)Calledwheneveranerroroccursduringanoperation.onReadyStateChange(RDS)CalledwheneverthevalueoftheReadyStatepropertychanges.RecordChangeCompleteCalledafteroneormorerecordschange.RecordsetChangeCompleteCalledaftertheRecordsethaschanged.RollbackTransCompleteCalledaftertheRollbackTransoperation.WillChangeFieldCalledbeforeapendingoperationchangesthevalueofoneormoreFieldobjectsintheRecordset.WillChangeRecordCalledbeforeoneormorerecords(rows)intheRecordsetchange.WillChangeRecordsetCalledbeforeapendingoperationchangestheRecordset.WillConnectCalledbeforeaconnectionstarts.WillExecuteCalledjustbeforeapendingcommandexecutesonthisconnectionandaffordstheuseranopportunitytoexamineandmodifythependingexecutionparameters.WillMoveTheWillMoveeventiscalledbeforeapendingoperationchangesthecurrentpositionintheRecordset.ADOEnumeratedConstantSummaryEnumerationDescriptionADCPROP_ASYNCTHREADPRIORITY_ENUMForanRDSRecordsetobject,specifiestheexecutionpriorityoftheasynchronousthreadthatretrievesdata.ADCPROP_AUTORECALC_ENUMSpecifieswhentheMSDataShapeproviderre-calculatesaggregateandcalculatedcolumnsinahierarchicalRecordset.ADCPROP_UPDATECRITERIA_ENUMSpecifieswhichfieldscanbeusedtodetectconflictsduringanoptimisticupdateofarowofthedatasourcewithaRecordsetobject.ADCPROP_UPDATERESYNC_ENUMSpecifieswhethertheUpdateBatchmethodisfollowedbyanimplicitResyncmethodoperationandifso,thescopeofthatoperation.AffectEnumSpecifieswhichrecordsareaffectedbyanoperation.BookmarkEnumSpecifiesabookmarkindicatingwheretheoperationshouldbegin.CommandTypeEnumSpecifieshowacommandargumentshouldbeinterpreted.CompareEnumSpecifiestherelativepositionoftworecordsrepresentedbytheirbookmarks.ConnectModeEnumSpecifiestheavailablepermissionsformodifyingdatainaConnection,openingaRecord,orspecifyingvaluesfortheModepropertyoftheRecordandStreamobjects.ConnectOptionEnumSpecifieswhethertheOpenmethodofaConnectionobjectshouldreturnafter(synchronously)orbefore(asynchronously)theconnectionisestablished.ConnectPromptEnumSpecifieswhetheradialogboxshouldbedisplayedtopromptformissingparameterswhenopeningaconnectiontoanODBCdatasource.CopyRecordOptionsEnumSpecifiesthebehavioroftheCopyRecordmethod.CursorLocationEnumSpecifiesthelocationofthecursorengine.CursorOptionEnumSpecifieswhatfunctionalitytheSupportsmethodshouldtestfor.CursorTypeEnumSpecifiesthetypeofcursorusedinaRecordsetobject.DataTypeEnumSpecifiesthedatatypeofaField,Parameter,orProperty.EditModeEnumSpecifiestheeditingstatusofarecord.ErrorValueEnumSpecifiesthetypeofADOrun-timeerror.EventReasonEnumSpecifiesthereasonthatcausedaneventtooccur.EventStatusEnumSpecifiesthecurrentstatusoftheexecutionofanevent.ExecuteOptionEnumSpecifieshowaprovidershouldexecuteacommand.FieldEnumSpecifiesthespecialfieldsreferencedinaRecordobject’sFieldscollection.FieldAttributeEnumSpecifiesoneormoreattributesofaFieldobject.FilterGroupEnumSpecifiesthegroupofrecordstobefilteredfromaRecordset.GetRowsOptionEnumSpecifieshowmanyrecordstoretrievefromaRecordset.IsolationLevelEnumSpecifiestheleveloftransactionisolationforaConnectionobject.LineSeparatorsEnumSpecifiesthecharacterusedasalineseparatorintextStreamobjects.LockTypeEnumSpecifiesthetypeoflockplacedonrecordsduringediting.MarshalOptionsEnumSpecifieswhichrecordsshouldbereturnedtotheserver.MoveRecordOptionsEnumSpecifiesthebehavioroftheRecordobjectMoveRecordmethod.ObjectStateEnumSpecifieswhetheranobjectisopenorclosed,connectingtoadatasource,executingacommand,orfetchingdata.ParameterAttributesEnumSpecifiestheattributesofaParameterobject.ParameterDirectionEnumSpecifieswhethertheParameterrepresentsaninputparameter,anoutputparameter,orboth,oriftheparameteristhereturnvaluefromastoredprocedure.PersistFormatEnumSpecifiestheformatinwhichtosaveaRecordset.PositionEnumSpecifiesthecurrentpositionoftherecordpointerwithinaRecordset.PropertyAttributesEnumSpecifiestheattributesofaPropertyobject.RecordCreateOptionsEnumSpecifiesfortheRecordobjectOpenmethodwhetheranexistingRecordshouldbeopened,oranewRecordshouldbecreated.RecordOpenOptionsEnumSpecifiesoptionsforopeningaRecord.ThesevaluesmaybecombinedbyusinganORoperator.RecordStatusEnumSpecifiesthestatusofarecordwithregardtobatchupdatesandotherbulkoperations.RecordTypeEnumSpecifiesthetypeofRecordobject.ResyncEnumSpecifieswhetherunderlyingvaluesareoverwrittenbyacalltoResync.SaveOptionsEnumSpecifieswhetherafileshouldbecreatedoroverwrittenwhensavingfromaStreamobject.ThevaluescanbecombinedwithanANDoperator.SchemaEnumSpecifiesthetypeofschemaRecordsetthattheOpenSchemamethodretrieves.SearchDirectionEnumSpecifiesthedirectionofarecordsearchwithinaRecordset.SeekEnumSpecifiesthetypeofSeektoexecute.StreamOpenOptionsEnumSpecifiesoptionsforopeningaStreamobject.ThevaluescanbecombinedwithanANDoperator.StreamReadEnumSpecifieswhetherthewholestreamorthenextlineshouldbereadfromaStreamobject.StreamTypeEnumSpecifiesthetypeofdatastoredinaStreamobject.StreamWriteEnumSpecifieswhetheralineseparatorisappendedtothestringwrittentoaStreamobject.StringFormatEnumSpecifiestheformatwhenretrievingaRecordsetasastring.XactAttributeEnumSpecifiesthetransactionattributesofaConnectionobject.ADOErrorCodeListErrorValueEnumSpecifiesthetypeofADOrun-timeerror.Threeformsoftheerrornumberarelisted:Positivedecimalthelowtwobytesofthefullnumberindecimalformat.ThisnumberisdisplayedinthedefaultVisualBasicerrormessagedialogbox.Forexample,Run-timeerror‘3707’.NegativedecimalThedecimaltranslationofthefullerrornumber.HexadecimalThehexadecimalrepresentationofthefullerrornumber.TheWindowsfacilitycodeisinthefourthdigit.ThefacilitycodeforADOerrornumbersisA.Forexample:0x800A0E7B.NoteOLEDBerrorsmaybepassedtoyourADOapplication.Typically,thesecanbeidentifiedbyaWindowsfacilitycodeof4.Forexample,0x8004Formoreinformationaboutthesenumbers,seeChapter16oftheOLEDBProgrammer’sReference.ConstantValueDescriptionadErrBoundToCommand3707-21468245810x800A0E7BCannotchangetheActiveConnectionpropertyofaRecordsetobjectwhichhasaCommandobjectasitssource.adErrCannotComplete3732-21468245560x800A0E94Servercannotcompletetheoperation.adErrCantChangeConnection3748-21468245400x800A0EA4Connectionwasdenied.Newconnectionyourequestedhasdifferentcharacteristicsthantheonealreadyinuse.adErrCantChangeProvider3220-21468250680X800A0C94Suppliedproviderisdifferentfromtheonealreadyinuse.adErrCantConvertvalue3724-21468245640x800A0E8CDatavaluecannotbeconvertedforreasonsotherthansignmismatchordataoverflow.Forexample,conversionwouldhavetruncateddata.adErrCantCreate3725-21468245630x800A0E8DDatavaluecannotbesetorretrievedbecausethefielddatatypewasunknown,ortheproviderhadinsufficientresourcestoperformtheoperation.adErrCatalogNotSet3747-21468245410x800A0EA3OperationrequiresavalidParentCatalog.adErrColumnNotOnThisRow3726-21468245620x800A0E8ERecorddoesnotcontainthisfield.adErrDataConversion3421-21468248670x800A0D5DApplicationusesavalueofthewrongtypeforthecurrentoperation.adErrDataOverflow3721-21468245670x800A0E89Datavalueistoolargetoberepresentedbythefielddatatype.adErrDelResOutOfScope3738-21468245500x800A0E9AURLoftheobjecttobedeletedisoutsidethescopeofthecurrentrecord.adErrDenyNotSupported3750-21468245380x800A0EA6Providerdoesnotsupportsharingrestrictions.adErrDenyTypeNotSupported3751-21468245370x800A0EA7Providerdoesnotsupporttherequestedkindofsharingrestriction.adErrFeatureNotAvailable3251-21468250370x800A0CB3Objectorproviderisnotcapableofperformingrequestedoperation.adErrFieldsUpdateFailed3749-21468245390x800A0EA5Fieldsupdatefailed.Forfurtherinformation,examinetheStatuspropertyofindividualfieldobjects.adErrIllegalOperation3219-21468250690x800A0C93Operationisnotallowedinthiscontext.adErrIntegrityViolation3719-21468245690x800A0E87Datavalueconflictswiththeintegrityconstraintsofthefield.adErrInTransaction3246-21468250420x800A0CAEConnectionobjectcannotbeexplicitlyclosedwhileinatransaction.adErrInvalidArgument3001-21468252870x800A0BB9Argumentsareofthewrongtype,areoutofacceptablerange,orareinconflictwithoneanother.adErrInvalidConnection3709-21468245790x800A0E7DOperationisnotallowedonanobjectreferencingaclosedorinvalidconnection.adErrInvalidParamInfo3708-21468245800x800A0E7CParameterobjectisimproperlydefined.Inconsistentorincompleteinformati
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 假期读一本好书读后感900字(12篇)
- 2024全新能源开发项目投资与合作合同
- 中式快餐创业计划书
- 2024年工业设备维修协议
- 2024年度4S店租赁期内公共区域维护与管理协议
- 2024年建筑工程消防设计与施工合同
- 2024年企业广告发布与媒体投放合同
- 2024年大数据分析与应用服务协议
- 2024年度「惠州技术开发」合同标的:技术研发与成果共享
- 2024年工程项目混凝土供应合同
- 土力学习题集及详细解答
- 临床微生物学检验-实验系列肠杆菌科的微生物检验
- GB/T 22844-2009配套床上用品
- GB/T 14683-2017硅酮和改性硅酮建筑密封胶
- 无人机校企合作协议
- 工程设备进场进场开箱验收单
- 中国互联网发展概述XXXX
- GB 16809-2008防火窗
- 《百团大战》历史课件
- 银行涉农贷款专项统计制度讲解
- DB31-T 540-2022 重点单位消防安全管理要求
评论
0/150
提交评论