12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870 |
- <?xml version="1.0"?>
- <doc>
- <assembly>
- <name>Microsoft.Data.SqlClient</name>
- </assembly>
- <members>
- <member name="T:Microsoft.Data.SqlClient.ActiveDirectoryNativeAuthenticationProvider">
- <summary>
- Default auth provider for AD Integrated.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.ActiveDirectoryNativeAuthenticationProvider.AcquireTokenAsync(Microsoft.Data.SqlClient.SqlAuthenticationParameters)">
- <summary>
- Get token.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.ActiveDirectoryNativeAuthenticationProvider.IsSupported(Microsoft.Data.SqlClient.SqlAuthenticationMethod)">
- <summary>
- Checks support for authentication type in lower case.
- Interactive authenticatin added.
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.ApplicationIntent">
- <summary>
- Specifies a value for <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.ApplicationIntent" />. Possible values are <see langword="ReadWrite" /> and <see langword="ReadOnly" />.
- </summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.ApplicationIntent.ReadWrite">
- <summary>The application workload type when connecting to a server is read write.</summary><returns>0</returns><value>0</value>
- </member>
- <member name="F:Microsoft.Data.SqlClient.ApplicationIntent.ReadOnly">
- <summary>The application workload type when connecting to a server is read only.</summary><returns>1</returns><value>1</value>
- </member>
- <member name="T:Microsoft.Data.SqlClient.ColumnEncryptionKeyInfo">
- <summary>
- Class encapsulating Column encryption key info
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.ColumnEncryptionKeyInfo.#ctor(System.Byte[],System.Int32,System.Byte[],System.Int32)">
- <summary>
- Constructor
- </summary>
- <param name="decryptedKey">Decrypted key bytes</param>
- <param name="databaseId">database id for this column encryption key</param>
- <param name="keyMetadataVersion">key metadata version for this column encryption key</param>
- <param name="keyid">key id for this column encryption key</param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.ColumnEncryptionKeyInfo.GetLengthForSerialization">
- <summary>
- Calculates number of bytes required to serialize this object
- </summary>
- <returns>Number of bytes required for serialization</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.ColumnEncryptionKeyInfo.SerializeToBuffer(System.Byte[],System.Int32)">
- <summary>
- Serialize this object in a given byte[] starting at a given offset
- </summary>
- <param name="bytePackage">byte array for serialization</param>
- <param name="startOffset">start offset in byte array</param>
- <returns>next available offset</returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.ActiveDirectoryAuthenticationTimeoutRetryState">
- <summary>
- AD auth retry states.
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.ActiveDirectoryAuthenticationTimeoutRetryHelper">
- <summary>
- AD auth retry helper.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.ActiveDirectoryAuthenticationTimeoutRetryHelper.#ctor">
- <summary>
- Constructor.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.ActiveDirectoryAuthenticationTimeoutRetryHelper.State">
- <summary>
- Retry state.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.ActiveDirectoryAuthenticationTimeoutRetryHelper.CachedToken">
- <summary>
- Cached token.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.ActiveDirectoryAuthenticationTimeoutRetryHelper.CanRetryWithSqlException(Microsoft.Data.SqlClient.SqlException)">
- <summary>
- Whether login can be retried after a client/server connection timeout due to a long-time token acquisition.
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.EnclaveDelegate">
- <summary>
- A delegate for communicating with secure enclave
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.EnclaveDelegate.GenerateEnclavePackage(Microsoft.Data.SqlClient.SqlConnectionAttestationProtocol,System.Collections.Generic.Dictionary{System.Int32,Microsoft.Data.SqlClient.SqlTceCipherInfoEntry},System.String,System.String,System.String,System.String)">
- <summary>
- Generate the byte package that needs to be sent to the enclave
- </summary>
- <param name="attestationProtocol">attestation protocol</param>
- <param name="keysTobeSentToEnclave">Keys to be sent to enclave</param>
- <param name="queryText"></param>
- <param name="enclaveType">enclave type</param>
- <param name="serverName">server name</param>
- <param name="enclaveAttestationUrl">url for attestation endpoint</param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.EnclaveDelegate.CreateEnclaveSession(Microsoft.Data.SqlClient.SqlConnectionAttestationProtocol,System.String,System.String,System.String,System.Byte[],Microsoft.Data.SqlClient.SqlEnclaveAttestationParameters)">
- <summary>
- Create a new enclave session
- </summary>
- <param name="attestationProtocol">attestation protocol</param>
- <param name="enclaveType">enclave type</param>
- <param name="serverName">servername</param>
- <param name="attestationUrl">attestation url for attestation service endpoint</param>
- <param name="attestationInfo">attestation info from SQL Server</param>
- <param name="attestationParameters">attestation parameters</param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.EnclaveDelegate.GetDecryptedKeysToBeSentToEnclave(System.Collections.Generic.Dictionary{System.Int32,Microsoft.Data.SqlClient.SqlTceCipherInfoEntry},System.String)">
- <summary>
- Decrypt the keys that need to be sent to the enclave
- </summary>
- <param name="keysTobeSentToEnclave">Keys that need to sent to the enclave</param>
- <param name="serverName"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.EnclaveDelegate.GenerateBytePackageForKeys(System.Int64,System.Byte[],System.Collections.Generic.List{Microsoft.Data.SqlClient.ColumnEncryptionKeyInfo})">
- <summary>
- Generate a byte package consisting of decrypted keys and some headers expected by the enclave
- </summary>
- <param name="enclaveSessionCounter">counter to avoid replay attacks</param>
- <param name="queryStringHashBytes"></param>
- <param name="keys"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.EnclaveDelegate.EncryptBytePackage(System.Byte[],System.Byte[],System.String)">
- <summary>
- Encrypt the byte package containing keys with the session key
- </summary>
- <param name="bytePackage">byte package containing keys</param>
- <param name="sessionKey">session key used to encrypt the package</param>
- <param name="serverName">server hosting the enclave</param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.EnclaveDelegate.CombineByteArrays(System.Byte[][])">
- <summary>
- Combine the array of given byte arrays into one
- </summary>
- <param name="byteArraysToCombine">byte arrays to be combined</param>
- <returns></returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.EnclaveDelegate.RetryableEnclaveQueryExecutionException">
- <summary>
- Exception when executing a enclave based Always Encrypted query
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.EnclaveDelegate.EnclavePackage">
- <summary>
- Class encapsulating necessary information about the byte package that needs to be sent to the enclave
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.EnclaveDelegate.EnclavePackage.#ctor(System.Byte[],Microsoft.Data.SqlClient.SqlEnclaveSession)">
- <summary>
- Constructor
- </summary>
- <param name="enclavePackageBytes">byte package to be sent to enclave</param>
- <param name="enclaveSession"> enclave session to be used</param>
- </member>
- <member name="T:Microsoft.Data.SqlClient.OnChangeEventHandler">
- <OnChangeEventHandler>
- <param name="sender">The source of the event.</param>
- <param name="e">A <see cref="T:Microsoft.Data.SqlClient.SqlNotificationEventArgs" /> object that contains the event data.</param>
- <summary>Handles the <see cref="E:Microsoft.Data.SqlClient.SqlDependency.OnChange" /> event that is fired when a notification is received for any of the commands associated with a <see cref="T:Microsoft.Data.SqlClient.SqlDependency" /> object.</summary>
- <remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlDependency.OnChange> event does not necessarily imply a change in the data. Other circumstances, such as time-out expired and failure to set the notification request, also generate <xref:Microsoft.Data.SqlClient.SqlDependency.OnChange>.
- ]]></format>
- </remarks>
- </OnChangeEventHandler>
- </member>
- <member name="T:Microsoft.Data.SqlClient.PoolBlockingPeriod">
- <summary>Specifies a value for the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.PoolBlockingPeriod" /> property. </summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.PoolBlockingPeriod.Auto">
- <summary>Blocking period OFF for Azure SQL servers, but ON for all other SQL servers.</summary><value>0</value>
- </member>
- <member name="F:Microsoft.Data.SqlClient.PoolBlockingPeriod.AlwaysBlock">
- <summary>Blocking period ON for all SQL servers including Azure SQL servers.</summary><value>1</value>
- </member>
- <member name="F:Microsoft.Data.SqlClient.PoolBlockingPeriod.NeverBlock">
- <summary>Blocking period OFF for Azure SQL servers, but ON for all other SQL servers.</summary><value>2</value>
- </member>
- <member name="T:Microsoft.Data.SqlClient.Server.IBinarySerialize">
- <summary>Provides custom implementation for user-defined type (UDT) and user-defined aggregate serialization and deserialization.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- User-defined types (UDTs) and user-defined aggregates are required to define a storage format, which can be either <xref:Microsoft.Data.SqlClient.Server.Format>.`Native` or <xref:Microsoft.Data.SqlClient.Server.Format>.`UserDefined`.
-
- <xref:Microsoft.Data.SqlClient.Server.Format>.`Native` allows SQL Server to handle serialization and deserialization automatically, but the format has restrictions on the kind of types it can handle. <xref:Microsoft.Data.SqlClient.Server.Format>.`UserDefined` allows user-defined types and aggregates to handle their own serialization. User-defined types and aggregates must be marked with <xref:Microsoft.Data.SqlClient.Server.Format>.`UserDefined` in the `SqlUserDefinedType` or `SqlUserDefinedAggregate` attribute, and must implement the <xref:Microsoft.Data.SqlClient.Server.IBinarySerialize> interface.
-
- Note that even with custom serialization, the total size of each instance must be under the maximum allowed limit, currently 8000 bytes.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.IBinarySerialize.Read(System.IO.BinaryReader)">
- <param name="r">The <see cref="T:System.IO.BinaryReader" /> stream from which the object is deserialized.</param><summary>Generates a user-defined type (UDT) or user-defined aggregate from its binary form.</summary><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.IBinarySerialize.Write(System.IO.BinaryWriter)">
- <param name="w">The <see cref="T:System.IO.BinaryWriter" /> stream to which the UDT or user-defined aggregate is serialized.</param><summary>Converts a user-defined type (UDT) or user-defined aggregate into its binary format so that it may be persisted.</summary><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.Server.InvalidUdtException">
- <summary>Thrown when SQL Server or the ADO.NET <see cref="N:Microsoft.Data.SqlClient" /> provider detects an invalid user-defined type (UDT).</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.InvalidUdtException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
- <param name="si">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object.</param><param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> object.</param><summary>Streams all the <see cref="T:Microsoft.Data.SqlClient.Server.InvalidUdtException" /> properties into the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> class for the given <see cref="T:System.Runtime.Serialization.StreamingContext" />.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This method is present in the <xref:Microsoft.Data.SqlClient.Server.InvalidUdtException> class to make the class serializable.
-
- ]]></format>
- </remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.Server.SqlDataRecord">
- <summary>Represents a single row of data and its metadata. This class cannot be inherited.</summary><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount">
- <summary>Gets the number of columns in the data row. This property is read-only.</summary><value>The number of columns in the data row as an integer.</value><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetName(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Returns the name of the column specified by the ordinal argument.</summary><returns>A <see cref="T:System.String" /> containing the column name.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetDataTypeName(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Returns the name of the data type for the column specified by the ordinal argument.</summary><returns>A <see cref="T:System.String" /> that contains the data type of the column.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This method returns the type name as known in the SQL Server type-system. For user-defined types (UDTs), it returns the three-part name that was used to register the type with SQL Server.
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetFieldType(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Returns a <see cref="T:System.Type" /> object representing the common language runtime (CLR) type that maps to the SQL Server type of the column specified by the <paramref name="ordinal" /> argument.</summary><returns>The column type as a <see cref="T:System.Type" /> object.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.TypeLoadException">The column is of a user-defined type that is not available to the calling application domain.</exception><exception cref="T:System.IO.FileNotFoundException">The column is of a user-defined type that is not available to the calling application domain.</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetValue(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Returns the common language runtime (CLR) type value for the column specified by the ordinal argument.</summary><returns>The CLR type value of the column specified by the ordinal.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- For columns with null value, <xref:System.DBNull.Value> is returned.
-
- ]]></format>
- </remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetValues(System.Object[])">
- <param name="values">The array into which to copy the values column values.</param><summary>Returns the values for all the columns in the record, expressed as common language runtime (CLR) types, in an array.</summary><returns>An <see cref="T:System.Int32" /> that indicates the number of columns copied.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The CLR type values of the column are copied into the `values` array that is passed as a parameter. For columns with null value, <xref:System.DBNull.Value> is returned.
-
- The length of the `values` array does not need to match the number of columns in the record. If the array length is greater than the number of columns, all of the column values are copied into the array; if it is less, only the array length number of column values is copied into the array, starting at the column value with ordinal 0.
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">
- <paramref name="values" /> is <see langword="null" />.</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetOrdinal(System.String)">
- <param name="name">The name of the column to look up.</param><summary>Returns the column ordinal specified by the column name.</summary><returns>The zero-based ordinal of the column as an integer.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentNullException">
- <paramref name="name" /> is <see langword="null" />.</exception><exception cref="T:System.IndexOutOfRangeException">The column name could not be found.</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.Item(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the common language runtime (CLR) type value for the column specified by the column <paramref name="ordinal" /> argument.</summary><value>The CLR type value of the column specified by the <paramref name="ordinal" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- For columns with null value, <xref:System.DBNull.Value> is returned.
-
- ]]></format>
- </remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.Item(System.String)">
- <param name="name">The name of the column.</param><summary>Gets the common language runtime (CLR) type value for the column specified by the column <paramref name="name" /> argument.</summary><value>The CLR type value of the column specified by the <paramref name="name" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- For columns with null value, <xref:System.DBNull.Value> is returned.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetBoolean(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Boolean" />.</summary><returns>The column value as a <see cref="T:System.Boolean" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.Data.SqlTypes.SqlNullValueException">The column specified by <paramref name="ordinal" /> is null.</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetByte(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Byte" />.</summary><returns>The column value as a <see cref="T:System.Byte" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.Data.SqlTypes.SqlNullValueException">The column specified by <paramref name="ordinal" /> is null.</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetBytes(System.Int32,System.Int64,System.Byte[],System.Int32,System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="fieldOffset">The offset into the field value to start retrieving bytes.</param><param name="buffer">The target buffer to which to copy bytes.</param><param name="bufferOffset">The offset into the buffer to which to start copying bytes.</param><param name="length">The number of bytes to copy to the buffer.</param><summary>Gets the value for the column specified by the ordinal as an array of <see cref="T:System.Byte" /> objects.</summary><returns>The number of bytes copied.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This method enables you to obtain a binary value either in a single call or in chunks. Getting the value in chunks is useful for large values or values of unknown size.
-
- To obtain the value in several chunks, allocate a byte array of the chunk-size and call <xref:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetBytes%2A> repeatedly, adjusting the `fieldOffset` parameter accordingly in each call.
-
- ]]></format>
- </remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.Data.SqlTypes.SqlNullValueException">The column specified by <paramref name="ordinal" /> is null.</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetChar(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Char" />.</summary><returns>The column value as a <see cref="T:System.Char" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.Data.SqlTypes.SqlNullValueException">The column specified by <paramref name="ordinal" /> is null.</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetChars(System.Int32,System.Int64,System.Char[],System.Int32,System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="fieldOffset">The offset into the field value to start retrieving characters.</param><param name="buffer">The target buffer to copy chars to.</param><param name="bufferOffset">The offset into the buffer to start copying chars to.</param><param name="length">The number of chars to copy to the buffer.</param><summary>Gets the value for the column specified by the ordinal as an array of <see cref="T:System.Char" /> objects.</summary><returns>The number of characters copied.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This method enables you to obtain a character value either in a single call or in chunks. Getting the value in chunks is useful for large values or values of unknown size.
-
- To obtain the value in several chunks, allocate a char array of the chunk-size and call <xref:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetChars%2A> repeatedly adjusting the `fieldOffset` parameter accordingly in each call.
-
- ]]></format>
- </remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.Data.SqlTypes.SqlNullValueException">The column specified by <paramref name="ordinal" /> is null.</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetGuid(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Guid" />.</summary><returns>The column value as a <see cref="T:System.Guid" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.Data.SqlTypes.SqlNullValueException">The column specified by <paramref name="ordinal" /> is null.</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetInt16(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Int16" />.</summary><returns>The column value as a <see cref="T:System.Int16" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.Data.SqlTypes.SqlNullValueException">The column specified by <paramref name="ordinal" /> is null.</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetInt32(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Int32" />.</summary><returns>The column value as a <see cref="T:System.Int32" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.Data.SqlTypes.SqlNullValueException">The column specified by <paramref name="ordinal" /> is null.</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetInt64(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Int64" />.</summary><returns>The column value as a <see cref="T:System.Int64" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.Data.SqlTypes.SqlNullValueException">The column specified by <paramref name="ordinal" /> is null.</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetFloat(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see langword="float" />.</summary><returns>The column value as a <see langword="float" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.Data.SqlTypes.SqlNullValueException">The column specified by <paramref name="ordinal" /> is null.</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetDouble(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Double" />.</summary><returns>The column value as a <see cref="T:System.Double" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.Data.SqlTypes.SqlNullValueException">The column specified by <paramref name="ordinal" /> is null.</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetString(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.String" />.</summary><returns>The column value as a <see cref="T:System.String" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetDecimal(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Decimal" />.</summary><returns>The column value as a <see cref="T:System.Decimal" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.Data.SqlTypes.SqlNullValueException">The column specified by <paramref name="ordinal" /> is null.</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetDateTime(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.DateTime" />.</summary><returns>The column value as a <see cref="T:System.DateTime" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.Data.SqlTypes.SqlNullValueException">The column specified by <paramref name="ordinal" /> is null.</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetDateTimeOffset(System.Int32)">
- <param name="ordinal">The zero-based column ordinal.</param><summary>Returns the specified column's data as a <see cref="T:System.DateTimeOffset" />.</summary><returns>The value of the specified column as a <see cref="T:System.DateTimeOffset" />.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetTimeSpan(System.Int32)">
- <param name="ordinal">The zero-based column ordinal.</param><summary>Returns the specified column's data as a <see cref="T:System.TimeSpan" />.</summary><returns>The value of the specified column as a <see cref="T:System.TimeSpan" />.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.System#Data#IDataRecord#GetData(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Not supported in this release.</summary><returns>
- <see cref="T:System.Data.IDataReader" />
-
- Always throws an exception.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This method is not supported in this release, and throws <xref:System.NotSupportedException> if called.
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.IsDBNull(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Returns true if the column specified by the column ordinal parameter is null.</summary><returns>
- <see langword="true" /> if the column is null; <see langword="false" /> otherwise.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlMetaData(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Returns a <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> object, describing the metadata of the column specified by the column ordinal.</summary><returns>The column metadata as a <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> object.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlFieldType(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Returns a <see cref="T:System.Type" /> object that represents the type (as a SQL Server type, defined in <see cref="N:System.Data.SqlTypes" />) that maps to the SQL Server type of the column.</summary><returns>The column type as a <see cref="T:System.Type" /> object.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.TypeLoadException">The column is of a user-defined type that is not available to the calling application domain.</exception><exception cref="T:System.IO.FileNotFoundException">The column is of a user-defined type that is not available to the calling application domain.</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlValue(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Returns the data value stored in the column, expressed as a SQL Server type, specified by the column ordinal.</summary><returns>The value of the column, expressed as a SQL Server type, as a <see cref="T:System.Object" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- For null values, a SQL Server type instance is returned where the <xref:System.Data.SqlTypes.INullable.IsNull%2A> property is true.
-
- ]]></format>
- </remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception><altmember cref="N:System.Data.SqlTypes" />
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlValues(System.Object[])">
- <param name="values">The array into which to copy the values column values.</param><summary>Returns the values for all the columns in the record, expressed as SQL Server types, in an array.</summary><returns>An <see cref="T:System.Int32" /> that indicates the number of columns copied.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The SQL Server type values of the column are copied into the `values` array that is passed as a parameter. For null values, a Sql type instance is returned where the <xref:System.Data.SqlTypes.INullable.IsNull%2A> property is true.
-
- The length of the `values` array does not need to match the number of columns in the record. If the array length is greater than the number of columns, all of the column values are copied into the array; if it is less, only the array length number of column values are copied into the array, starting at the column value with ordinal 0.
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">
- <paramref name="values" /> is <see langword="null" />.</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception><altmember cref="N:System.Data.SqlTypes" />
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlBinary(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Data.SqlTypes.SqlBinary" />.</summary><returns>The column value as a <see cref="T:System.Data.SqlTypes.SqlBinary" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlBytes(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Data.SqlTypes.SqlBytes" />.</summary><returns>The column value as a <see cref="T:System.Data.SqlTypes.SqlBytes" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlXml(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Data.SqlTypes.SqlXml" />.</summary><returns>The column value as a <see cref="T:System.Data.SqlTypes.SqlXml" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlBoolean(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Data.SqlTypes.SqlBoolean" />.</summary><returns>The column value as a <see cref="T:System.Data.SqlTypes.SqlBoolean" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlByte(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Data.SqlTypes.SqlByte" />.</summary><returns>The column value as a <see cref="T:System.Data.SqlTypes.SqlByte" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlChars(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Data.SqlTypes.SqlChars" />.</summary><returns>The column value as a <see cref="T:System.Data.SqlTypes.SqlChars" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlInt16(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Data.SqlTypes.SqlInt16" />.</summary><returns>The column value as a <see cref="T:System.Data.SqlTypes.SqlInt16" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlInt32(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Data.SqlTypes.SqlInt32" />.</summary><returns>The column value as a <see cref="T:System.Data.SqlTypes.SqlInt32" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlInt64(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Data.SqlTypes.SqlInt64" />.</summary><returns>The column value as a <see cref="T:System.Data.SqlTypes.SqlInt64" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlSingle(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Data.SqlTypes.SqlSingle" />.</summary><returns>The column value as a <see cref="T:System.Data.SqlTypes.SqlSingle" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlDouble(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Data.SqlTypes.SqlDouble" />.</summary><returns>The column value as a <see cref="T:System.Data.SqlTypes.SqlDouble" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlMoney(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Data.SqlTypes.SqlMoney" />.</summary><returns>The column value as a <see cref="T:System.Data.SqlTypes.SqlMoney" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlDateTime(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Data.SqlTypes.SqlDateTime" />.</summary><returns>The column value as a <see cref="T:System.Data.SqlTypes.SqlDateTime" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlDecimal(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Data.SqlTypes.SqlDecimal" />.</summary><returns>The column value as a <see cref="T:System.Data.SqlTypes.SqlDecimal" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlString(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Data.SqlTypes.SqlString" />.</summary><returns>The column value as a <see cref="T:System.Data.SqlTypes.SqlString" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.GetSqlGuid(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Gets the value for the column specified by the ordinal as a <see cref="T:System.Data.SqlTypes.SqlGuid" />.</summary><returns>The column value as a <see cref="T:System.Data.SqlTypes.SqlGuid" />.</returns><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception><exception cref="T:System.InvalidCastException">There is a type mismatch.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetValues(System.Object[])">
- <param name="values">The array of new values, expressed as CLR types boxed as <see cref="T:System.Object" /> references, for the <see cref="T:Microsoft.Data.SqlClient.Server.SqlDataRecord" /> instance.</param><summary>Sets new values for all of the columns in the <see cref="T:Microsoft.Data.SqlClient.Server.SqlDataRecord" />. These values are expressed as common language runtime (CLR) types.</summary><returns>The number of column values set as an integer.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The length of values must match the number of columns in the <xref:Microsoft.Data.SqlClient.Server.SqlDataRecord> instance.
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">
- <paramref name="values" /> is <see langword="null" />.</exception><exception cref="T:System.ArgumentException">The size of values does not match the number of columns in the <see cref="T:Microsoft.Data.SqlClient.Server.SqlDataRecord" /> instance.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetValue(System.Int32,System.Object)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value for the specified column.</param><summary>Sets a new value, expressed as a common language runtime (CLR) type, for the column specified by the column ordinal.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- `value` is a SQL type boxed as a <xref:System.Object> instance.
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetBoolean(System.Int32,System.Boolean)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Boolean" /> value.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetByte(System.Int32,System.Byte)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Byte" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetBytes(System.Int32,System.Int64,System.Byte[],System.Int32,System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="fieldOffset">The offset into the field value to start copying bytes.</param><param name="buffer">The target buffer from which to copy bytes.</param><param name="bufferOffset">The offset into the buffer from which to start copying bytes.</param><param name="length">The number of bytes to copy from the buffer.</param><summary>Sets the data stored in the column to the specified array of <see cref="T:System.Byte" /> values.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetChar(System.Int32,System.Char)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Char" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetChars(System.Int32,System.Int64,System.Char[],System.Int32,System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="fieldOffset">The offset into the field value to start copying characters.</param><param name="buffer">The target buffer from which to copy chars.</param><param name="bufferOffset">The offset into the buffer from which to start copying chars.</param><param name="length">The number of chars to copy from the buffer.</param><summary>Sets the data stored in the column to the specified array of <see cref="T:System.Char" /> values.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetInt16(System.Int32,System.Int16)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Int16" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetInt32(System.Int32,System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Int32" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetInt64(System.Int32,System.Int64)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Int64" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetFloat(System.Int32,System.Single)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see langword="float" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetDouble(System.Int32,System.Double)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Double" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetString(System.Int32,System.String)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.String" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetDecimal(System.Int32,System.Decimal)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Decimal" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetDateTime(System.Int32,System.DateTime)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.DateTime" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetTimeSpan(System.Int32,System.TimeSpan)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the value of the column specified to the <see cref="T:System.TimeSpan" />.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> passed in is a negative number.</exception><exception cref="T:System.ArgumentException">The <see cref="T:System.TimeSpan" /> value passed in is greater than 24 hours in length.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetDateTimeOffset(System.Int32,System.DateTimeOffset)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the value of the column specified to the <see cref="T:System.DateTimeOffset" /> value.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetDBNull(System.Int32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><summary>Sets the value in the specified column to <see cref="T:System.DBNull" />.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetGuid(System.Int32,System.Guid)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Guid" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetSqlBoolean(System.Int32,System.Data.SqlTypes.SqlBoolean)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Data.SqlTypes.SqlBoolean" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetSqlByte(System.Int32,System.Data.SqlTypes.SqlByte)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Data.SqlTypes.SqlByte" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetSqlInt16(System.Int32,System.Data.SqlTypes.SqlInt16)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Data.SqlTypes.SqlInt16" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetSqlInt32(System.Int32,System.Data.SqlTypes.SqlInt32)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Data.SqlTypes.SqlInt32" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetSqlInt64(System.Int32,System.Data.SqlTypes.SqlInt64)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Data.SqlTypes.SqlInt64" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetSqlSingle(System.Int32,System.Data.SqlTypes.SqlSingle)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Data.SqlTypes.SqlSingle" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetSqlDouble(System.Int32,System.Data.SqlTypes.SqlDouble)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Data.SqlTypes.SqlDouble" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetSqlMoney(System.Int32,System.Data.SqlTypes.SqlMoney)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Data.SqlTypes.SqlMoney" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetSqlDateTime(System.Int32,System.Data.SqlTypes.SqlDateTime)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Data.SqlTypes.SqlDateTime" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetSqlXml(System.Int32,System.Data.SqlTypes.SqlXml)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Data.SqlTypes.SqlXml" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetSqlDecimal(System.Int32,System.Data.SqlTypes.SqlDecimal)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Data.SqlTypes.SqlDecimal" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetSqlString(System.Int32,System.Data.SqlTypes.SqlString)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Data.SqlTypes.SqlString" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetSqlBinary(System.Int32,System.Data.SqlTypes.SqlBinary)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Data.SqlTypes.SqlBinary" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetSqlGuid(System.Int32,System.Data.SqlTypes.SqlGuid)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Data.SqlTypes.SqlGuid" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetSqlChars(System.Int32,System.Data.SqlTypes.SqlChars)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Data.SqlTypes.SqlChars" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.SetSqlBytes(System.Int32,System.Data.SqlTypes.SqlBytes)">
- <param name="ordinal">The zero-based ordinal of the column.</param><param name="value">The new value of the column.</param><summary>Sets the data stored in the column to the specified <see cref="T:System.Data.SqlTypes.SqlBytes" /> value.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="ordinal" /> is less than 0 or greater than the number of columns (that is, <see cref="P:Microsoft.Data.SqlClient.Server.SqlDataRecord.FieldCount" />).</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlDataRecord.#ctor(Microsoft.Data.SqlClient.Server.SqlMetaData[])">
- <param name="metaData">An array of <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> objects that describe each column in the <see cref="T:Microsoft.Data.SqlClient.Server.SqlDataRecord" />.</param><summary>Inititializes a new <see cref="T:Microsoft.Data.SqlClient.Server.SqlDataRecord" /> instance with the schema based on the array of <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> objects passed as an argument.</summary><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">The <paramref name="metaData" /> is <see langword="null" />.</exception>
- </member>
- <member name="T:Microsoft.Data.SqlClient.Server.DataAccessKind">
- <summary>Describes the type of access to user data for a user-defined method or function.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Describes the type of access to user data for a user-defined method or function.
-
- This enumeration is used in <xref:Microsoft.Data.SqlClient.Server.SqlMethodAttribute> and <xref:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute> to indicate whether the method or function uses ADO.NET to connect back to the database using the "context connection."
-
- Note that methods and functions are not allowed to make changes to the database, so the options for this enumeration are `None` (meaning no data-access performed by the method or function) and `Read` (meaning that the method or function perform read-only data-access operations, such as executing SELECT statements).
-
- ]]></format>
- </remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.DataAccessKind.None">
- <summary>The method or function does not access user data.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.DataAccessKind.Read">
- <summary>The method or function reads user data.</summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.Server.SystemDataAccessKind">
- <summary>Describes the type of access to system data for a user-defined method or function.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Describes the type of access to system data for a user-defined method or function.
-
- This enumeration is used in <xref:Microsoft.Data.SqlClient.Server.SqlMethodAttribute> and <xref:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute> to indicate what type of access to system data the method or function has.
-
- Note that methods and functions are not allowed to make changes to the database, so the options for this enumeration are `None` (meaning no data-access performed by the method or function) and `Read` (meaning that the method or function performs read-only data-access operations, such as executing SELECT statements).
-
- ]]></format>
- </remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.SystemDataAccessKind.None">
- <summary>The method or function does not access system data.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.SystemDataAccessKind.Read">
- <summary>The method or function reads system data.</summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute">
- <summary>Used to mark a method definition of a user-defined aggregate as a function in SQL Server. The properties on the attribute reflect the physical characteristics used when the type is registered with SQL Server.</summary><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.#ctor">
- <summary>An optional attribute on a user-defined aggregate, used to indicate that the method should be registered in SQL Server as a function. Also used to set the <see cref="P:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.DataAccess" />, <see cref="P:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.FillRowMethodName" />, <see cref="P:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.IsDeterministic" />, <see cref="P:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.IsPrecise" />, <see cref="P:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.Name" />, <see cref="P:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.SystemDataAccess" />, and <see cref="P:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.TableDefinition" /> properties of the function attribute.</summary><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.IsDeterministic">
- <summary>Indicates whether the user-defined function is deterministic.</summary><value>
- <see langword="true" /> if the function is deterministic; otherwise <see langword="false" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- A user-defined function is said to be deterministic if it always produces the same output values given the same input values and the same database state.
- The <xref:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.IsDeterministic%2A> property is also useful for indexing the result of the function in the form of indexed computed columns and indexed views. If this property is not specified, the function is assumed to be non-deterministic.
- Functions that access local data can be deterministic. The data access characteristic is captured separately by the <xref:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.DataAccess%2A> and <xref:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.SystemDataAccess%2A> properties.
- Note that data access to remote servers (for example, using a <xref:Microsoft.Data.SqlClient.SqlConnection> to connect to another SQL Server instance) is available in user-defined functions. However, you must still honor the <xref:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.IsDeterministic%2A> declaration. If the common language runtime (CLR) function is marked as deterministic, it should not cause side-effects in the remote server. While side-effects against the context connection are restricted, SQL Server will not enforce the restriction for side-effects over remote connections.
- The default value of this attribute is `false`.
- Do not mark a function as deterministic if the function does not always produce the same output values, given the same input values and the same database state. Marking a function as deterministic when the function is not truly deterministic can result in corrupted indexed views and computed columns.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.DataAccess">
- <summary>Indicates whether the function involves access to user data stored in the local instance of SQL Server.</summary><value>
- <see cref="T:Microsoft.Data.SqlClient.Server.DataAccessKind" />.<see langword="None" />: Does not access data. <see cref="T:Microsoft.Data.SqlClient.Server.DataAccessKind" />.<see langword="Read" />: Only reads user data.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The default is <xref:Microsoft.Data.SqlClient.Server.DataAccessKind.None>.<xref:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.DataAccess%2A> is also required when connecting to remote servers if transactions integration is required (the default).
- If a Transact-SQL query is executed from inside a table-valued function (TVF), the <xref:Microsoft.Data.SqlClient.Server.DataAccessKind.Read> property should be set.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.SystemDataAccess">
- <summary>Indicates whether the function requires access to data stored in the system catalogs or virtual system tables of SQL Server.</summary><value>
- <see cref="T:Microsoft.Data.SqlClient.Server.DataAccessKind" />.<see langword="None" />: Does not access system data. <see cref="T:Microsoft.Data.SqlClient.Server.DataAccessKind" />.<see langword="Read" />: Only reads system data.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The default is <xref:Microsoft.Data.SqlClient.Server.SystemDataAccessKind.None>.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.IsPrecise">
- <summary>Indicates whether the function involves imprecise computations, such as floating point operations.</summary><value>
- <see langword="true" /> if the function involves precise computations; otherwise <see langword="false" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Precision of a function is one of the properties used to determine if computed columns that use this function can be indexed.
- The default value of this attribute is `false`.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.Name">
- <summary>The name under which the function should be registered in SQL Server.</summary><value>A <see cref="T:System.String" /> value representing the name under which the function should be registered.</value><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.TableDefinition">
- <summary>A string that represents the table definition of the results, if the method is used as a table-valued function (TVF).</summary><value>A <see cref="T:System.String" /> value representing the table definition of the results.</value><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlFunctionAttribute.FillRowMethodName">
- <summary>The name of a method in the same class which is used to fill a row of data in the table returned by the table-valued function.</summary><value>A <see cref="T:System.String" /> value representing the name of a method in the same class which is used to fill a row of data in the table returned by the table-valued function.</value>
- </member>
- <member name="T:Microsoft.Data.SqlClient.Server.SqlMetaData">
- <summary>Specifies and retrieves metadata information from parameters and columns of <see cref="T:Microsoft.Data.SqlClient.Server.SqlDataRecord" /> objects. This class cannot be inherited.</summary><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.#ctor(System.String,System.Data.SqlDbType)">
- <param name="name">The name of the column.</param><param name="dbType">The SQL Server type of the parameter or column.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> class with the specified column name and type.</summary><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">The <paramref name="name" /> is <see langword="null" />.</exception><exception cref="T:System.ArgumentException">A <see langword="SqlDbType" /> that is not allowed was passed to the constructor as <paramref name="dbType" />.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.#ctor(System.String,System.Data.SqlDbType,System.Boolean,System.Boolean,Microsoft.Data.SqlClient.SortOrder,System.Int32)">
- <param name="name">The name of the column.</param><param name="dbType">The SQL Server type of the parameter or column.</param><param name="useServerDefault">Specifies whether this column should use the default server value.</param><param name="isUniqueKey">Specifies if the column in the table-valued parameter is unique.</param><param name="columnSortOrder">Specifies the sort order for a column.</param><param name="sortOrdinal">Specifies the ordinal of the sort column.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> class with the specified column name, and default server. This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column.</summary><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.#ctor(System.String,System.Data.SqlDbType,System.Int64)">
- <param name="name">The name of the column.</param><param name="dbType">The SQL Server type of the parameter or column.</param><param name="maxLength">The maximum length of the specified type.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> class with the specified column name, type, and maximum length.</summary><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">The <paramref name="name" /> is <see langword="null" />.</exception><exception cref="T:System.ArgumentException">A SqlDbType that is not allowed was passed to the constructor as <paramref name="dbType" />.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.#ctor(System.String,System.Data.SqlDbType,System.Int64,System.Boolean,System.Boolean,Microsoft.Data.SqlClient.SortOrder,System.Int32)">
- <param name="name">The name of the column.</param><param name="dbType">The SQL Server type of the parameter or column.</param><param name="maxLength">The maximum length of the specified type.</param><param name="useServerDefault">Specifies whether this column should use the default server value.</param><param name="isUniqueKey">Specifies if the column in the table-valued parameter is unique.</param><param name="columnSortOrder">Specifies the sort order for a column.</param><param name="sortOrdinal">Specifies the ordinal of the sort column.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> class with the specified column name, type, maximum length, and server default. This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column.</summary><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.#ctor(System.String,System.Data.SqlDbType,System.Type)">
- <param name="name">The name of the column.</param><param name="dbType">The SQL Server type of the parameter or column.</param><param name="userDefinedType">A <see cref="T:System.Type" /> instance that points to the UDT.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> class with the specified column name, type, and user-defined type (UDT).</summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Only the following `SqlDbType` is allowed to be passed to the constructor as `dbType`: `UDT`.
- The following are the default values assigned to `dbType`, depending on the `SqlDbType` (the <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionDatabase%2A>, <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionName%2A>, <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionOwningSchema%2A>, and <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.Type%2A> properties are set to `null`):
- |SqlDbType|Maximum length|Precision|Scale|Locale|Compare options|
- |---------------|--------------------|---------------|-----------|------------|---------------------|
- |UDT|\<Max length of the type> or -1|0|0|0|None|
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">The <paramref name="name" /> is <see langword="null" />.</exception><exception cref="T:System.ArgumentException">A SqlDbType that is not allowed was passed to the constructor as <paramref name="dbType" />, or <paramref name="userDefinedType" /> points to a type that does not have <see cref="T:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute" /> declared.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.#ctor(System.String,System.Data.SqlDbType,System.Type,System.String)">
- <param name="name">The name of the column.</param><param name="dbType">The SQL Server type of the parameter or column.</param><param name="userDefinedType">A <see cref="T:System.Type" /> instance that points to the UDT.</param><param name="serverTypeName">The SQL Server type name for <paramref name="userDefinedType" />.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> class with the specified column name, user-defined type (UDT), and SQLServer type.</summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.#ctor(System.String,System.Data.SqlDbType,System.Type,System.String,System.Boolean,System.Boolean,Microsoft.Data.SqlClient.SortOrder,System.Int32)">
- <param name="name">The name of the column.</param><param name="dbType">The SQL Server type of the parameter or column.</param><param name="userDefinedType">A <see cref="T:System.Type" /> instance that points to the UDT.</param><param name="serverTypeName">The SQL Server type name for <paramref name="userDefinedType" />.</param><param name="useServerDefault">Specifies whether this column should use the default server value.</param><param name="isUniqueKey">Specifies if the column in the table-valued parameter is unique.</param><param name="columnSortOrder">Specifies the sort order for a column.</param><param name="sortOrdinal">Specifies the ordinal of the sort column.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> class with the specified column name, type, user-defined type, SQL Server type, and server default. This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column.</summary><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.#ctor(System.String,System.Data.SqlDbType,System.Byte,System.Byte)">
- <param name="name">The name of the parameter or column.</param><param name="dbType">The SQL Server type of the parameter or column.</param><param name="precision">The precision of the parameter or column.</param><param name="scale">The scale of the parameter or column.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> class with the specified column name, type, precision, and scale.</summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Only the following `SqlDbType` is allowed to be passed to the constructor as `dbType`: `Decimal`.
- The following are the default values assigned to `dbType`, depending on the `SqlDbType` (the <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionDatabase%2A>, <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionName%2A>, <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionOwningSchema%2A>, and <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.Type%2A> properties are set to `null`):
- |SqlDbType|Maximum length|Precision|Scale|Locale|Compare options|
- |---------------|--------------------|---------------|-----------|------------|---------------------|
- |Decimal|9|18|0|0|None|
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">The <paramref name="name" /> is <see langword="null" />.</exception><exception cref="T:System.ArgumentException">A <see langword="SqlDbType" /> that is not allowed was passed to the constructor as <paramref name="dbType" />, or <paramref name="scale" /> was greater than <paramref name="precision" />.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.#ctor(System.String,System.Data.SqlDbType,System.Byte,System.Byte,System.Boolean,System.Boolean,Microsoft.Data.SqlClient.SortOrder,System.Int32)">
- <param name="name">The name of the column.</param><param name="dbType">The SQL Server type of the parameter or column.</param><param name="precision">The precision of the parameter or column.</param><param name="scale">The scale of the parameter or column.</param><param name="useServerDefault">Specifies whether this column should use the default server value.</param><param name="isUniqueKey">Specifies if the column in the table-valued parameter is unique.</param><param name="columnSortOrder">Specifies the sort order for a column.</param><param name="sortOrdinal">Specifies the ordinal of the sort column.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> class with the specified column name, type, precision, scale, and server default. This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column.</summary><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.#ctor(System.String,System.Data.SqlDbType,System.Int64,System.Int64,System.Data.SqlTypes.SqlCompareOptions)">
- <param name="name">The name of the parameter or column.</param><param name="dbType">The SQL Server type of the parameter or column.</param><param name="maxLength">The maximum length of the specified type.</param><param name="locale">The locale ID of the parameter or column.</param><param name="compareOptions">The comparison rules of the parameter or column.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> class with the specified column name, type, maximum length, locale, and compare options.</summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Only the following are allowed to be passed to the constructor as `dbType`: `Char`, `NChar`, `Ntext`, `NVarChar`, `Text`, `VarChar`.
- Only a `maxLength` specification of <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.Max%2A>, or -1, is allowed for a `dbType` of `Text` or `NText`.
- For a `dbType` of `Varchar` or `Nvarchar`, a length specification of <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.Max%2A>, or -1, declares the metadata as varchar(max) and nvarchar(max), respectively.
- The following are the default values assigned to `dbType`, depending on the `SqlDbType` (the <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionDatabase%2A>, <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionName%2A>, <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionOwningSchema%2A>, and <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.Type%2A> properties are set to `null`):
- |SqlDbType|Precision|Scale|
- |---------------|---------------|-----------|
- |`Char`|0|0|
- |`NChar`|0|0|
- |`NText`|0|0|
- |`NVarChar`|0|0|
- |`Text`|0|0|
- |`VarChar`|0|0|
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">The <paramref name="name" /> is <see langword="null" />.</exception><exception cref="T:System.ArgumentException">A SqlDbType that is not allowed was passed to the constructor as <paramref name="dbType" />.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.#ctor(System.String,System.Data.SqlDbType,System.Int64,System.Int64,System.Data.SqlTypes.SqlCompareOptions,System.Boolean,System.Boolean,Microsoft.Data.SqlClient.SortOrder,System.Int32)">
- <param name="name">The name of the column.</param><param name="dbType">The SQL Server type of the parameter or column.</param><param name="maxLength">The maximum length of the specified type.</param><param name="locale">The locale ID of the parameter or column.</param><param name="compareOptions">The comparison rules of the parameter or column.</param><param name="useServerDefault">Specifies whether this column should use the default server value.</param><param name="isUniqueKey">Specifies if the column in the table-valued parameter is unique.</param><param name="columnSortOrder">Specifies the sort order for a column.</param><param name="sortOrdinal">Specifies the ordinal of the sort column.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> class with the specified column name, type, maximum length, locale, compare options, and server default. This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column.</summary><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.#ctor(System.String,System.Data.SqlDbType,System.String,System.String,System.String,System.Boolean,System.Boolean,Microsoft.Data.SqlClient.SortOrder,System.Int32)">
- <param name="name">The name of the column.</param><param name="dbType">The SQL Server type of the parameter or column.</param><param name="database">The database name of the XML schema collection of a typed XML instance.</param><param name="owningSchema">The relational schema name of the XML schema collection of a typed XML instance.</param><param name="objectName">The name of the XML schema collection of a typed XML instance.</param><param name="useServerDefault">Specifies whether this column should use the default server value.</param><param name="isUniqueKey">Specifies if the column in the table-valued parameter is unique.</param><param name="columnSortOrder">Specifies the sort order for a column.</param><param name="sortOrdinal">Specifies the ordinal of the sort column.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> class with the specified column name, database name, owning schema, object name, and default server. This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column.</summary><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.#ctor(System.String,System.Data.SqlDbType,System.Int64,System.Byte,System.Byte,System.Int64,System.Data.SqlTypes.SqlCompareOptions,System.Type)">
- <param name="name">The name of the column.</param><param name="dbType">The SQL Server type of the parameter or column.</param><param name="maxLength">The maximum length of the specified type.</param><param name="precision">The precision of the parameter or column.</param><param name="scale">The scale of the parameter or column.</param><param name="locale">The locale ID of the parameter or column.</param><param name="compareOptions">The comparison rules of the parameter or column.</param><param name="userDefinedType">A <see cref="T:System.Type" /> instance that points to the UDT.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> class with the specified column name, type, maximum length, precision, scale, locale ID, compare options, and user-defined type (UDT).</summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Only the following are allowed to be passed to the constructor as `dbType`: `BigInt`, `Bit`, `BitInt`, `DateTime`, `Decimal`, `Float`, `Image`, `Int`, `Money`, `Ntext`, `Numeric`, `Real`, `SmallDateTime`, `SmallInt`, `SmallMoney`, `Text`, `TimeStamp`, `TinyInt`, `UniqueIdentifier`, `Variant`, `Xml`.
- The following are the default values assigned to `dbType`, depending on the `SqlDbType` (the <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionDatabase%2A>, <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionName%2A>, <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionOwningSchema%2A>, and <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.Type%2A> properties are set to `null`):
- |SqlDbType|Maximum length|Precision|Scale|Locale|Compare options|
- |---------------|--------------------|---------------|-----------|------------|---------------------|
- |`BigInt`|8|19|0|0|None|
- |`Bit`|1|1|0|0|None|
- |`DateTime`|8|23|3|0|None|
- |`Decimal`|9|18|0|0|None|
- |`Float`|8|53|0|0|None|
- |`Image`|Max (-1)|0|0|0|None|
- |`Int`|4|10|0|0|None|
- |`Money`|8|19|4|0|None|
- |`Ntext`|Max (-1)|0|0|\<thread>|IgnoreCase, IgnoreKanaType, IgnoreWidth|
- |`Real`|4|24|0|0|None|
- |`Row`|\<number of columns>|0|0|0|None|
- |`SmallDateTime`|4|16|0|0|None|
- |`SmallInt`|2|5|0|0|None|
- |`SmallMoney`|4|10|4|0|None|
- |`Text`|Max (-1)|0|0|\<thread>|IgnoreCase, IgnoreKanaType, IgnoreWidth|
- |`TimeStamp`|8|0|0|0|None|
- |`TinyInt`|1|3|0|0|None|
- |`UniqueIdentifier`|16|0|0|0|None|
- |`UDT`|\<Max length of the type> or -1|0|0|0|None|
- |`Variant`|8016|0|0|0|None|
- |`Xml`|Max (-1)|0|0|0|IgnoreCase, IgnoreKanaType, IgnoreWidth|
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">The <paramref name="name" /> is <see langword="null" />.</exception><exception cref="T:System.ArgumentException">A <see langword="SqlDbType" /> that is not allowed was passed to the constructor as <paramref name="dbType" />, or <paramref name="userDefinedType" /> points to a type that does not have <see cref="T:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute" /> declared.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.#ctor(System.String,System.Data.SqlDbType,System.Int64,System.Byte,System.Byte,System.Int64,System.Data.SqlTypes.SqlCompareOptions,System.Type,System.Boolean,System.Boolean,Microsoft.Data.SqlClient.SortOrder,System.Int32)">
- <param name="name">The name of the column.</param><param name="dbType">The SQL Server type of the parameter or column.</param><param name="maxLength">The maximum length of the specified type.</param><param name="precision">The precision of the parameter or column.</param><param name="scale">The scale of the parameter or column.</param><param name="localeId">The locale ID of the parameter or column.</param><param name="compareOptions">The comparison rules of the parameter or column.</param><param name="userDefinedType">A <see cref="T:System.Type" /> instance that points to the UDT.</param><param name="useServerDefault">Specifies whether this column should use the default server value.</param><param name="isUniqueKey">Specifies if the column in the table-valued parameter is unique.</param><param name="columnSortOrder">Specifies the sort order for a column.</param><param name="sortOrdinal">Specifies the ordinal of the sort column.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> class with the specified column name, type, maximum length, precision, scale, locale ID, compare options, and user-defined type (UDT). This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column.</summary><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.#ctor(System.String,System.Data.SqlDbType,System.String,System.String,System.String)">
- <param name="name">The name of the column.</param><param name="dbType">The SQL Server type of the parameter or column.</param><param name="database">The database name of the XML schema collection of a typed XML instance.</param><param name="owningSchema">The relational schema name of the XML schema collection of a typed XML instance.</param><param name="objectName">The name of the XML schema collection of a typed XML instance.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> class with the specified column name, type, database name, owning schema, and object name.</summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Only the following `SqlDbType` is allowed to be passed to the constructor as `dbType`: `Xml`.
- The following are the default values assigned to `dbType`, depending on the `SqlDbType`:
- |SqlDbType|Maximum length|Precision|Scale|Locale|Compare options|
- |---------------|--------------------|---------------|-----------|------------|---------------------|
- |`Xml`|Max (-1)|0|0|0|IgnoreCase, IgnoreKanaType, IgnoreWidth|
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">The <paramref name="name" /> is <see langword="null" />, or <paramref name="objectName" /> is <see langword="null" /> when <paramref name="database" /> and <paramref name="owningSchema" /> are non-<see langword="null" />.</exception><exception cref="T:System.ArgumentException">A SqlDbType that is not allowed was passed to the constructor as <paramref name="dbType" />.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMetaData.CompareOptions">
- <summary>Gets the comparison rules used for the column or parameter.</summary><value>The comparison rules used for the column or parameter as a <see cref="T:System.Data.SqlTypes.SqlCompareOptions" />.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMetaData.DbType">
- <summary>Gets the data type of the column or parameter.</summary><value>The data type of the column or parameter as a <see cref="T:System.Data.DbType" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The default type is <xref:System.Data.DbType>.`String`.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMetaData.IsUniqueKey">
- <summary>Indicates if the column in the table-valued parameter is unique.</summary><value>A <see langword="Boolean" /> value.</value><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMetaData.LocaleId">
- <summary>Gets the locale ID of the column or parameter.</summary><value>The locale ID of the column or parameter as a <see cref="T:System.Int64" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The default value is the current locale of the current thread for string-valued SqlDbTypes, and 0 for SqlDbTypes that do not support collation.
- Returns 0 if the collation of the underlying column type is not defined.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMetaData.Max">
- <summary>Gets the length of <see langword="text" />, <see langword="ntext" />, and <see langword="image" /> data types.</summary><value>The length of <see langword="text" />, <see langword="ntext" />, and <see langword="image" /> data types.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The default value is -1.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMetaData.MaxLength">
- <summary>Gets the maximum length of the column or parameter.</summary><value>The maximum length of the column or parameter as a <see cref="T:System.Int64" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The potential maximum length for values of the specified column. Returns 0 for types other than fixed and varying length character and binary types. For variable size columns or parameters declared with the `Max` constructor parameter, it returns -1.
- For <xref:System.Data.DbType>.`Row` this returns the number of columns in the row metadata instance.
- The default value is 0.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMetaData.Name">
- <summary>Gets the name of the column or parameter.</summary><value>The name of the column or parameter as a <see cref="T:System.String" />.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMetaData.Precision">
- <summary>Gets the precision of the column or parameter.</summary><value>The precision of the column or parameter as a <see cref="T:System.Byte" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Returns 0 if the precision of the underlying column type is not defined.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMetaData.Scale">
- <summary>Gets the scale of the column or parameter.</summary><value>The scale of the column or parameter.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Returns 0 if the scale of the underlying column type is not defined.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMetaData.SortOrder">
- <summary>Returns the sort order for a column.</summary><value>A <see cref="T:Microsoft.Data.SqlClient.SortOrder" /> object.</value><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMetaData.SortOrdinal">
- <summary>Returns the ordinal of the sort column.</summary><value>The ordinal of the sort column.</value><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMetaData.SqlDbType">
- <summary>Gets the data type of the column or parameter.</summary><value>The data type of the column or parameter as a <see cref="T:System.Data.DbType" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The default value is `NVarChar`.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMetaData.Type">
- <summary>Gets the common language runtime (CLR) type of a user-defined type (UDT).</summary><value>The CLR type name of a user-defined type as a <see cref="T:System.Type" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The default value is `null`.
- Returns `null` if <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.SqlDbType%2A> is not a UDT type. `Null` may also returned for valid UDT result sets where the assembly is not available to the application.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMetaData.TypeName">
- <summary>Gets the three-part name of the user-defined type (UDT) or the SQL Server type represented by the instance.</summary><value>The name of the UDT or SQL Server type as a <see cref="T:System.String" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The default value is `null`.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMetaData.UseServerDefault">
- <summary>Reports whether this column should use the default server value.</summary><value>A <see langword="Boolean" /> value.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The default is `FALSE`.
- This property can only be set in one of the <xref:Microsoft.Data.SqlClient.Server.SqlMetaData> constructors.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionDatabase">
- <summary>Gets the name of the database where the schema collection for this XML instance is located.</summary><value>The name of the database where the schema collection for this XML instance is located as a <see cref="T:System.String" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The default value is `null`.
- This property may be `null` if the collection is defined within the current database. It is also `null` if there is no schema collection, in which case <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionName%2A> and <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionOwningSchema%2A> are also null.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionName">
- <summary>Gets the name of the schema collection for this XML instance.</summary><value>The name of the schema collection for this XML instance as a <see cref="T:System.String" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The default value is `null`.
- This value is `null` if there is no associated schema collection. If the value is `null`, then <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionDatabase%2A> and <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionOwningSchema%2A> are also `null`.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionOwningSchema">
- <summary>Gets the owning relational schema where the schema collection for this XML instance is located.</summary><value>The owning relational schema where the schema collection for this XML instance is located as a <see cref="T:System.String" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The default value is `null`.
- This value may be `null` if the collection is defined within the current database and default schema. It is also null if there is no schema collection, in which case <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionDatabase%2A> and <xref:Microsoft.Data.SqlClient.Server.SqlMetaData.XmlSchemaCollectionName%2A> are also `null`.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Int16)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Int16" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Int16" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Int32)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Int32" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Int32" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Int64)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Int64" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Int64" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Single)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Single" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Single" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Double)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Double" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Double" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.String)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.String" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.String" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Decimal)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Decimal" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Decimal" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.DateTime)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.DateTime" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.DateTime" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Guid)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Guid" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Guid" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Data.SqlTypes.SqlBoolean)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Data.SqlTypes.SqlBoolean" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Data.SqlTypes.SqlBoolean" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Data.SqlTypes.SqlByte)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Data.SqlTypes.SqlByte" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Data.SqlTypes.SqlByte" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Data.SqlTypes.SqlInt16)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Data.SqlTypes.SqlInt16" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Data.SqlTypes.SqlInt16" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Data.SqlTypes.SqlInt32)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Data.SqlTypes.SqlInt32" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Data.SqlTypes.SqlInt32" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Data.SqlTypes.SqlInt64)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Data.SqlTypes.SqlInt64" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Data.SqlTypes.SqlInt64" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Data.SqlTypes.SqlSingle)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Data.SqlTypes.SqlSingle" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Data.SqlTypes.SqlSingle" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Data.SqlTypes.SqlDouble)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Data.SqlTypes.SqlDouble" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Data.SqlTypes.SqlDouble" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Data.SqlTypes.SqlMoney)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Data.SqlTypes.SqlMoney" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Data.SqlTypes.SqlMoney" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Data.SqlTypes.SqlDateTime)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Data.SqlTypes.SqlDateTime" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Data.SqlTypes.SqlDateTime" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Data.SqlTypes.SqlDecimal)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Data.SqlTypes.SqlDecimal" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Data.SqlTypes.SqlDecimal" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Data.SqlTypes.SqlString)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Data.SqlTypes.SqlString" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Data.SqlTypes.SqlString" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Data.SqlTypes.SqlBinary)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Data.SqlTypes.SqlBinary" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Data.SqlTypes.SqlBinary" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Data.SqlTypes.SqlGuid)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Data.SqlTypes.SqlGuid" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Data.SqlTypes.SqlGuid" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Data.SqlTypes.SqlChars)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Data.SqlTypes.SqlChars" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Data.SqlTypes.SqlChars" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Data.SqlTypes.SqlBytes)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Data.SqlTypes.SqlBytes" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Data.SqlTypes.SqlBytes" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Data.SqlTypes.SqlXml)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Data.SqlTypes.SqlXml" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Data.SqlTypes.SqlXml" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.TimeSpan)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.TimeSpan" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as an array of <see cref="T:System.TimeSpan" /> values.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.DateTimeOffset)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.DateTimeOffset" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as an array of <see cref="T:System.DateTimeOffset" /> values.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Object)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Object" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Object" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.InferFromValue(System.Object,System.String)">
- <param name="value">The object used from which the metadata is inferred.</param><param name="name">The name assigned to the returned <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Infers the metadata from the specified object and returns it as a <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</summary><returns>The inferred metadata as a <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentNullException">The <paramref name="value" /> is <see langword="null" />.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Boolean)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Boolean" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Boolean" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Byte)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Byte" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Byte" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Byte[])">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified array of <see cref="T:System.Byte" /> values against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as an array of <see cref="T:System.Byte" /> values.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Char)">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified <see cref="T:System.Char" /> value against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as a <see cref="T:System.Char" />.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMetaData.Adjust(System.Char[])">
- <param name="value">The value to validate against the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> instance.</param><summary>Validates the specified array of <see cref="T:System.Char" /> values against the metadata, and adjusts the value if necessary.</summary><returns>The adjusted value as an array <see cref="T:System.Char" /> values.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- <paramref name="value" /> does not match the <see cref="T:Microsoft.Data.SqlClient.Server.SqlMetaData" /> type, or <paramref name="value" /> could not be adjusted.</exception>
- </member>
- <member name="T:Microsoft.Data.SqlClient.Server.SqlMethodAttribute">
- <summary>Indicates the determinism and data access properties of a method or property on a user-defined type (UDT). The properties on the attribute reflect the physical characteristics that are used when the type is registered with SQL Server.</summary><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlMethodAttribute.#ctor">
- <summary>An attribute on a user-defined type (UDT), used to indicate the determinism and data access properties of a method or a property on a UDT.</summary><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMethodAttribute.OnNullCall">
- <summary>Indicates whether the method on a user-defined type (UDT) is called when <see langword="null" /> input arguments are specified in the method invocation.</summary><value> <see langword="true" /> if the method is called when <see langword="null" /> input arguments are specified in the method invocation; <see langword="false" /> if the method returns a <see langword="null" /> value when any of its input parameters are <see langword="null" />. If the method cannot be invoked (because of an attribute on the method), the SQL Server <see langword="DbNull" /> is returned.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The default value of the <xref:Microsoft.Data.SqlClient.Server.SqlMethodAttribute.OnNullCall%2A> property is `true`.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMethodAttribute.IsMutator">
- <summary>Indicates whether a method on a user-defined type (UDT) is a mutator.</summary><value> <see langword="true" /> if the method is a mutator; otherwise <see langword="false" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- If the <xref:Microsoft.Data.SqlClient.Server.SqlMethodAttribute.IsMutator%2A> property is set to `true` and the return type of the method is `void`, SQL Server marks the method as a mutator. A mutator method is one that causes a state change in the UDT instance. Mutator methods can be called in assignment statements or data modification statements, but cannot be used in queries. If a method is marked as a mutator but does not return void, then CREATE TYPE does not fail with an error. Even though a returned value other than `void` does not raise an error, the returned value is not accessible and cannot be used.
- The default value of the <xref:Microsoft.Data.SqlClient.Server.SqlMethodAttribute.IsMutator%2A> property is `false`.
- A property can be a mutator if <xref:Microsoft.Data.SqlClient.Server.SqlMethodAttribute> is used on the setter and <xref:Microsoft.Data.SqlClient.Server.SqlMethodAttribute.IsMutator%2A> is set to `true`. However, a property setter is implicitly treated as a mutator, so it is not necessary to set the <xref:Microsoft.Data.SqlClient.Server.SqlMethodAttribute.IsMutator%2A> property of the <xref:Microsoft.Data.SqlClient.Server.SqlMethodAttribute> to `true`.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlMethodAttribute.InvokeIfReceiverIsNull">
- <summary>Indicates whether SQL Server should invoke the method on null instances.</summary><value> <see langword="true" /> if SQL Server should invoke the method on null instances; otherwise, <see langword="false" />. If the method cannot be invoked (because of an attribute on the method), the SQL Server <see langword="DbNull" /> is returned.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The default value of the `InvokeIfReceiverIsNull` property is `false`. That is, the method is not invoked on a null instance. If `InvokeIfReceiverIsNull` is `true`, the return value of the method depends upon its type. If the return type of the method is nullable, the distinguished null value for the type is returned. If the return type is non-nullable, the default CLR value for the type is returned. The default value for reference types is `null`. The default value for a value type is the value that is returned when you call the parameterless constructor for the type.
- ]]></format>
- </remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.Server.SqlUserDefinedAggregateAttribute">
- <summary>Indicates that the type should be registered as a user-defined aggregate. The properties on the attribute reflect the physical attributes used when the type is registered with SQL Server. This class cannot be inherited.</summary><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.SqlUserDefinedAggregateAttribute.MaxByteSizeValue">
- <summary>The maximum size, in bytes, required to store the state of this aggregate instance during computation.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- An <xref:System.Int32> value representing the maximum size of the aggregate instance.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlUserDefinedAggregateAttribute.#ctor(Microsoft.Data.SqlClient.Server.Format)">
- <param name="format">One of the <see cref="T:Microsoft.Data.SqlClient.Server.Format" /> values representing the serialization format of the aggregate.</param><summary>A required attribute on a user-defined aggregate, used to indicate that the given type is a user-defined aggregate and the storage format of the user-defined aggregate.</summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlUserDefinedAggregateAttribute.MaxByteSize">
- <summary>The maximum size, in bytes, of the aggregate instance.</summary><value>An <see cref="T:System.Int32" /> value representing the maximum size of the aggregate instance.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This property does not have to be specified for Native format serialization.
- You must specify the <xref:Microsoft.Data.SqlClient.Server.SqlUserDefinedAggregateAttribute.MaxByteSize%2A> property with the UserDefined serialization <xref:Microsoft.Data.SqlClient.Server.Format>.
- The maximum allowed value for this property is specified by the <xref:Microsoft.Data.SqlClient.Server.SqlUserDefinedAggregateAttribute.MaxByteSizeValue> field.
- The maximum size allowed is 2 gigabytes (GB). You can specify a number from 1 to 8000 bytes, or -1 to represent a value larger than 8000 bytes, up to 2 gigabytes.
- For an aggregate with user-defined serialization specified, <xref:Microsoft.Data.SqlClient.Server.SqlUserDefinedAggregateAttribute.MaxByteSize%2A> refers to the total size of the serialized data. Consider an aggregate serializing a string of 10 characters (<xref:System.Char>). When the string is serialized using a <xref:System.IO.BinaryWriter>, the total size of the serialized string is 22 bytes: 2 bytes per Unicode UTF-16 character, multiplied by the maximum number of characters, plus 2 control bytes of overhead incurred from serializing a binary stream. So, when determining the value of <xref:Microsoft.Data.SqlClient.Server.SqlUserDefinedAggregateAttribute.MaxByteSize%2A>, the total size of the serialized data must be considered: the size of the data serialized in binary form plus the overhead incurred by serialization.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlUserDefinedAggregateAttribute.IsInvariantToDuplicates">
- <summary>Indicates whether the aggregate is invariant to duplicates.</summary><value> <see langword="true" /> if the aggregate is invariant to duplicates; otherwise <see langword="false" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Used by the query processor, this property is `true` if the aggregate is invariant to duplicates. That is, the aggregate of S, {X} is the same as aggregate of S when X is already in S. For example, aggregate functions such as MIN and MAX satisfy this property, while SUM does not.
- Incorrectly setting this property can result in incorrect query results. This property is not an optimizer hint; it affects both the plan selected and the results returned by the query.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlUserDefinedAggregateAttribute.IsInvariantToNulls">
- <summary>Indicates whether the aggregate is invariant to nulls.</summary><value> <see langword="true" /> if the aggregate is invariant to nulls; otherwise <see langword="false" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Used by the query processor, this property is `true` if the aggregate is invariant to nulls. That is, the aggregate of S, {NULL} is the same as aggregate of S. For example, aggregate functions such as MIN and MAX satisfy this property, while COUNT(*) does not.
- Incorrectly setting this property can result in incorrect query results. This property is not an optimizer hint; it affects the plan selected and the results returned by the query.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlUserDefinedAggregateAttribute.IsInvariantToOrder">
- <summary>Indicates whether the aggregate is invariant to order.</summary><value> <see langword="true" /> if the aggregate is invariant to order; otherwise <see langword="false" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Reserved for future use. This property is not currently used by the query processor: order is currently not guaranteed.
- Incorrectly setting this property can result in incorrect query results. This property is not an optimizer hint; it affects the plan selected and the results returned by the query.
- The default value for this property is `false`.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlUserDefinedAggregateAttribute.IsNullIfEmpty">
- <summary>Indicates whether the aggregate returns <see langword="null" /> if no values have been accumulated.</summary><value> <see langword="true" /> if the aggregate returns <see langword="null" /> if no values have been accumulated; otherwise <see langword="false" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Used by the query processor, this property is `true` if the aggregate returns `null` if no values have been accumulated.
- Incorrectly setting this property can result in incorrect query results. This property is not an optimizer hint; it affects the plan selected and the results returned by the query.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlUserDefinedAggregateAttribute.Format">
- <summary>The serialization format as a <see cref="T:Microsoft.Data.SqlClient.Server.Format" />.</summary><value>A <see cref="T:Microsoft.Data.SqlClient.Server.Format" /> representing the serialization format.</value><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlUserDefinedAggregateAttribute.Name">
- <summary>The name of the aggregate.</summary><value>A <see cref="T:System.String" /> value representing the name of the aggregate.</value>
- </member>
- <member name="T:Microsoft.Data.SqlClient.Server.Format">
- <summary>Used by <see cref="T:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute" /> and <see cref="T:Microsoft.Data.SqlClient.Server.SqlUserDefinedAggregateAttribute" /> to indicate the serialization format of a user-defined type (UDT) or aggregate.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This enumeration is used by <xref:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute> and <xref:Microsoft.Data.SqlClient.Server.SqlUserDefinedAggregateAttribute> to indicate the serialization format of a user-defined type (UDT) or aggregate. Use of the `Native` and `UserDefined` enumeration members has special requirements.
- - `Format.Native`
- The requirements for the `Format.Native` format are:
-
- - The <xref:System.Runtime.InteropServices.StructLayoutAttribute> with a <xref:System.Runtime.InteropServices.StructLayoutAttribute.Value> property value of <xref:System.Runtime.InteropServices.LayoutKind.Sequential?displayProperty=nameWithType> must be applied to the aggregate or UDT if it is defined in a class and not a structure. This controls the physical layout of the data fields and is used to force the members to be laid out sequentially in the order they appear. SQL Server uses this attribute to determine the field order for UDTs with multiple fields.
-
- - The type must contain at least one member (serialized values cannot be zero bytes in size).
-
- - All the fields of the aggregate must be *blittable*; that is, they must have a common representation in both managed and unmanaged memory and not require special handling by the interop marshaler.
-
- - All the fields of the UDT should be of one of the following types that can be serialized: `bool`, `byte`, `sbyte`, `short`, `ushort`, `int`, `uint`, `long`, `ulong`, `float`, `double`, <xref:System.Data.SqlTypes.SqlByte>, <xref:System.Data.SqlTypes.SqlInt16>, <xref:System.Data.SqlTypes.SqlInt32>, <xref:System.Data.SqlTypes.SqlInt64>, <xref:System.Data.SqlTypes.SqlDateTime>, <xref:System.Data.SqlTypes.SqlSingle>, <xref:System.Data.SqlTypes.SqlDouble>, <xref:System.Data.SqlTypes.SqlMoney>, or other value types defined by the user that contain fields of one of these types.
- - The aggregate must not specify a value for `MaxByteSize`.
-
- - The aggregate must not have any [NonSerialized] fields.
-
- - Fields must not be marked as an explicit layout (with a <xref:System.Runtime.InteropServices.StructLayoutAttribute.Value?displayProperty=nameWithType> of <xref:System.Runtime.InteropServices.LayoutKind.Explicit?displayProperty=nameWithType>).
- - `Format.UserDefined`
- The requirements for the `Format.UserDefined` format are:
- - The aggregate must specify a value for `MaxByteSize`.
-
- - Specify the <xref:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute.IsByteOrdered%2A?displayProperty=nameWithType> attribute property. The default value is `false`.
-
- - If you omit any field in the <xref:Microsoft.Data.SqlClient.Server.IBinarySerialize.Read%2A?displayProperty=nameWithType> or <xref:Microsoft.Data.SqlClient.Server.IBinarySerialize.Write%2A?displayProperty=nameWithType> methods, the state of that field is not serialized.
- ## Examples
- The following example shows the `UserDefinedType` attribute of the Point UDT. The UDT is byte-ordered, is named "Point", has a validation method named "ValidatePoint", and uses the native serialization format.
-
- [!code-csharp[SqlUserDefinedType Example#1](~/../sqlclient/doc/samples/SqlUserDefinedType.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.Format.Unknown">
- <summary>The serialization format is unknown.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.Format.Native">
- <summary>This serialization format uses a very simple algorithm that enables SQL Server to store an efficient representation of the UDT on disk. Types marked for <see langword="Native" /> serialization can only have value types (structs in Microsoft Visual C# and structures in Microsoft Visual Basic .NET) as members. Members of reference types (such as classes in Visual C# and Visual Basic), either user-defined or those existing in .NET class libraries (such as <see cref="T:System.String" />), are not supported.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.Format.UserDefined">
- <summary>This serialization format gives the developer full control over the binary format through the <see cref="M:Microsoft.Data.SqlClient.Server.IBinarySerialize.Write(System.IO.BinaryWriter)" /> and <see cref="M:Microsoft.Data.SqlClient.Server.IBinarySerialize.Read(System.IO.BinaryReader)" /> methods.</summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute">
- <summary>Used to mark a type definition in an assembly as a user-defined type (UDT) in SQL Server. The properties on the attribute reflect the physical characteristics used when the type is registered with SQL Server. This class cannot be inherited.</summary><remarks>
- <format type="text/markdown">< for more information about UDTs, including an example of a UDT.
- ## Examples
- The following example shows the `UserDefinedType` attribute of the Point UDT. The UDT is byte-ordered, is named "Point", has a validation method named "ValidatePoint", and uses the native serialization format.
- [!code-csharp[SqlUserDefinedType Example#1](~/../sqlclient/doc/samples/SqlUserDefinedType.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute.#ctor(Microsoft.Data.SqlClient.Server.Format)">
- <param name="format">One of the <see cref="T:Microsoft.Data.SqlClient.Server.Format" /> values representing the serialization format of the type.</param><summary>A required attribute on a user-defined type (UDT), used to confirm that the given type is a UDT and to indicate the storage format of the UDT.</summary><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute.MaxByteSize">
- <summary>The maximum size of the instance, in bytes.</summary><value>An <see cref="T:System.Int32" /> value representing the maximum size of the instance.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- You must specify the <xref:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute.MaxByteSize%2A> property with the `UserDefined` serialization <xref:Microsoft.Data.SqlClient.Server.Format>.
- When connecting to SQL Server 2005 or earlier, <xref:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute.MaxByteSize%2A> must be between 1 and 8000.
- When connecting to SQL Server 2008 or later, set <xref:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute.MaxByteSize%2A> between 1 and 8000, for a type whose instances are always 8,000 bytes or less. For types that can have instances larger than 8000, specify -1.
- For a UDT with user-defined serialization specified, <xref:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute.MaxByteSize%2A> refers to the total size of the UDT in its serialized form as defined by the user. Consider a UDT with a property of a string of 10 characters (<xref:System.Char>). When the UDT is serialized using a <xref:System.IO.BinaryWriter>, the total size of the serialized string is 22 bytes: 2 bytes per Unicode UTF-16 character, multiplied by the maximum number of characters, plus 2 control bytes of overhead incurred from serializing a binary stream. So, when determining the value of <xref:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute.MaxByteSize%2A>, the total size of the serialized UDT must be considered: the size of the data serialized in binary form plus the overhead incurred by serialization.
- This property should not be used with `Native` serialization <xref:Microsoft.Data.SqlClient.Server.Format>.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute.IsFixedLength">
- <summary>Indicates whether all instances of this user-defined type are the same length.</summary><value>
- <see langword="true" /> if all instances of this type are the same length; otherwise <see langword="false" />.
- </value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- If set to `true`, all instances of UDTs corresponding to this common language runtime (CLR) type must have a length in bytes exactly equal to <xref:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute.MaxByteSize%2A>. This attribute is only relevant for UDTs with `UserDefined` serialization <xref:Microsoft.Data.SqlClient.Server.Format>.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute.IsByteOrdered">
- <summary>Indicates whether the user-defined type is byte ordered.</summary><value>
- <see langword="true" /> if the user-defined type is byte ordered; otherwise <see langword="false" /> .</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- When set to `true`, the <xref:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute.IsByteOrdered%2A> property in effect guarantees that the serialized binary data can be used for semantic ordering of the information. Thus, each instance of a byte-ordered UDT object can only have one serialized representation. When a comparison operation is performed in SQL Server on the serialized bytes, its results should be the same as if the same comparison operation had taken place in managed code.
- The following features are supported when <xref:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute.IsByteOrdered%2A> is set to `true`:
- - The ability to create indexes on columns of this type.
- - The ability to create primary and foreign keys as well as CHECK and UNIQUE constraints on columns of this type.
- - The ability to use Transact-SQL ORDER BY, GROUP BY, and PARTITION BY clauses. In these cases, the binary representation of the type is used to determine the order.
- - The ability to use comparison operators in Transact-SQL statements.
- - The ability to persist computed columns of this type.
- Note that both the `Native` and `UserDefined` serialization formats support the following comparison operators when <xref:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute.IsByteOrdered%2A> is set to `true`:
- - Equal to (=)
- - Not equal to (!=)
- - Greater than (>)
- - Less than (\<)
- - Greater than or equal to (>=)
- - Less than or equal to (<=)
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute.Format">
- <summary>The serialization format as a <see cref="T:Microsoft.Data.SqlClient.Server.Format" /> .</summary><value>A <see cref="T:Microsoft.Data.SqlClient.Server.Format" /> value representing the serialization format.</value>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute.ValidationMethodName">
- <summary>The name of the method used to validate instances of the user-defined type.</summary><value>A <see cref="T:System.String" /> representing the name of the method used to validate instances of the user-defined type.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The method specified by this attribute validates instances of the UDT when the UDT has been deserialized from a binary value that is not trusted.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute.Name">
- <summary>The SQL Server name of the user-defined type.</summary><value>A <see cref="T:System.String" /> value representing the SQL Server name of the user-defined type.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.Server.SqlUserDefinedTypeAttribute.Name%2A> property is not used within SQL Server, but is used by the Microsoft Visual Studio .NET Integrated Development Environment (IDE).
- ]]></format>
- </remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.Server.TriggerAction">
- <summary>The <see cref="T:Microsoft.Data.SqlClient.Server.TriggerAction" /> enumeration is used by the <see cref="T:Microsoft.SqlServer.Server.SqlTriggerContext" /> class to indicate what action fired the trigger.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.Server.TriggerAction> enumeration is used by the <xref:Microsoft.SqlServer.Server.SqlTriggerContext> class to indicate what action fired the trigger.
-
- ]]></format>
- </remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.Invalid">
- <summary>An invalid trigger action, one that is not exposed to the user, occurred.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.Insert">
- <summary>An INSERT Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.Update">
- <summary>An UPDATE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.Delete">
- <summary>A DELETE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateTable">
- <summary>A CREATE TABLE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.AlterTable">
- <summary>An ALTER TABLE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropTable">
- <summary>A DROP TABLE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateIndex">
- <summary>A CREATE INDEX Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.AlterIndex">
- <summary>An ALTER INDEX Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropIndex">
- <summary>A DROP INDEX Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateSynonym">
- <summary>A CREATE SYNONYM Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropSynonym">
- <summary>A DROP SYNONYM Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateSecurityExpression">
- <summary>Not available.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropSecurityExpression">
- <summary>Not available.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateView">
- <summary>A CREATE VIEW Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.AlterView">
- <summary>An ALTER VIEW Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropView">
- <summary>A DROP VIEW Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateProcedure">
- <summary>A CREATE PROCEDURE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.AlterProcedure">
- <summary>An ALTER PROCEDURE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropProcedure">
- <summary>A DROP PROCEDURE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateFunction">
- <summary>A CREATE FUNCTION Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.AlterFunction">
- <summary>An ALTER FUNCTION Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropFunction">
- <summary>A DROP FUNCTION Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateTrigger">
- <summary>A CREATE TRIGGER Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.AlterTrigger">
- <summary>An ALTER TRIGGER Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropTrigger">
- <summary>A DROP TRIGGER Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateEventNotification">
- <summary>A CREATE EVENT NOTIFICATION Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropEventNotification">
- <summary>A DROP EVENT NOTIFICATION Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateType">
- <summary>A CREATE TYPE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropType">
- <summary>A DROP TYPE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateAssembly">
- <summary>A CREATE ASSEMBLY Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.AlterAssembly">
- <summary>An ALTER ASSEMBLY Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropAssembly">
- <summary>A DROP ASSEMBLY Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateUser">
- <summary>A CREATE USER Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.AlterUser">
- <summary>An ALTER USER Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropUser">
- <summary>A DROP USER Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateRole">
- <summary>A CREATE ROLE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.AlterRole">
- <summary>An ALTER ROLE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropRole">
- <summary>A DROP ROLE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateAppRole">
- <summary>A CREATE APPLICATION ROLE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.AlterAppRole">
- <summary>An ALTER APPLICATION ROLE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropAppRole">
- <summary>A DROP APPLICATION ROLE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateSchema">
- <summary>A CREATE SCHEMA Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.AlterSchema">
- <summary>An ALTER SCHEMA Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropSchema">
- <summary>A DROP SCHEMA Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateLogin">
- <summary>A CREATE LOGIN Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.AlterLogin">
- <summary>An ALTER LOGIN Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropLogin">
- <summary>A DROP LOGIN Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateMsgType">
- <summary>A CREATE MESSAGE TYPE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropMsgType">
- <summary>A DROP MESSAGE TYPE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateContract">
- <summary>A CREATE CONTRACT Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropContract">
- <summary>A DROP CONTRACT Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateQueue">
- <summary>A CREATE QUEUE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.AlterQueue">
- <summary>An ALTER QUEUE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropQueue">
- <summary>A DROP QUEUE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateService">
- <summary>A CREATE SERVICE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.AlterService">
- <summary>An ALTER SERVICE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropService">
- <summary>A DROP SERVICE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateRoute">
- <summary>A CREATE ROUTE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.AlterRoute">
- <summary>An ALTER ROUTE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropRoute">
- <summary>A DROP ROUTE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.GrantStatement">
- <summary>A GRANT Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DenyStatement">
- <summary>A DENY Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.RevokeStatement">
- <summary>A REVOKE Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.GrantObject">
- <summary>A GRANT OBJECT Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DenyObject">
- <summary>A DENY Object Permissions Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.RevokeObject">
- <summary>A REVOKE OBJECT Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreateBinding">
- <summary>A CREATE_REMOTE_SERVICE_BINDING event type was specified when an event notification was created on the database or server instance.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.AlterBinding">
- <summary>An ALTER_REMOTE_SERVICE_BINDING event type was specified when an event notification was created on the database or server instance.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropBinding">
- <summary>A DROP_REMOTE_SERVICE_BINDING event type was specified when an event notification was created on the database or server instance.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreatePartitionFunction">
- <summary>A CREATE PARTITION FUNCTION Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.AlterPartitionFunction">
- <summary>An ALTER PARTITION FUNCTION Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropPartitionFunction">
- <summary>A DROP PARTITION FUNCTION Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.CreatePartitionScheme">
- <summary>A CREATE PARTITION SCHEME Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.AlterPartitionScheme">
- <summary>An ALTER PARTITION SCHEME Transact-SQL statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.Server.TriggerAction.DropPartitionScheme">
- <summary>A DROP PARTITION SCHEME Transact-SQL statement was executed.</summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SortOrder">
- <summary>
- Specifies how rows of data are sorted.
- </summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SortOrder.Unspecified">
- <summary>The default. No sort order is specified.</summary><value>-1</value><returns>-1</returns>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SortOrder.Ascending">
- <summary>Rows are sorted in ascending order.</summary><value>0</value><returns>0</returns>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SortOrder.Descending">
- <summary>Rows are sorted in descending order.</summary><value>1</value><returns>1</returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlRowsCopiedEventArgs">
- <summary>Represents the set of arguments passed to the <see cref="T:Microsoft.Data.SqlClient.SqlRowsCopiedEventHandler" />.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlRowsCopiedEventArgs.#ctor(System.Int64)">
- <param name="rowsCopied">An <see cref="T:System.Int64" /> that indicates the number of rows copied during the current bulk copy operation.</param><summary>Creates a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlRowsCopiedEventArgs" /> object.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The value in the `rowsCopied` parameter is reset on each call to any one of the `SqlBulkCopy.WriteToServer` methods.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlRowsCopiedEventArgs.Abort">
- <summary>Gets or sets a value that indicates whether the bulk copy operation should be aborted.</summary><value>
- <see langword="true" /> if the bulk copy operation should be aborted; otherwise <see langword="false" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Use the <xref:Microsoft.Data.SqlClient.SqlRowsCopiedEventArgs.Abort%2A> property to cancel a bulk copy operation. Set <xref:Microsoft.Data.SqlClient.SqlRowsCopiedEventArgs.Abort%2A> to `true` to abort the bulk copy operation.
-
- If you call the **Close** method from <xref:Microsoft.Data.SqlClient.SqlBulkCopy.SqlRowsCopied>, an exception is generated, and the <xref:Microsoft.Data.SqlClient.SqlBulkCopy> object state does not change.
-
- If an application specifically creates a <xref:Microsoft.Data.SqlClient.SqlTransaction> object in the <xref:Microsoft.Data.SqlClient.SqlCommand> constructor, the transaction is not rolled back. The application is responsible for determining whether it is required to rollback the operation, and if so, it must call the <xref:Microsoft.Data.SqlClient.SqlTransaction.Rollback%2A?displayProperty=nameWithType> method. If the application does not create a transaction, the internal transaction corresponding to the current batch is automatically rolled back. However, changes related to previous batches within the bulk copy operation are retained, because the transactions for them already have been committed.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlRowsCopiedEventArgs.RowsCopied">
- <summary>Gets a value that returns the number of rows copied during the current bulk copy operation.</summary><value>
- <see langword="int" /> that returns the number of rows copied.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The value in the <xref:Microsoft.Data.SqlClient.SqlRowsCopiedEventArgs.RowsCopied%2A> property is reset on each call to any of the `SqlBulkCopy.WriteToServer` methods.
-
- ]]></format>
- </remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlRowsCopiedEventHandler">
- <param name="sender">The source of the event.</param><param name="e">A <see cref="T:Microsoft.Data.SqlClient.SqlRowsCopiedEventArgs" /> object that contains the event data.</param><summary>Represents the method that handles the <see cref="E:Microsoft.Data.SqlClient.SqlBulkCopy.SqlRowsCopied" /> event of a <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />.</summary><remarks>To be added.</remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.ColumnMasterKeyMetadataSignatureVerificationCache">
- <summary>
- Cache for storing result of signature verfication of CMK Metadata
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.ColumnMasterKeyMetadataSignatureVerificationCache.GetSignatureVerificationResult(System.String,System.String,System.Boolean,System.Byte[])">
- <summary>
- Get signature verification result for given CMK metadata (KeystoreName, MasterKeyPath, allowEnclaveComputations) and a given signature
- </summary>
- <param name="keyStoreName">Key Store name for CMK</param>
- <param name="masterKeyPath">Key Path for CMK</param>
- <param name="allowEnclaveComputations">boolean indicating whether the key can be sent to enclave</param>
- <param name="signature">Signature for the CMK metadata</param>
- <returns>null if the data is not found in cache otherwise returns true/false indicating signature verification success/failure</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.ColumnMasterKeyMetadataSignatureVerificationCache.AddSignatureVerificationResult(System.String,System.String,System.Boolean,System.Byte[],System.Boolean)">
- <summary>
- Add signature verification result for given CMK metadata (KeystoreName, MasterKeyPath, allowEnclaveComputations) and a given signature in the cache
- </summary>
- <param name="keyStoreName">Key Store name for CMK</param>
- <param name="masterKeyPath">Key Path for CMK</param>
- <param name="allowEnclaveComputations">boolean indicating whether the key can be sent to enclave</param>
- <param name="signature">Signature for the CMK metadata</param>
- <param name="result">result indicating signature verification success/failure</param>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm">
- <summary>
- This class implements authenticated encryption algorithm with associated data as described in
- http://tools.ietf.org/html/draft-mcgrew-aead-aes-cbc-hmac-sha2-05. More specifically this implements
- AEAD_AES_256_CBC_HMAC_SHA256 algorithm.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm.AlgorithmName">
- <summary>
- Algorithm Name
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm._KeySizeInBytes">
- <summary>
- Key size in bytes
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm._BlockSizeInBytes">
- <summary>
- Block size in bytes. AES uses 16 byte blocks.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm._MinimumCipherTextLengthInBytesNoAuthenticationTag">
- <summary>
- Minimum Length of cipherText without authentication tag. This value is 1 (version byte) + 16 (IV) + 16 (minimum of 1 block of cipher Text)
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm._MinimumCipherTextLengthInBytesWithAuthenticationTag">
- <summary>
- Minimum Length of cipherText. This value is 1 (version byte) + 32 (authentication tag) + 16 (IV) + 16 (minimum of 1 block of cipher Text)
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm._cipherMode">
- <summary>
- Cipher Mode. For this algorithm, we only use CBC mode.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm._paddingMode">
- <summary>
- Padding mode. This algorithm uses PKCS7.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm._isDeterministic">
- <summary>
- Variable indicating whether this algorithm should work in Deterministic mode or Randomized mode.
- For deterministic encryption, we derive an IV from the plaintext data.
- For randomized encryption, we generate a cryptographically random IV.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm._algorithmVersion">
- <summary>
- Algorithm Version.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm._columnEncryptionKey">
- <summary>
- Column Encryption Key. This has a root key and three derived keys.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm._cryptoProviderPool">
- <summary>
- The pool of crypto providers to use for encrypt/decrypt operations.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm._version">
- <summary>
- Byte array with algorithm version used for authentication tag computation.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm._versionSize">
- <summary>
- Byte array with algorithm version size used for authentication tag computation.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm.#ctor(Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256EncryptionKey,Microsoft.Data.SqlClient.SqlClientEncryptionType,System.Byte)">
- <summary>
- Initializes a new instance of SqlAeadAes256CbcHmac256Algorithm algorithm with a given key and encryption type
- </summary>
- <param name="encryptionKey">
- Root encryption key from which three other keys will be derived
- </param>
- <param name="encryptionType">Encryption Type, accepted values are Deterministic and Randomized.
- For Deterministic encryption, a synthetic IV will be genenrated during encryption
- For Randomized encryption, a random IV will be generated during encryption.
- </param>
- <param name="algorithmVersion">
- Algorithm version
- </param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm.EncryptData(System.Byte[])">
- <summary>
- Encryption Algorithm
- cell_iv = HMAC_SHA-2-256(iv_key, cell_data) truncated to 128 bits
- cell_ciphertext = AES-CBC-256(enc_key, cell_iv, cell_data) with PKCS7 padding.
- cell_tag = HMAC_SHA-2-256(mac_key, versionbyte + cell_iv + cell_ciphertext + versionbyte_length)
- cell_blob = versionbyte + cell_tag + cell_iv + cell_ciphertext
- </summary>
- <param name="plainText">Plaintext data to be encrypted</param>
- <returns>Returns the ciphertext corresponding to the plaintext.</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm.EncryptData(System.Byte[],System.Boolean)">
- <summary>
- Encryption Algorithm
- cell_iv = HMAC_SHA-2-256(iv_key, cell_data) truncated to 128 bits
- cell_ciphertext = AES-CBC-256(enc_key, cell_iv, cell_data) with PKCS7 padding.
- (optional) cell_tag = HMAC_SHA-2-256(mac_key, versionbyte + cell_iv + cell_ciphertext + versionbyte_length)
- cell_blob = versionbyte + [cell_tag] + cell_iv + cell_ciphertext
- </summary>
- <param name="plainText">Plaintext data to be encrypted</param>
- <param name="hasAuthenticationTag">Does the algorithm require authentication tag.</param>
- <returns>Returns the ciphertext corresponding to the plaintext.</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm.DecryptData(System.Byte[])">
- <summary>
- Decryption steps
- 1. Validate version byte
- 2. Validate Authentication tag
- 3. Decrypt the message
- </summary>
- <param name="cipherText"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm.DecryptData(System.Byte[],System.Boolean)">
- <summary>
- Decryption steps
- 1. Validate version byte
- 2. (optional) Validate Authentication tag
- 3. Decrypt the message
- </summary>
- <param name="cipherText"></param>
- <param name="hasAuthenticationTag"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm.DecryptData(System.Byte[],System.Byte[],System.Int32,System.Int32)">
- <summary>
- Decrypts plain text data using AES in CBC mode
- </summary>
- <param name="cipherText"> cipher text data to be decrypted</param>
- <param name="iv">IV to be used for decryption</param>
- <param name="offset"></param>
- <param name="count"></param>
- <returns>Returns decrypted plain text data</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Algorithm.PrepareAuthenticationTag(System.Byte[],System.Byte[],System.Int32,System.Int32)">
- <summary>
- Prepares an authentication tag.
- Authentication Tag = HMAC_SHA-2-256(mac_key, versionbyte + cell_iv + cell_ciphertext + versionbyte_length)
- </summary>
- <param name="iv"></param>
- <param name="cipherText"></param>
- <param name="offset"></param>
- <param name="length"></param>
- <returns></returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256EncryptionKey">
- <summary>
- Encryption key class containing 4 keys. This class is used by SqlAeadAes256CbcHmac256Algorithm and SqlAes256CbcAlgorithm
- 1) root key - Main key that is used to derive the keys used in the encryption algorithm
- 2) encryption key - A derived key that is used to encrypt the plain text and generate cipher text
- 3) mac_key - A derived key that is used to compute HMAC of the cipher text
- 4) iv_key - A derived key that is used to generate a synthetic IV from plain text data.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256EncryptionKey.KeySize">
- <summary>
- Key size in bits
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256EncryptionKey._encryptionKeySaltFormat">
- <summary>
- Encryption Key Salt format. This is used to derive the encryption key from the root key.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256EncryptionKey._macKeySaltFormat">
- <summary>
- MAC Key Salt format. This is used to derive the MAC key from the root key.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256EncryptionKey._ivKeySaltFormat">
- <summary>
- IV Key Salt format. This is used to derive the IV key from the root key. This is only used for Deterministic encryption.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256EncryptionKey._encryptionKey">
- <summary>
- Encryption Key
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256EncryptionKey._macKey">
- <summary>
- MAC key
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256EncryptionKey._ivKey">
- <summary>
- IV Key
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256EncryptionKey._algorithmName">
- <summary>
- The name of the algorithm this key will be used with.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256EncryptionKey.#ctor(System.Byte[],System.String)">
- <summary>
- Derives all the required keys from the given root key
- </summary>
- <param name="rootKey">Root key used to derive all the required derived keys</param>
- <param name="algorithmName"></param>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256EncryptionKey.EncryptionKey">
- <summary>
- Encryption key should be used for encryption and decryption
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256EncryptionKey.MACKey">
- <summary>
- MAC key should be used to compute and validate HMAC
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256EncryptionKey.IVKey">
- <summary>
- IV key should be used to compute synthetic IV from a given plain text
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Factory">
- <summary>
- This is a factory class for AEAD_AES_256_CBC_HMAC_SHA256
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Factory._encryptionAlgorithms">
- <summary>
- Factory classes caches the SqlAeadAes256CbcHmac256EncryptionKey objects to avoid computation of the derived keys
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256Factory.Create(Microsoft.Data.SqlClient.SqlClientSymmetricKey,Microsoft.Data.SqlClient.SqlClientEncryptionType,System.String)">
- <summary>
- Creates an instance of AeadAes256CbcHmac256Algorithm class with a given key
- </summary>
- <param name="encryptionKey">Root key</param>
- <param name="encryptionType">Encryption Type. Expected values are either Determinitic or Randomized.</param>
- <param name="encryptionAlgorithm">Encryption Algorithm.</param>
- <returns></returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlAes256CbcAlgorithm">
- <summary>
- This class implements AES_256_CBC algorithm.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAes256CbcAlgorithm.AlgorithmName">
- <summary>
- Algorithm Name
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAes256CbcAlgorithm.#ctor(Microsoft.Data.SqlClient.SqlAeadAes256CbcHmac256EncryptionKey,Microsoft.Data.SqlClient.SqlClientEncryptionType,System.Byte)">
- <summary>
- Initializes a new instance of SqlAes256CbcAlgorithm algorithm with a given key and encryption type
- </summary>
- <param name="encryptionKey">
- Root encryption key from which three other keys will be derived
- </param>
- <param name="encryptionType">Encryption Type, accepted values are Deterministic and Randomized.
- For Deterministic encryption, a synthetic IV will be genenrated during encryption
- For Randomized encryption, a random IV will be generated during encryption.
- </param>
- <param name="algorithmVersion">
- Algorithm version
- </param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAes256CbcAlgorithm.EncryptData(System.Byte[])">
- <summary>
- Encryption Algorithm
- Simply call the base class, indicating we don't need an authentication tag.
- </summary>
- <param name="plainText">Plaintext data to be encrypted</param>
- <returns>Returns the ciphertext corresponding to the plaintext.</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAes256CbcAlgorithm.DecryptData(System.Byte[])">
- <summary>
- Decryption Algorithm
- Simply call the base class, indicating we don't have an authentication tag.
- </summary>
- <param name="cipherText"></param>
- <returns></returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlAes256CbcFactory">
- <summary>
- This is a factory class for AES_256_CBC.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAes256CbcFactory._encryptionAlgorithms">
- <summary>
- Factory classes caches the SqlAeadAes256CbcHmac256EncryptionKey objects to avoid computation of the derived keys
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAes256CbcFactory.Create(Microsoft.Data.SqlClient.SqlClientSymmetricKey,Microsoft.Data.SqlClient.SqlClientEncryptionType,System.String)">
- <summary>
- Creates an instance of SqlAes256CbcAlgorithm class with a given key
- </summary>
- <param name="encryptionKey">Root key</param>
- <param name="encryptionType">Encryption Type. Expected values are either Determinitic or Randomized.</param>
- <param name="encryptionAlgorithm">Encryption Algorithm.</param>
- <returns></returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlAuthenticationParameters">
- <summary>Represents AD authentication parameters passed by a driver to authentication providers.</summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlAuthenticationParameters.AuthenticationMethod">
- <summary>Gets the authentication method.</summary><value>The authentication method.</value>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlAuthenticationParameters.Resource">
- <summary>The resource URIs.</summary><value>The resource URI.</value>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlAuthenticationParameters.Authority">
- <summary>Gets the authority URI.</summary><value>The authority URI.</value>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlAuthenticationParameters.UserId">
- <summary>Gets the user login name/ID.</summary><value>The user login name/ID.</value>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlAuthenticationParameters.Password">
- <summary>Gets the user password.</summary><value>The user password.</value>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlAuthenticationParameters.ConnectionId">
- <summary>Gets the connection ID.</summary><value>The connection ID.</value>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlAuthenticationParameters.ServerName">
- <summary>Gets the server name.</summary><value>The server name.</value>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlAuthenticationParameters.DatabaseName">
- <summary>Gets the database name.</summary><value>The database name.</value>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationParameters.#ctor(Microsoft.Data.SqlClient.SqlAuthenticationMethod,System.String,System.String,System.String,System.String,System.String,System.String,System.Guid)">
- <param name="authenticationMethod">One of the enumeration values that specifies the authentication method.</param><param name="serverName">The server name.</param><param name="databaseName">The database name.</param><param name="resource">The resource URI.</param><param name="authority">The authority URI.</param><param name="userId">The user login name/ID.</param><param name="password">The user password.</param><param name="connectionId">The connection ID.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlAuthenticationParameters" />
- class using the specified authentication method, server name, database name, resource URI, authority URI, user login name/ID, user password and connection ID.</summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlAuthenticationParameters.Builder">
- <summary>
- AD authentication parameter builder.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationParameters.Builder.op_Implicit(Microsoft.Data.SqlClient.SqlAuthenticationParameters.Builder)~Microsoft.Data.SqlClient.SqlAuthenticationParameters">
- <summary>
- Implicitly converts to <see cref="T:Microsoft.Data.SqlClient.SqlAuthenticationParameters"/>.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationParameters.Builder.WithUserId(System.String)">
- <summary>
- Set user id.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationParameters.Builder.WithPassword(System.String)">
- <summary>
- Set password.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationParameters.Builder.WithPassword(System.Security.SecureString)">
- <summary>
- Set password.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationParameters.Builder.WithConnectionId(System.Guid)">
- <summary>
- Set a specific connection id instead of using a random one.
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlAuthenticationProvider">
- <summary>Defines the core behavior of authentication providers and provides a base class for derived classes. </summary><remarks>Derived classes must provide a parameterless constructor if they can be instantiated from the app.config file.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationProvider.GetProvider(Microsoft.Data.SqlClient.SqlAuthenticationMethod)">
- <param name="authenticationMethod">The authentication method.</param><summary>Gets an authentication provider by method.</summary><returns>The authentication provider or <see langword="null" /> if not found.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationProvider.SetProvider(Microsoft.Data.SqlClient.SqlAuthenticationMethod,Microsoft.Data.SqlClient.SqlAuthenticationProvider)">
- <param name="authenticationMethod">The authentication method.</param><param name="provider">The authentication provider.</param><summary>Sets an authentication provider by method.</summary><returns>
- <see langword="true" /> if the operation succeeded; otherwise, <see langword="false" /> (for example, the existing provider disallows overriding).
- </returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationProvider.BeforeLoad(Microsoft.Data.SqlClient.SqlAuthenticationMethod)">
- <param name="authenticationMethod">The authentication method.</param><summary>This method is called immediately before the provider is added to SQL drivers registry. </summary><remarks>Avoid performing long-waiting tasks in this method, since it can block other threads from accessing the provider registry.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationProvider.BeforeUnload(Microsoft.Data.SqlClient.SqlAuthenticationMethod)">
- <param name="authenticationMethod">The authentication method.</param><summary>This method is called immediately before the provider is removed from the SQL drivers registry. </summary><remarks>For example, this method is called when a different provider with the same authentication method overrides this provider in the SQL drivers registry. Avoid performing long-waiting task in this method, since it can block other threads from accessing the provider registry.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationProvider.IsSupported(Microsoft.Data.SqlClient.SqlAuthenticationMethod)">
- <param name="authenticationMethod">The authentication method.</param><summary>Indicates whether the specified authentication method is supported.</summary><returns>
- <see langword="true" /> if the specified authentication method is supported; otherwise, <see langword="false" />.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationProvider.AcquireTokenAsync(Microsoft.Data.SqlClient.SqlAuthenticationParameters)">
- <param name="parameters">The Active Directory authentication parameters passed by the driver to authentication providers.</param><summary>Acquires a security token from the authority.</summary><returns>Represents an asynchronous operation that returns the AD authentication token.</returns><remarks>To be added.</remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlAuthenticationProviderManager">
- <summary>
- Authentication provider manager.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationProviderManager.#ctor(Microsoft.Data.SqlClient.SqlAuthenticationProviderConfigurationSection)">
- <summary>
- Constructor.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationProviderManager.GetProvider(Microsoft.Data.SqlClient.SqlAuthenticationMethod)">
- <summary>
- Get an authentication provider by method.
- </summary>
- <param name="authenticationMethod">Authentication method.</param>
- <returns>Authentication provider or null if not found.</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationProviderManager.SetProvider(Microsoft.Data.SqlClient.SqlAuthenticationMethod,Microsoft.Data.SqlClient.SqlAuthenticationProvider)">
- <summary>
- Set an authentication provider by method.
- </summary>
- <param name="authenticationMethod">Authentication method.</param>
- <param name="provider">Authentication provider.</param>
- <returns>True if succeeded, false otherwise, e.g., the existing provider disallows overriding.</returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlAuthenticationProviderConfigurationSection">
- <summary>
- The configuration section definition for reading app.config.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlAuthenticationProviderConfigurationSection.Providers">
- <summary>
- User-defined auth providers.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlAuthenticationProviderConfigurationSection.InitializerType">
- <summary>
- User-defined initializer.
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlAuthenticationInitializer">
- <summary>Called from constructors in derived classes to initialize the <see cref="T:Microsoft.Data.SqlClient.SqlAuthenticationInitializer" /> class.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationInitializer.Initialize">
- <summary>When overridden in a derived class, initializes the authentication initializer. This method is called by the <see cref="M:Microsoft.Data.SqlClient.SqlAuthenticationInitializer.#ctor" /> constructor during startup.</summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlAuthenticationToken">
- <summary>Represents an AD authentication token.</summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlAuthenticationToken.ExpiresOn">
- <summary>Gets the token expiration time.</summary><value>The token expiration time.</value>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlAuthenticationToken.AccessToken">
- <summary>Gets the token string.</summary><value>The token string.</value>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationToken.#ctor(System.String,System.DateTimeOffset)">
- <param name="accessToken">The access token.</param><param name="expiresOn">The token expiration time.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlAuthenticationToken" /> class.</summary><exception cref="T:System.ArgumentNullException">The <paramref name="accessToken" />parameter is <see langword="null" />or empty.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationToken.#ctor(System.Byte[],System.DateTimeOffset)">
- <summary>
- Constructor.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationToken.ToSqlFedAuthToken">
- <summary>
- Convert to driver's internal token class.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationToken.AccessTokenStringFromBytes(System.Byte[])">
- <summary>
- Convert token bytes to string.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlAuthenticationToken.AccessTokenBytesFromString(System.String)">
- <summary>
- Convert token string to bytes.
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlBulkCopy">
- <summary>
- Lets you efficiently bulk load a SQL Server table with data from another source.
- </summary><remarks>
- <format ttype="text/markdown"><![CDATA[
- ## Remarks
- Microsoft SQL Server includes a popular command-prompt utility named **bcp** for moving data from one table to another, whether on a single server or between servers. The <see cref="Microsoft.Data.SqlClient.SqlBulkCopy"/> class lets you write managed code solutions that provide similar functionality. There are other ways to load data into a SQL Server table (INSERT statements, for example), but <see cref="Microsoft.Data.SqlClient.SqlBulkCopy"/> offers a significant performance advantage over them. The <see cref="Microsoft.Data.SqlClient.SqlBulkCopy"/> class can be used to write data only to SQL Server tables. However, the data source is not limited to SQL Server; any data source can be used, as long as the data can be loaded to a <see cref="System.Data.DataTable"/> instance or read with a <see cref="System.Data.IDataReader"/> instance. <see cref="Microsoft.Data.SqlClient.SqlBulkCopy"/> will fail when bulk loading a <see cref="System.Data.DataTable"/> column of type <see cref="System.Data.SqlTypes.SqlDateTime"/> into a SQL Server column whose type is one of the date/time types added in SQL Server 2008.
- ## Examples
- The following console application demonstrates how to load data using the <xref=Microsoft.Data.SqlClient.SqlBulkCopy> class.
- In this example, a <xref=Microsoft.Data.SqlClient.SqlDataReader> is used to copy data from the **Production.Product** table in the SQL Server **AdventureWorks** database to a similar table in the same database.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance,
- it is easier and faster to use a Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[BulkCopy.Single#1](~/../sqlclient/doc/samples/SqlBulkCopy_Single.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.#ctor(Microsoft.Data.SqlClient.SqlConnection)">
- <param name="connection">
- The already open
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- instance that will be used to perform the bulk copy operation. If your connection string does not use
- <see langword="Integrated Security = true" />
- , you can use
- <see cref="T:Microsoft.Data.SqlClient.SqlCredential" />
- to pass the user ID and password more securely than by specifying the user ID and password as text in the connection string.
- </param><summary>
- Initializes a new instance of the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- class using the specified open instance of
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- .
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Because the connection is already open when the <xref:Microsoft.Data.SqlClient.SqlBulkCopy> instance is initialized, the connection remains open after the <xref:Microsoft.Data.SqlClient.SqlBulkCopy> instance is closed.
- If the `connection` argument is null, an <xref:System.ArgumentNullException> is thrown.
-
- ## Examples
- The following console application demonstrates how to bulk load data using a connection that is already open. In this example, a <xref:Microsoft.Data.SqlClient.SqlDataReader>
- is used to copy data from the **Production.Product** table in the SQL Server **AdventureWorks** database to a similar table in the same database. This example is for demonstration
- purposes only. You would not use `SqlBulkCopy` to move data from one table to another in the same database in a production application.
- Note that the source data does not have to be located on SQL Server; you can use any data source that can be read to an <xref:System.Data.IDataReader> or loaded to a
- <xref:System.Data.DataTable>.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a
- Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[BulkCopy.Single#1](~/../sqlclient/doc/samples/SqlBulkCopy_Single.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.#ctor(Microsoft.Data.SqlClient.SqlConnection,Microsoft.Data.SqlClient.SqlBulkCopyOptions,Microsoft.Data.SqlClient.SqlTransaction)">
- <param name="connection">
- The already open
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- instance that will be used to perform the bulk copy. If your connection string does not use
- <see langword="Integrated Security = true" />
- , you can use
- <see cref="T:Microsoft.Data.SqlClient.SqlCredential" />
- to pass the user ID and password more securely than by specifying the user ID and password as text in the connection string.
- </param><param name="copyOptions">
- A combination of values from the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyOptions" />
- enumeration that determines which data source rows are copied to the destination table.
- </param><param name="externalTransaction">
- An existing
- <see cref="T:Microsoft.Data.SqlClient.SqlTransaction" />
- instance under which the bulk copy will occur.
- </param><summary>
- Initializes a new instance of the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- class using the supplied existing open instance of
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- . The
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- instance behaves according to options supplied in the
- <paramref name="copyOptions" />
- parameter. If a non-null
- <see cref="T:Microsoft.Data.SqlClient.SqlTransaction" />
- is supplied, the copy operations will be performed within that transaction.
- </summary><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks><related type="Article" href="https://msdn.microsoft.com/library/83a7a0d2-8018-4354-97b9-0b1d99f8342b">
- Performing Bulk Copy Operations
- </related><related type="Article" href="~/docs/framework/data/adonet/ado-net-overview.md">
- ADO.NET Overview
- </related>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.#ctor(System.String)">
- <param name="connectionString">
- The string defining the connection that will be opened for use by the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- instance.
- If your connection string does not use
- <see langword="Integrated Security = true" />
- , you can use
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.#ctor(Microsoft.Data.SqlClient.SqlConnection)" />
- or
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.#ctor(Microsoft.Data.SqlClient.SqlConnection,Microsoft.Data.SqlClient.SqlBulkCopyOptions,Microsoft.Data.SqlClient.SqlTransaction)" />
- and
- <see cref="T:Microsoft.Data.SqlClient.SqlCredential" />
- to pass the user ID and password more securely than by specifying the user ID and password as text in the connection string.
- </param><summary>
- Initializes and opens a new instance of
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- based on the supplied
- <paramref name="connectionString" />
- . The constructor uses the
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- to initialize a new instance of the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- class.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The connection is automatically closed at the end of the bulk copy operation.
- If `connectionString` is null, an <xref:System.ArgumentNullException> is thrown. If `connectionString` is an empty string, an <xref:System.ArgumentException> is thrown.
- ## Examples
- The following console application demonstrates how to bulk load data by using a connection specified as a string. The connection is automatically
- closed when the <xref:Microsoft.Data.SqlClient.SqlBulkCopy> instance is closed.
- In this example, the source data is first read from a SQL Server table to a <xref:Microsoft.Data.SqlClient.SqlDataReader> instance.
- The source data does not have to be located on SQL Server; you can use any data source that can be read to an <xref:System.Data.IDataReader> or loaded to a <xref:System.Data.DataTable>.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance,
- it is easier and faster to use a Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ConnectionString#1](~/../sqlclient/doc/samples/SqlBulkCopy_ConnectionString.cs#1)]
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">
- If `connectionString` is an empty string, an
- <see cref="T:System.ArgumentException" />
- is thrown.
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.#ctor(System.String,Microsoft.Data.SqlClient.SqlBulkCopyOptions)">
- <param name="connectionString">
- The string defining the connection that will be opened for use by the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- instance. If your connection string does not use
- <see langword="Integrated Security = true" />
- , you can use
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.#ctor(Microsoft.Data.SqlClient.SqlConnection)" />
- or
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.#ctor(Microsoft.Data.SqlClient.SqlConnection,Microsoft.Data.SqlClient.SqlBulkCopyOptions,Microsoft.Data.SqlClient.SqlTransaction)" />
- and
- <see cref="T:Microsoft.Data.SqlClient.SqlCredential" />
- to pass the user ID and password more securely than by specifying the user ID and password as text in the connection string.
- </param><param name="copyOptions">
- A combination of values from the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyOptions" />
- enumeration that determines which data source rows are copied to the destination table.
- </param><summary>
- Initializes and opens a new instance of
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- based on the supplied
- <paramref name="connectionString" />
- . The constructor uses that
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- to initialize a new instance of the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- class. The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- instance behaves according to options supplied in the
- <paramref name="copyOptions" />
- parameter.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## remarks
- You can obtain detailed information about all the bulk copy options in the <xref:Microsoft.Data.SqlClient.SqlBulkCopyOptions> topic.
- ## Examples
- The following console application demonstrates how to perform a bulk load by using a connection specified as a string.
- An option is set to use the value in the identity column of the source table when you load the destination table. In this example,
- the source data is first read from a SQL Server table to a <xref:Microsoft.Data.SqlClient.SqlDataReader> instance.
- The source table and destination table each include an Identity column. By default, a new value for the **Identity** column is generated in the destination table for each row added.
- In this example, an option is set when the connection is opened that forces the bulk load process to use the **Identity** values from the source table instead.
- To see how the option changes the way the bulk load works, run the sample with the **dbo.BulkCopyDemoMatchingColumns** table empty. All rows load from the source.
- Then run the sample again without emptying the table. An exception is thrown and the code writes a message to the console notifying you that rows weren't
- added because of primary key constraint violations.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md). This code is provided to
- demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a Transact-SQL `INSERT … SELECT` statement
- to copy the data.
- [!code-csharp[SqlBulkCopy.KeepIdentity#1](~/../sqlclient/doc/samples/SqlBulkCopy_KeepIdentity.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlBulkCopy.BatchSize">
- <summary>
- Number of rows in each batch. At the end of each batch, the rows in the batch are sent to the server.
- </summary><value>
- The integer value of the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.BatchSize" />
- property, or zero if no value has been set.
- </value><remarks>
- <format type="text/markdown"><.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance,
- it is easier and faster to use a Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.BatchSize#1](~/../sqlclient/doc/samples/SqlBulkCopy_BatchSize.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlBulkCopy.BulkCopyTimeout">
- <summary>
- Number of seconds for the operation to complete before it times out.
- </summary><value>
- The integer value of the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.BulkCopyTimeout" />
- property. The default is 30 seconds. A value of 0 indicates no limit; the bulk copy will wait indefinitely.
- </value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- If the operation does time out, the transaction is not committed and all copied rows are removed from the destination table.
- ## Examples
- The following console application demonstrates how to modify the time-out to 60 seconds when bulk loading data.
- In this example, the source data is first read from a SQL Server table to a <xref:Microsoft.Data.SqlClient.SqlDataReader> instance.
- The source data does not have to be located on SQL Server; you can use any data source that can be read to an <xref:System.Data.IDataReader> or loaded to a
- <xref:System.Data.DataTable>.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a
- Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.Timeout#1](~/../sqlclient/doc/samples/SqlBulkCopy_Timeout.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlBulkCopy.EnableStreaming">
- <summary>
- Enables or disables a
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object to stream data from an
- <see cref="T:System.Data.IDataReader" />
- object
- </summary><value>
- <see langword="true" />
- if a
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object can stream data from an
- <see cref="T:System.Data.IDataReader" />
- object; otherwise, false. The default is
- <see langword="false" />
- .
- </value><remarks>
- <format type="text/markdown"><![CDATA[
- When <xref:Microsoft.Data.SqlClient.SqlBulkCopy.EnableStreaming> is `true`, <xref:Microsoft.Data.SqlClient.SqlBulkCopy> reads from an <xref:System.Data.IDataReader> object using <xref:System.Data.CommandBehavior.SequentialAccess>,
- optimizing memory usage by using the <xref:System.Data.IDataReader> streaming capabilities. When it's set to false, the <xref:Microsoft.Data.SqlClient.SqlBulkCopy> class loads all the data returned by the
- <xref:System.Data.IDataReader> object into memory before sending it to SQL Server or SQL Azure.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlBulkCopy.ColumnMappings">
- <summary>
- Returns a collection of
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" />
- items. Column mappings define the relationships between columns in the data source and columns in the destination.
- </summary><value>
- A collection of column mappings. By default, it is an empty collection.
- </value><remarks>
- <format type="text/markdown"><![CDATA[
- If the data source and the destination table have the same number of columns, and the ordinal position of each source column within the data source matches the ordinal position of
- the corresponding destination column, the <xref:Microsoft.Data.SqlClient.SqlBulkCopy.ColumnMappings> collection is unnecessary. However, if the column counts differ,
- or the ordinal positions are not consistent, you must use <xref:Microsoft.Data.SqlClient.SqlBulkCopy.ColumnMappings> to make sure that data is copied into the correct columns.
- During the execution of a bulk copy operation, this collection can be accessed, but it cannot be changed. Any attempt to change it will throw an <xref:System.InvalidOperationException>.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName">
- <summary>
- Name of the destination table on the server.
- </summary><value>
- The string value of the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName" />
- property, or null if none as been supplied.
- </value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- If <xref:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName> has not been set when <xref:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer%2A> is called, an <xref:System.ArgumentNullException>
- is thrown. If <xref:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName> is modified while a <xref:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer%2A> operation is running,
- the change does not affect the current operation. The new <xref:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName> value is used the next time a <xref:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer%2A> method is called.
- <xref:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName> is a three-part name (`<database>.<owningschema>.<name>`). You can qualify the table name with its database and owning schema if you choose.
- However, if the table name uses an underscore ("_") or any other special characters, you must escape the name using surrounding brackets as in (`[<database>.<owningschema>.<name_01>]`).
- You can bulk-copy data to a temporary table by using a value such as `tempdb..#table` or `tempdb.<owner>.#table` for the <xref:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName> property.
- ## Examples
- The following console application demonstrates how to bulk load data using a connection that is already open. The destination table is a table in the **AdventureWorks** database.
- In this example, the connection is first used to read data from a SQL Server table to a <xref:Microsoft.Data.SqlClient.SqlDataReader> instance. The source data does not have to
- be located on SQL Server; you can use any data source that can be read to an <xref:System.Data.IDataReader> or loaded to a <xref:System.Data.DataTable>.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance,
- it is easier and faster to use a Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.Single#1](~/../sqlclient/doc/samples/SqlBulkCopy_Single.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlBulkCopy.NotifyAfter">
- <summary>
- Defines the number of rows to be processed before generating a notification event.
- </summary><value>
- The integer value of the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.NotifyAfter" />
- property, or zero if the property has not been set.
- </value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- This property is designed for user interface components that illustrate the progress of a bulk copy operation. It indicates the number of rows to be processed before generating a notification event.
- The <xref:Microsoft.Data.SqlClient.SqlBulkCopy.NotifyAfter> property can be set at any time, even while a bulk copy operation is underway. Changes made during a bulk copy operation take effect after
- the next notification. The new setting applies to all subsequent operations on the same instance.
- If <xref:Microsoft.Data.SqlClient.SqlBulkCopy.NotifyAfter> is set to a number less than zero, an <xref:System.ArgumentOutOfRangeException> is thrown.
- ## Examples
- The following console application demonstrates how to bulk load data using a connection that is already open. The <xref:Microsoft.Data.SqlClient.SqlBulkCopy.NotifyAfter> property is set so that
- the event handler is called after every 50 rows copied to the table.
- In this example, the connection is first used to read data from a SQL Server table to a <xref:Microsoft.Data.SqlClient.SqlDataReader> instance. Then a second connection is opened to bulk copy the data.
- Note that the source data does not have to be located on SQL Server; you can use any data source that can be read to an <xref:System.Data.IDataReader> or loaded to a <xref:System.Data.DataTable>.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md). This code is provided to
- demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a Transact-SQL `INSERT … SELECT`
- statement to copy the data.
- [!code-csharp[SqlBulkCopy.NotifyAfter#1](~/../sqlclient/doc/samples/SqlBulkCopy_NotifyAfter.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="E:Microsoft.Data.SqlClient.SqlBulkCopy.SqlRowsCopied">
- <summary>
- Occurs every time that the number of rows specified by the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.NotifyAfter" />
- property have been processed.
- </summary><remarks>
- <format type="text/markdown">< for examples that use the
- <xref:Microsoft.Data.SqlClient.SqlRowsCopiedEventArgs.Abort> property.)
- No action, such as transaction activity, is supported in the connection during the execution of the bulk copy operation, and it is recommended that you not use the same connection used
- during the <xref:Microsoft.Data.SqlClient.SqlBulkCopy.SqlRowsCopied> event. However, you can open a different connection.
- ## Examples
- The following console application demonstrates how to bulk load data using a connection that is already open. The <xref:Microsoft.Data.SqlClient.SqlBulkCopy.NotifyAfter> property is set so that
- the event handler is called after every 50 rows copied to the table.
- In this example, the connection is first used to read data from a SQL Server table to a <xref:Microsoft.Data.SqlClient.SqlDataReader> instance. Note that the source data does not have to be located on
- SQL Server; you can use any data source that can be read to an <xref:System.Data.IDataReader> or loaded to a <xref:System.Data.DataTable>.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier
- and faster to use a Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.NotifyAfter#1](~/../sqlclient/doc/samples/SqlBulkCopy_NotifyAfter.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.System#IDisposable#Dispose">
- <summary>
- Releases all resources used by the current instance of the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- class.
- </summary><remarks>
- <format type="text/markdown">< and
- [Implementing a Dispose Method](~/docs/standard/garbage-collection/implementing-dispose.md).
- > [!NOTE]
- > Always call `Dispose` before you release your last reference to the <xref:Microsoft.Data.SqlClient.SqlBulkCopy>. Otherwise, the resources it is using will not be freed until the garbage collector calls
- the <xref:Microsoft.Data.SqlClient.SqlBulkCopy> object's `Finalize` method.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.Close">
- <summary>
- Closes the <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" /> instance.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- After you call a <xref:Microsoft.Data.SqlClient.SqlBulkCopy.Close> on the <xref:Microsoft.Data.SqlClient.SqlBulkCopy> object, no other operation will succeed. Calls to the <xref:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer%2A> method will throw an <xref:System.InvalidOperationException>.
- Calling the <xref:Microsoft.Data.SqlClient.SqlBulkCopy.Close> method from the <xref:Microsoft.Data.SqlClient.SqlBulkCopy.SqlRowsCopied> event causes an <xref:System.InvalidOperationException> to be thrown.
- Note that open <xref:Microsoft.Data.SqlClient.SqlBulkCopy> instances are closed implicitly at the end of a `using` block.
- ## Examples
- The following example uses the same <xref:Microsoft.Data.SqlClient.SqlBulkCopy> instance to add sales orders and their associated details to two destination tables. Because the **AdventureWorks** sales order tables are large, the sample reads only orders placed by a certain account number and bulk copies those orders and details to the destination tables. The <xref:Microsoft.Data.SqlClient.SqlBulkCopy.Close> method is used only after both bulk copy operations are complete.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md). This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.OrdersDetails#1](~/../sqlclient/doc/samples/SqlBulkCopy_OrdersDetails.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.Common.DbDataReader)">
- <param name="reader">
- A
- <see cref="T:System.Data.Common.DbDataReader" />
- whose rows will be copied to the destination table.
- </param><summary>
- Copies all rows from the supplied
- <see cref="T:System.Data.Common.DbDataReader" />
- array to a destination table specified by the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName" />
- property of the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object.
- </summary><remarks>
- To be added.
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.IDataReader)">
- <param name="reader">
- A
- <see cref="T:System.Data.IDataReader" />
- whose rows will be copied to the destination table.
- </param><summary>
- Copies all rows in the supplied
- <see cref="T:System.Data.IDataReader" />
- to a destination table specified by the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName" />
- property of the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The copy operation starts at the next available row in the reader. Most of the time, the reader was just returned by <xref:System.Data.IDbCommand.ExecuteReader> or a similar call,
- so the next available row is the first row. To process multiple results, call <xref:System.Data.IDataReader.NextResult> on the data reader and call
- <xref:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer%2A> again.
- Note that using <xref:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer%2A> modifies the state of the reader. The method will call <xref:System.Data.IDataReader.Read>
- until it returns false, the operation is aborted, or an error occurs. This means that the data reader will be in a different state, probably at the end of the result set,
- when the <xref:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer%2A> operation is complete.
- While the bulk copy operation is in progress, the associated destination <xref:Microsoft.Data.SqlClient.SqlConnection> is busy serving it, and no other operations can be performed on the connection.
- The <xref:Microsoft.Data.SqlClient.SqlBulkCopy.ColumnMappings> collection maps from the data reader columns to the destination database table.
- ## Examples
- The following console application demonstrates how to bulk load data from a <xref:Microsoft.Data.SqlClient.SqlDataReader>. The destination table is a table in the **AdventureWorks** database.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md). This code is provided
- to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a
- Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ConnectionString#1](~/../sqlclient/doc/samples/SqlBulkCopy_ConnectionString.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.DataTable)">
- <param name="table">
- A
- <see cref="T:System.Data.DataTable" />
- whose rows will be copied to the destination table.
- </param><summary>
- Copies all rows in the supplied
- <see cref="T:System.Data.DataTable" />
- to a destination table specified by the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName" />
- property of the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- All rows in the <xref:System.Data.DataTable> are copied to the destination table except those that have been deleted.
- While the bulk copy operation is in progress, the associated destination <xref:Microsoft.Data.SqlClient.SqlConnection> is busy serving it, and no other operations can be performed on the connection.
- The <xref:Microsoft.Data.SqlClient.SqlBulkCopy.ColumnMappings> collection maps from the <xref:System.Data.DataTable> columns to the destination database table.
- ## Examples
- The following Console application demonstrates how to bulk load data from a <xref:System.Data.DataTable>. The destination table is a table in the **AdventureWorks** database.
- In this example, a <xref:System.Data.DataTable> is created at run time and is the source of the `SqlBulkCopy` operation.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.DataTable#1](~/../sqlclient/doc/samples/SqlBulkCopy_DataTable.cs#1)]
- ]]></format>
- </remarks><related type="Article" href="https://msdn.microsoft.com/library/83a7a0d2-8018-4354-97b9-0b1d99f8342b">
- Performing Bulk Copy Operations
- </related><related type="Article" href="~/docs/framework/data/adonet/ado-net-overview.md">
- ADO.NET Overview
- </related>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.DataTable,System.Data.DataRowState)">
- <param name="table">
- A
- <see cref="T:System.Data.DataTable" />
- whose rows will be copied to the destination table.
- </param><param name="rowState">
- A value from the
- <see cref="T:System.Data.DataRowState" />
- enumeration. Only rows matching the row state are copied to the destination.
- </param><summary>
- Copies only rows that match the supplied row state in the supplied
- <see cref="T:System.Data.DataTable" />
- to a destination table specified by the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName" />
- property of the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Only rows in the <xref:System.Data.DataTable> that are in the states indicated in the `rowState` argument and have not been deleted are copied to the destination table.
- > [!NOTE]
- > If <xref:System.Data.DataRowState.Deleted> is specified, any <xref:System.Data.DataRowState.Unchanged>, <xref:System.Data.DataRowState.Added>, and <xref:System.Data.DataRowState.Modified>
- rows will also be copied to the server. No exception will be raised.
- While the bulk copy operation is in progress, the associated destination <xref:Microsoft.Data.SqlClient.SqlConnection> is busy serving it, and no other operations can be performed on the connection.
- The <xref:Microsoft.Data.SqlClient.SqlBulkCopy.ColumnMappings> collection maps from the <xref:System.Data.DataTable> columns to the destination database table.
- ## Examples
- The following Console application demonstrates how to bulk load only the rows in a <xref:System.Data.DataTable> that match a specified state. In this case, only unchanged rows are added. The destination table is a table in the **AdventureWorks** database.
- In this example, a <xref:System.Data.DataTable> is created at run time and three rows are added to it. Before the <xref:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer%2A> method is executed, one of the rows is edited.
- The <xref:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer%2A> method is called with a `DataRowState.Unchanged` `rowState` argument, so only the two unchanged rows are bulk copied to the destination.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md). This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.DataRowState#1](~/../sqlclient/doc/samples/SqlBulkCopy_DataRowState.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.DataRow[])">
- <param name="rows">An array of <see cref="T:System.Data.DataRow" /> objects that will be copied to the destination table.</param><summary>Copies all rows from the supplied <see cref="T:System.Data.DataRow" /> array to a destination table specified by the <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName" /> property of the <see cref="T:System.Data.SqlClient.SqlBulkCopy" /> object.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- While the bulk copy operation is in progress, the associated destination <xref:Microsoft.Data.SqlClient.SqlConnection> is busy serving it, and no other operations can be performed on the connection.
- The <xref:Microsoft.Data.SqlClient.SqlBulkCopy.ColumnMappings> collection maps from the <xref:System.Data.DataRow> columns to the destination database table.
- ## Examples
- The following console application demonstrates how to bulk load data from a <xref:System.Data.DataRow> array. The destination table is a table in the **AdventureWorks** database.
- In this example, a <xref:System.Data.DataTable> is created at run time. A single row is selected from the <xref:System.Data.DataTable> to copy to the destination table.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md). This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.RowArray#1](~/../sqlclient/doc/samples/SqlBulkCopy_RowArray.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataRow[])">
- <param name="rows">
- An array of
- <see cref="T:System.Data.DataRow" />
- objects that will be copied to the destination table.
- </param><summary>
- The asynchronous version of
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.DataRow[])" />
- ,
- which copies all rows from the supplied
- <see cref="T:System.Data.DataRow" />
- array to a destination table specified by the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName" />
- property of the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object.
- </summary><returns>
- A task representing the asynchronous operation.
- </returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataRow[])" />
- multiple times for the same instance before task completion. Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataRow[])" />
- and
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.DataRow[])" />
- for the same instance before task completion.
-
- The connection drops or is closed during
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataRow[])" />
- execution.
-
- Returned in the task object, the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object was closed during the method execution.
-
- Returned in the task object, there was a connection pool timeout.
-
- Returned in the task object, the
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- object is closed before method execution.
- <see langword="Context Connection=true" />
- is specified in the connection string.
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- Returned in the task object, any error returned by SQL Server that occurred while opening the connection.
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataRow[],System.Threading.CancellationToken)">
- <param name="rows">
- An array of
- <see cref="T:System.Data.DataRow" />
- objects that will be copied to the destination table.
- </param><param name="cancellationToken">
- The cancellation instruction. A
- <see cref="P:System.Threading.CancellationToken.None" />
- value in this parameter makes this method equivalent to
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable)" />
- .
- </param><summary>
- The asynchronous version of
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.DataRow[])" />
- , which copies all rows from the supplied
- <see cref="T:System.Data.DataRow" />
- array to a destination table specified by the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName" />
- property of the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object.
-
- The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object.
- </summary><returns>
- A task representing the asynchronous operation.
- </returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataRow[])" />
- multiple times for the same instance before
- task completion. Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataRow[])" />
- and
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.DataRow[])" />
- for the same instance before task completion. The connection drops or is closed during
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataRow[])" />
- execution. Returned in the task object, the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object was closed during the method execution. Returned in the task object, there was a connection pool timeout. Returned in the task object, the
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- object is closed before method execution.
- <see langword="Context Connection=true" />
- is specified in the connection string.
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- Returned in the task object, any error returned by SQL Server that occurred while opening the connection.
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.Common.DbDataReader)">
- <param name="reader">
- A
- <see cref="T:System.Data.IDataReader" />
- whose rows will be copied to the destination table.
- </param><summary>
- The asynchronous version of
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.IDataReader)" />
- , which copies all rows in the supplied
- <see cref="T:System.Data.IDataReader" />
- to a destination table specified by the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName" />
- property of the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object.
- </summary><returns>
- A task representing the asynchronous operation.
- </returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.IDataReader)" />
- multiple times for the same instance before task completion. Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.IDataReader)" />
- and
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.IDataReader)" />
- for the same instance before task completion.
- The connection drops or is closed during
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.IDataReader)" />
- execution.
- Returned in the task object, the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object was closed during the method execution.
- Returned in the task object, there was a connection pool timeout.
- Returned in the task object, the
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- object is closed before method execution.
- The
- <see cref="T:System.Data.IDataReader" />
- was closed before the completed
- <see cref="T:System.Threading.Tasks.Task" />
- returned.
- The
- <see cref="T:System.Data.IDataReader" />
- 's associated connection was closed before the completed
- <see cref="T:System.Threading.Tasks.Task" />
- returned.
- <see langword="Context Connection=true" />
- is specified in the connection string.
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- Returned in the task object, any error returned by SQL Server that occurred while opening the connection.
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.Common.DbDataReader,System.Threading.CancellationToken)">
- <param name="reader">
- A
- <see cref="T:System.Data.Common.DbDataReader" />
- whose rows will be copied to the destination table.
- </param><param name="cancellationToken">
- The cancellation instruction. A
- <see cref="P:System.Threading.CancellationToken.None" />
- value in this parameter makes this method equivalent to
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.Common.DbDataReader)" />
- .
- </param><summary>
- The asynchronous version of
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.Common.DbDataReader)" />
- , which copies all rows from the supplied
- <see cref="T:System.Data.Common.DbDataReader" />
- array to a destination table specified by the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName" />
- property of the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object.
- </summary><returns>
- Returns
- <see cref="T:System.Threading.Tasks.Task" />
- .
- </returns><remarks>
- To be added.
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.IDataReader)">
- <param name="reader">
- A
- <see cref="T:System.Data.IDataReader" />
- whose rows will be copied to the destination table.
- </param><summary>
- The asynchronous version of
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.IDataReader)" />
- , which copies all rows in the supplied
- <see cref="T:System.Data.IDataReader" />
- to a destination table specified by the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName" />
- property of the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object.
- </summary><returns>
- A task representing the asynchronous operation.
- </returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.IDataReader)" />
- multiple times for the same
- instance before task completion.
-
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.IDataReader)" />
- and
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.IDataReader)" />
- for the same instance before task completion.
-
- The connection drops or is closed during
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.IDataReader)" />
- execution.
-
- Returned in the task object, the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object was closed during the method execution.
-
- Returned in the task object, there was a connection pool timeout.
-
- Returned in the task object, the
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- object is closed before method execution.
-
- The
- <see cref="T:System.Data.IDataReader" />
- was closed before the completed
- <see cref="T:System.Threading.Tasks.Task" />
- returned.
-
- The
- <see cref="T:System.Data.IDataReader" />
- 's associated connection was closed before the completed
- <see cref="T:System.Threading.Tasks.Task" />
- returned.
- <see langword="Context Connection=true" />
- is specified in the connection string.
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- Returned in the task object, any error returned by SQL Server that occurred while opening the connection.
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.IDataReader,System.Threading.CancellationToken)">
- <param name="reader">
- A
- <see cref="T:System.Data.IDataReader" />
- whose rows will be copied to the destination table.
- </param><param name="cancellationToken">
- The cancellation instruction. A
- <see cref="P:System.Threading.CancellationToken.None" />
- value in this parameter makes this method equivalent to
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable)" />
- .
- </param><summary>
- The asynchronous version of
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.IDataReader)" />
- , which copies all rows in the supplied
- <see cref="T:System.Data.IDataReader" />
- to a destination table specified by the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName" />
- property of the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object.
- The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object.
- </summary><returns>
- A task representing the asynchronous operation.
- </returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.IDataReader)" />
- multiple times for the same instance before task completion.
-
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.IDataReader)" />
- and
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.IDataReader)" />
- for the same instance before task completion.
-
- The connection drops or is closed during
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.IDataReader)" />
- execution.
-
- Returned in the task object, the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object was closed during the method execution.
-
- Returned in the task object, there was a connection pool timeout.
-
- Returned in the task object, the
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- object is closed before method execution.
-
- The
- <see cref="T:System.Data.IDataReader" />
- was closed before the completed
- <see cref="T:System.Threading.Tasks.Task" />
- returned.
-
- The
- <see cref="T:System.Data.IDataReader" />
- 's associated connection was closed before the completed
- <see cref="T:System.Threading.Tasks.Task" />
- returned.
- <see langword="Context Connection=true" />
- is specified in the connection string.
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- Returned in the task object, any error returned by SQL Server that occurred while opening the connection.
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable)">
- <param name="table">
- A
- <see cref="T:System.Data.DataTable" />
- whose rows will be copied to the destination table.
- </param><summary>
- The asynchronous version of
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.DataTable)" />
- , which copies all rows in the supplied
- <see cref="T:System.Data.DataTable" />
- to a destination table specified by the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName" />
- property of the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object.
- </summary><returns>
- A task representing the asynchronous operation.
- </returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable)" />
- multiple times for the same instance before task completion.
-
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable)" />
- and
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.DataTable)" />
- for the same instance before task completion.
-
- The connection drops or is closed during
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable)" />
- execution.
-
- Returned in the task object, the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object was closed during the method execution.
-
- Returned in the task object, there was a connection pool timeout.
-
- Returned in the task object, the
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- object is closed before method execution.
- <see langword="Context Connection=true" />
- is specified in the connection string.
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- Returned in the task object, any error returned by SQL Server that occurred while opening the connection.
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable,System.Threading.CancellationToken)">
- <param name="table">
- A
- <see cref="T:System.Data.DataTable" />
- whose rows will be copied to the destination table.
- </param><param name="cancellationToken">
- The cancellation instruction. A
- <see cref="P:System.Threading.CancellationToken.None" />
- value in this parameter makes this method equivalent to
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable)" />
- .
- </param><summary>
- The asynchronous version of
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.DataTable)" />
- , which copies all rows in the supplied
- <see cref="T:System.Data.DataTable" />
- to a destination table specified by the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName" />
- property of the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object.
-
- The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object.
- </summary><returns>
- A task representing the asynchronous operation.
- </returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable)" />
- multiple times for the same instance before task completion.
-
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable)" />
- and
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.DataTable)" />
- for the same instance before task completion.
-
- The connection drops or is closed during
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable)" />
- execution.
-
- Returned in the task object, the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object was closed during the method execution.
-
- Returned in the task object, there was a connection pool timeout.
-
- Returned in the task object, the
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- object is closed before method execution.
- <see langword="Context Connection=true" />
- is specified in the connection string.
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- Returned in the task object, any error returned by SQL Server that occurred while opening the connection.
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable,System.Data.DataRowState)">
- <param name="table">
- A
- <see cref="T:System.Data.DataTable" />
- whose rows will be copied to the destination table.
- </param><param name="rowState">
- A value from the
- <see cref="T:System.Data.DataRowState" />
- enumeration. Only rows matching the row state are copied to the destination.
- </param><summary>
- The asynchronous version of
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.DataTable,System.Data.DataRowState)" />
- ,
- which copies only rows that match the supplied row state in the supplied
- <see cref="T:System.Data.DataTable" /> to a destination table specified by the <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName" />
- property of the <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" /> object.
- </summary><returns>
- A task representing the asynchronous operation.
- </returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable,System.Data.DataRowState)" />
- multiple times for the same instance before task completion.
-
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable,System.Data.DataRowState)" />
- and
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.DataTable,System.Data.DataRowState)" />
- for the same instance before task completion.
-
- The connection drops or is closed during
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable,System.Data.DataRowState)" />
- execution.
-
- Returned in the task object, the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object was closed during the method execution.
-
- Returned in the task object, there was a connection pool timeout.
-
- Returned in the task object, the
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- object is closed before method execution.
- <see langword="Context Connection=true" />
- is specified in the connection string.
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- Returned in the task object, any error returned by SQL Server that occurred while opening the connection.
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable,System.Data.DataRowState,System.Threading.CancellationToken)">
- <param name="table">
- A
- <see cref="T:System.Data.DataTable" />
- whose rows will be copied to the destination table.
- </param><param name="rowState">
- A value from the
- <see cref="T:System.Data.DataRowState" />
- enumeration. Only rows matching the row state are copied to the destination.
- </param><param name="cancellationToken">
- The cancellation instruction. A
- <see cref="P:System.Threading.CancellationToken.None" />
- value in this parameter makes this method equivalent to
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable)" />
- .
- </param><summary>
- The asynchronous version of
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.DataTable,System.Data.DataRowState)" />
- ,
- which copies only rows that match the supplied row state in the supplied
- <see cref="T:System.Data.DataTable" />
- to a destination table specified by the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.DestinationTableName" />
- property of the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object.
-
- The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object.\
- </summary><returns>
- A task representing the asynchronous operation.
- </returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable,System.Data.DataRowState)" />
- multiple times for the same instance before task completion.
-
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable,System.Data.DataRowState)" />
- and
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer(System.Data.DataTable,System.Data.DataRowState)" />
- for the same instance before task completion.
-
- The connection drops or is closed during
- <see cref="M:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerAsync(System.Data.DataTable,System.Data.DataRowState)" />
- execution.
-
- Returned in the task object, the
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- object was closed during the method execution.
-
- Returned in the task object, there was a connection pool timeout.
-
- Returned in the task object, the
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- object is closed before method execution.
- <see langword="Context Connection=true" />
- is specified in the connection string.
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- Returned in the task object, any error returned by SQL Server that occurred while opening the connection.
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopy.OnRowsCopied(Microsoft.Data.SqlClient.SqlRowsCopiedEventArgs)">
- <summary>
- Occurs every time that the number of rows specified by the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopy.NotifyAfter" />
- property have been processed.
- </summary><remarks>
- <format type="text/markdown">< for examples that use the
- <xref:Microsoft.Data.SqlClient.SqlRowsCopiedEventArgs.Abort> property.)
- No action, such as transaction activity, is supported in the connection during the execution of the bulk copy operation, and it is recommended that you not use the same connection used
- during the <xref:Microsoft.Data.SqlClient.SqlBulkCopy.SqlRowsCopied> event. However, you can open a different connection.
- ## Examples
- The following console application demonstrates how to bulk load data using a connection that is already open. The <xref:Microsoft.Data.SqlClient.SqlBulkCopy.NotifyAfter> property is set so that
- the event handler is called after every 50 rows copied to the table.
- In this example, the connection is first used to read data from a SQL Server table to a <xref:Microsoft.Data.SqlClient.SqlDataReader> instance. Note that the source data does not have to be located on
- SQL Server; you can use any data source that can be read to an <xref:System.Data.IDataReader> or loaded to a <xref:System.Data.DataTable>.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier
- and faster to use a Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.NotifyAfter#1](~/../sqlclient/doc/samples/SqlBulkCopy_NotifyAfter.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping">
- <summary>
- Defines the mapping between a column in a
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />
- instance's data source and a column in the instance's destination table.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Column mappings define the mapping between data source and the target table.
- If mappings are not defined - that is, the <xref:Microsoft.Data.SqlClient.SqlBulkCopy.ColumnMappings%2A> collection is empty - the columns are mapped implicitly based on ordinal position.
- For this to work, source and target schemas must match. If they do not, an <xref:System.InvalidOperationException> will be thrown.
- If the <xref:Microsoft.Data.SqlClient.SqlBulkCopy.ColumnMappings%2A> collection is not empty, not every column present in the data source has to be specified. Those not mapped by the collection
- are ignored.
- You can refer to source and target columns by either name or ordinal. You can also mix by-name and by-ordinal column references in the same mappings collection.
- ## Examples
- The following example bulk copies data from a source table in the **AdventureWorks** sample database to a destination table in the same database. Although the number of columns in the
- destination matches the number of columns in the source, and each destination column is in the same ordinal position as its corresponding source column, the column names do not match.
- <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping> objects are used to create a column map for the bulk copy.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a
- Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ColumnMapping#1](~/../sqlclient/doc/samples/SqlBulkCopy_ColumnMapping.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.DestinationColumn">
- <summary>
- Name of the column being mapped in the destination database table.
- </summary><value>
- The string value of the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.DestinationColumn" />
- property.
- </value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.DestinationColumn%2A> and <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.DestinationOrdinal%2A> properties are mutually exclusive.
- The last value set takes precedence.
- ## Examples
- The following example bulk copies data from a source table in the **AdventureWorks** sample database to a destination table in the same database.
- Although the number of columns in the destination matches the number of columns in the source, the column names and ordinal positions do not match.
- <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping> objects are used to create a column map for the bulk copy.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a
- Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ColumnMappingDestinationColumn#1](~/../sqlclient/doc/samples/SqlBulkCopy_ColumnMappingDestinationColumn.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.DestinationOrdinal">
- <summary>
- Ordinal value of the destination column within the destination table.
- </summary><value>
- The integer value of the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.DestinationOrdinal" />
- property, or -1 if the property has not been set.
- </value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.DestinationColumn%2A> and <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.DestinationOrdinal%2A> properties are mutually exclusive.
- The last value set takes precedence.
- ## Examples
- The following example bulk copies data from a source table in the **AdventureWorks** sample database to a destination table in the same database. Although the number of columns in the
- destination matches the number of columns in the source, the column names and ordinal positions do not match. <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping> objects are used to create a
- column map for the bulk copy.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a
- Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ColumnMappingDestinationOrdinal#1](~/../sqlclient/doc/samples/SqlBulkCopy_ColumnMappingDestinationOrdinal.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.SourceColumn">
- <summary>
- Name of the column being mapped in the data source.
- </summary><value>
- The string value of the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.SourceColumn" />
- property.
- </value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.SourceColumn%2A> and <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.SourceOrdinal%2A> properties are mutually exclusive.
- The last value set takes precedence.
- ## Examples
- The following example bulk copies data from a source table in the **AdventureWorks** sample database to a destination table in the same database. Although the number of columns in the
- destination matches the number of columns in the source, the column names and ordinal positions do not match. <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping> objects are used to create a
- column map for the bulk copy.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a
- Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ColumnMappingDestinationColumn#1](~/../sqlclient/doc/samples/SqlBulkCopy_ColumnMappingDestinationColumn.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.SourceOrdinal">
- <summary>
- The ordinal position of the source column within the data source.
- </summary><value>
- The integer value of the
- <see cref="P:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.SourceOrdinal" />
- property.
- </value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.SourceColumn%2A> and <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.SourceOrdinal%2A> properties are mutually exclusive.
- The last value set takes precedence.
- ## Examples
- The following example bulk copies data from a source table in the **AdventureWorks** sample database to a destination table in the same database. Although the number of columns in the destination
- matches the number of columns in the source, the column names and ordinal positions do not match. <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping> objects are used to create a column map for the
- bulk copy.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a
- Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ColumnMappingDestinationOrdinal#1](~/../sqlclient/doc/samples/SqlBulkCopy_ColumnMappingDestinationOrdinal.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.#ctor">
- <summary>
- Parameterless constructor that initializes a new
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" />
- object.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- If you use this constructor, you must then define the source for the mapping using the <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.SourceColumn>
- property or the <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.SourceOrdinal%2A> property, and define the destination for the mapping using the
- <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.DestinationColumn%2A> property or the <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.DestinationOrdinal%2A> property.
- ## Examples
- The following example bulk copies data from a source table in the **AdventureWorks** sample database to a destination table in the same database.
- Although the number of columns in the destination matches the number of columns in the source, the column names and ordinal positions do not match.
- <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping> objects are used to create a column map for the bulk copy.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance,
- it is easier and faster to use a Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ColumnMapping#1](~/../sqlclient/doc/samples/SqlBulkCopy_ColumnMapping.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.#ctor(System.String,System.String)">
- <param name="sourceColumn">
- The name of the source column within the data source.
- </param><param name="destinationColumn">
- The name of the destination column within the destination table.
- </param><summary>
- Creates a new column mapping, using column names to refer to source and destination columns.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Examples
- The following example bulk copies data from a source table in the **AdventureWorks** sample database to a destination table in the same database. Although the number of columns in the
- destination matches the number of columns in the source, the column names and ordinal positions do not match. <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping> objects are used to create a
- column map for the bulk copy.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a
- Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ColumnMapping#1](~/../sqlclient/doc/samples/SqlBulkCopy_ColumnMapping.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.#ctor(System.Int32,System.String)">
- <param name="sourceColumnOrdinal">
- The ordinal position of the source column within the data source.
- </param><param name="destinationColumn">
- The name of the destination column within the destination table.
- </param><summary>
- Creates a new column mapping, using a column ordinal to refer to the source column and a column name for the target column.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Examples
- The following example bulk copies data from a source table in the **AdventureWorks** sample database to a destination table in the same database. Although the number of columns in
- the destination matches the number of columns in the source, the column names and ordinal positions do not match. <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping> objects are used to create a
- column map for the bulk copy.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and
- faster to use a Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ColumnMappingOrdinalName#1](~/../sqlclient/doc/samples/SqlBulkCopy_ColumnMappingOrdinalName.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.#ctor(System.String,System.Int32)">
- <param name="sourceColumn">
- The name of the source column within the data source.
- </param><param name="destinationOrdinal">
- The ordinal position of the destination column within the destination table.
- </param><summary>
- Creates a new column mapping, using a column name to refer to the source column and a column ordinal for the target column.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Examples
- The following example bulk copies data from a source table in the **AdventureWorks** sample database to a destination table in the same database. Although the number of columns in
- the destination matches the number of columns in the source, the column names and ordinal positions do not match. <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping> objects are used to create
- a column map for the bulk copy.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md). This code is
- provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to
- use a Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ColumnMappingNameOrdinal#1](~/../sqlclient/doc/samples/SqlBulkCopy_ColumnMappingNameOrdinal.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping.#ctor(System.Int32,System.Int32)">
- <param name="sourceColumnOrdinal">
- The ordinal position of the source column within the data source.
- </param><param name="destinationOrdinal">
- The ordinal position of the destination column within the destination table.
- </param><summary>
- Creates a new column mapping, using column ordinals to refer to source and destination columns.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Examples
- The following example bulk copies data from a source table in the **AdventureWorks** sample database to a destination table in the same database.
- Although the number of columns in the destination matches the number of columns in the source, the column names and ordinal positions do not match.
- <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping> objects are used to create a column map for the bulk copy based on the ordinal positions of the columns.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier
- and faster to use a Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ColumnMappingOrdinal#1](~/../sqlclient/doc/samples/SqlBulkCopy_ColumnMappingOrdinal.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection">
- <summary>Collection of <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> objects that inherits from <see cref="T:System.Collections.CollectionBase" />.</summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Column mappings define the mapping between data source and the target table.
- If mappings are not defined - that is, the <xref:Microsoft.Data.SqlClient.SqlBulkCopy.ColumnMappings%2A> collection is empty - the columns are mapped implicitly based on ordinal position.
- For this to work, source and target schemas must match. If they do not, an <xref:System.InvalidOperationException> is thrown.
- If the <xref:Microsoft.Data.SqlClient.SqlBulkCopy.ColumnMappings%2A> collection is not empty, not every column present in the data source has to be specified. Those not mapped by the collection are
- ignored.
- You can refer to source and target columns by either name or ordinal. You can mix by-name and by-ordinal column references in the same mappings collection.
- ## Examples
- The following example bulk copies data from a source table in the **AdventureWorks** sample database to a destination table in the same database.
- Although the number of columns in the destination matches the number of columns in the source, the column names and ordinal positions do not match.
- <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping> are added to the <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection> for the
- <xref:Microsoft.Data.SqlClient.SqlBulkCopy> object to create a column map for the bulk copy.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to
- use a Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ColumnMappingCollection#1](~/../sqlclient/doc/samples/SqlBulkCopy_ColumnMappingCollection.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.Item(System.Int32)">
- <param name="index">The zero-based index of the <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> to find.</param><summary>Gets the <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> object at the specified index.</summary><value>A <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> object.</value><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.Add(Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping)">
- <param name="bulkCopyColumnMapping">The <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> object that describes the mapping to be added to the collection.</param><summary>Adds the specified mapping to the <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection" />.</summary><returns>A <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> object.</returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Examples
- The following example bulk copies data from a source table in the **AdventureWorks** sample database to a destination table in the same database.
- Although the number of columns in the destination matches the number of columns in the source, the column names and ordinal positions do not match.
- <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping> objects are used to create a column map for the bulk copy.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance,
- it is easier and faster to use a Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ColumnMapping#1](~/../sqlclient/doc/samples/SqlBulkCopy_ColumnMapping.cs)]
- ]]>
- </format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.Add(System.String,System.String)">
- <param name="sourceColumn">The name of the source column within the data source.</param><param name="destinationColumn">The name of the destination column within the destination table.</param><summary>Creates a new <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> and adds it to the collection, using column names to specify both source and destination columns.</summary><returns>A column mapping.</returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Mappings in a collection must be uniform: either all integer/integer pairs, all string/string pairs, all integer/string pairs, or all string/integer pairs.
- If you try to add a mapping that is different from others already in the collection, an <xref:System.InvalidOperationException> is thrown.
- ## Examples
- The following example bulk copies data from a source table in the **AdventureWorks** sample database to a destination table in the same database.
- Although the number of columns in the destination matches the number of columns in the source, the column names and ordinal positions do not match. The code creates a
- <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping> object by specifying the column names.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance,
- it is easier and faster to use a Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ColumnMappingCollection#1](~/../sqlclient/doc/samples/SqlBulkCopy_ColumnMappingCollection.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.Add(System.Int32,System.String)">
- <param name="sourceColumnIndex">The ordinal position of the source column within the data source.</param><param name="destinationColumn">The name of the destination column within the destination table.</param><summary>Creates a new <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> and adds it to the collection, using an ordinal for the source column and a string for the destination column.</summary><returns>A column mapping.</returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Mappings in a collection must be uniform: either all integer/integer pairs, all string/string pairs, all integer/string pairs, or all string/integer pairs.
- If you try to add a mapping that is different from others already in the collection, an <xref:System.InvalidOperationException> is thrown.
- ## Examples
- The following example bulk copies data from a source table in the **AdventureWorks** sample database to a destination table in the same database. Although the number of columns in the
- destination matches the number of columns in the source, the column names and ordinal positions do not match. <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping> objects are used to create a
- column map for the bulk copy.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a
- Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy_ColumnMappingIndexColName#1](~/../sqlclient/doc/samples/SqlBulkCopy_ColumnMappingIndexColName.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.Add(System.String,System.Int32)">
- <param name="sourceColumn">The name of the source column within the data source.</param><param name="destinationColumnIndex">The ordinal position of the destination column within the destination table.</param><summary>Creates a new <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> and adds it to the collection, using a column name to describe the source column and an ordinal to specify the destination column.</summary><returns>A column mapping.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Mappings in a collection must be uniform: either all integer/integer pairs, all string/string pairs, all integer/string pairs, or all string/integer pairs.
- If you try to add a mapping that is different from others already in the collection, an <xref:System.InvalidOperationException> is thrown.
- ## Examples
- The following example bulk copies data from a source table in the **AdventureWorks** sample database to a destination table in the same database.
- Although the number of columns in the destination matches the number of columns in the source, the column names and ordinal positions do not match.
- <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping> objects are used to create a column map for the bulk copy.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance,
- it is easier and faster to use a Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ColumnMappingColNameIndex#1](~/../sqlclient/doc/samples/SqlBulkCopy_ColumnMappingColNameIndex.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.Add(System.Int32,System.Int32)">
- <param name="sourceColumnIndex">The ordinal position of the source column within the data source.</param><param name="destinationColumnIndex">The ordinal position of the destination column within the destination table.</param><summary>Creates a new <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> and adds it to the collection, using ordinals to specify both source and destination columns.</summary><returns>A column mapping.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Mappings in a collection must be uniform: either all integer/integer pairs, all string/string pairs, all integer/string pairs, or all string/integer pairs. If you try to add a
- mapping that is different from others already in the collection, an <xref:System.InvalidOperationException> is thrown.
- ## Examples
- The following example bulk copies data from a source table in the **AdventureWorks** sample database to a destination table in the same database.
- Although the number of columns in the destination matches the number of columns in the source, the column names and ordinal positions do not match.
- <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping> objects are used to create a column map for the bulk copy using the ordinal position of the source and destination columns.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a
- Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ColumnMappingCollectionOrdinal#1](~/../sqlclient/doc/samples/SqlBulkCopy_ColumnMappingCollectionOrdinal.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.Clear">
- <summary>Clears the contents of the collection.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.Clear%2A> method is most commonly used when you use a single <xref:Microsoft.Data.SqlClient.SqlBulkCopy>
- instance to process more than one bulk copy operation. If you create column mappings for one bulk copy operation, you must clear the
- <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection> after the <xref:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer%2A> method and before processing the next bulk copy.
- Performing several bulk copies using the same <xref:Microsoft.Data.SqlClient.SqlBulkCopy> instance will usually be more efficient from a performance point of view than using a separate
- <xref:Microsoft.Data.SqlClient.SqlBulkCopy> for each operation.
- ## Examples
- The following example performs two bulk copy operations. The first operation copies sales order header information, and the second copies sales order details.
- Although not strictly necessary in this example (because the ordinal positions of the source and destination columns do match), the example defines column mappings for each bulk copy operation.
- The <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.Clear%2A> method must be used after the first bulk copy is performed and before the next bulk copy's column mappings are defined.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a
- Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ColumnMappingOrdersDetails#1](~/../sqlclient/doc/samples/SqlBulkCopy_ColumnMappingOrdersDetails.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.Contains(Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping)">
- <param name="value">A valid <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> object.</param><summary>Gets a value indicating whether a specified <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> object exists in the collection.</summary><returns>
- <see langword="true" /> if the specified mapping exists in the collection; otherwise <see langword="false" />.</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.CopyTo(Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping[],System.Int32)">
- <param name="array">The one-dimensional <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> array that is the destination of the elements copied from
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection" />. The array must have zero-based indexing.</param><param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param><summary>Copies the elements of the <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection" /> to an array of <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" />
- items, starting at a particular index.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.IndexOf(Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping)">
- <param name="value">The <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> object for which to search.</param><summary>Gets the index of the specified <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> object.</summary><returns>The zero-based index of the column mapping, or -1 if the column mapping is not found in the collection.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.Insert(System.Int32,Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping)">
- <param name="index">Integer value of the location within the <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection" /> at which to insert the new
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" />.</param><param name="value">
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> object to be inserted in the collection.</param><summary>Insert a new <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> at the index specified.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.Remove(Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping)">
- <param name="value">
- <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> object to be removed from the collection.</param><summary>Removes the specified <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> element from the <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection" />.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.Remove%2A> method is most commonly used when you use a single <xref:Microsoft.Data.SqlClient.SqlBulkCopy>
- instance to process more than one bulk copy operation. If you create column mappings for one bulk copy operation, you must remove mappings that no longer apply after the
- <xref:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer%2A> method is called and before defining mapping for the next bulk copy. You can clear the entire collection by using the
- <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.Clear%2A> method, or remove mappings individually using the <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.Remove%2A>
- method or the <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.RemoveAt%2A> method.
- Performing several bulk copies using the same <xref:Microsoft.Data.SqlClient.SqlBulkCopy> instance will usually be more efficient from a performance point of view than using a separate
- <xref:Microsoft.Data.SqlClient.SqlBulkCopy> for each operation.
- ## Examples
- The following example performs two bulk copy operations. The first operation copies sales order header information, and the second copies sales order details.
- Although not strictly necessary in this example (because the ordinal positions of the source and destination columns do match), the example defines column mappings for each bulk copy operation.
- Both bulk copies include a mapping for the **SalesOrderID**, so rather than clearing the entire collection between bulk copy operations, the example removes all mappings except for the **SalesOrderID**
- mapping and then adds the appropriate mappings for the second bulk copy operation.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a
- Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ColumnMappingRemove#1](~/../sqlclient/doc/samples/SqlBulkCopy_ColumnMappingRemove.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.RemoveAt(System.Int32)">
- <param name="index">The zero-based index of the <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping" /> object to be removed from the collection.</param><summary>Removes the mapping at the specified index from the collection.</summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.RemoveAt%2A> method is most commonly used when you use a single <xref:Microsoft.Data.SqlClient.SqlBulkCopy>
- instance to process more than one bulk copy operation. If you create column mappings for one bulk copy operation, you must remove mappings that no longer apply after the
- <xref:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer%2A> method is called and before defining mapping for the next bulk copy. You can clear the entire collection by using the
- <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.Clear%2A> method, or remove mappings individually using the <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.Remove%2A>
- method or the <xref:Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection.RemoveAt%2A> method.
- Performing several bulk copies using the same <xref:Microsoft.Data.SqlClient.SqlBulkCopy> instance will usually be more efficient from a performance point of view than using a separate
- <xref:Microsoft.Data.SqlClient.SqlBulkCopy> for each operation.
- ## Examples
- The following example performs two bulk copy operations. The first operation copies sales order header information, and the second copies sales order details.
- Although not strictly necessary in this example (because the ordinal positions of the source and destination columns do match), the example defines column mappings for each bulk copy operation.
- Both bulk copies include a mapping for the **SalesOrderID**, so rather than clearing the entire collection between bulk copy operations, the example removes all mappings except for the
- **SalesOrderID** mapping and then adds the appropriate mappings for the second bulk copy operation.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance, it is easier and faster to use a
- Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.ColumnMappingRemoveAt#1](~/../sqlclient/doc/samples/SqlBulkCopy_ColumnMappingRemoveAt.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlBulkCopyOptions">
- <summary>Bitwise flag that specifies one or more options to use with an instance of <see cref="T:Microsoft.Data.SqlClient.SqlBulkCopy" />.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- You can use the <xref:Microsoft.Data.SqlClient.SqlBulkCopyOptions> enumeration when you construct a <xref:Microsoft.Data.SqlClient.SqlBulkCopy> instance to change how the
- <xref:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer%2A> methods for that instance behave.
- ## Examples
- The following console application demonstrates how to perform a bulk load that copies the value in the identity column of the source table to the corresponding column in the destination table,
- instead of generating a new value for each row's identity column.
- To see how the option changes the way the bulk load works, run the sample with the **dbo.BulkCopyDemoMatchingColumns** table empty. All rows load from the source.
- Next, run the sample again without emptying the table. An exception is thrown, and the code writes a message to the console window notifying you that rows were not added because of
- primary key violations.
- > [!IMPORTANT]
- > This sample will not run unless you have created the work tables as described in [Bulk Copy Example Setup](~/docs/framework/data/adonet/sql/bulk-copy-example-setup.md).
- This code is provided to demonstrate the syntax for using **SqlBulkCopy** only. If the source and destination tables are in the same SQL Server instance,
- it is easier and faster to use a Transact-SQL `INSERT … SELECT` statement to copy the data.
- [!code-csharp[SqlBulkCopy.KeepIdentity#1](~/../sqlclient/doc/samples/SqlBulkCopy_KeepIdentity.cs)]
- ]]></format>
- </remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlBulkCopyOptions.Default">
- <summary>Use the default values for all options.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlBulkCopyOptions.KeepIdentity">
- <summary>Preserve source identity values. When not specified, identity values are assigned by the destination.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlBulkCopyOptions.CheckConstraints">
- <summary>Check constraints while data is being inserted. By default, constraints are not checked.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlBulkCopyOptions.TableLock">
- <summary>Obtain a bulk update lock for the duration of the bulk copy operation. When not specified, row locks are used.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlBulkCopyOptions.KeepNulls">
- <summary>Preserve null values in the destination table regardless of the settings for default values. When not specified, null values are replaced by default values where applicable.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlBulkCopyOptions.FireTriggers">
- <summary>When specified, cause the server to fire the insert triggers for the rows being inserted into the database.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlBulkCopyOptions.UseInternalTransaction">
- <summary>When specified, each batch of the bulk-copy operation will occur within a transaction. If you indicate this option and also provide a <see cref="T:Microsoft.Data.SqlClient.SqlTransaction" />
- object to the constructor, an <see cref="T:System.ArgumentException" /> occurs.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlBulkCopyOptions.AllowEncryptedValueModifications">
- <summary>
- <format type="text/markdown"><![CDATA[
- When specified, **AllowEncryptedValueModifications** enables bulk copying of encrypted data between tables or databases, without decrypting the data. Typically,
- an application would select data from encrypted columns from one table without decrypting the data (the app would connect to the database with the column encryption setting keyword set
- to disabled) and then would use this option to bulk insert the data, which is still encrypted.
- Use caution when specifying **AllowEncryptedValueModifications** as this may lead to corrupting the database because the driver does not check if the data is indeed encrypted,
- or if it is correctly encrypted using the same encryption type, algorithm and key as the target column.
- ]]></format>
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.ServerCertificateValidationCallback">
- <summary>
- A callback to validate server certificate.
- </summary>
- <param name="certificate"></param>
- <returns></returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.ClientCertificateRetrievalCallback">
- <summary>
- A callback to provide client certificate on demand from a store normally different from system certificate store.
- </summary>
- <returns></returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlClientEncryptionAlgorithm">
- <summary>
- Abstract base class for all TCE encryption algorithms. It exposes two functions
- 1. Encrypt - This function is used by SqlClient under the covers to transparently encrypt TCE enabled column data.
- 2. Decrypt - This function is used by SqlClient under the covers to transparently decrypt TCE enabled column data.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientEncryptionAlgorithm.EncryptData(System.Byte[])">
- <summary>
- Encrypts the plainText with a column encryption key
- </summary>
- <param name="plainText">Plain text value to be encrypted</param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientEncryptionAlgorithm.DecryptData(System.Byte[])">
- <summary>
- Decrypts the cipherText with a column encryption key
- </summary>
- <param name="cipherText">Ciphertext value to be decrypted</param>
- <returns></returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlClientEncryptionAlgorithmFactory">
- <summary>
- Abstract base class for all TCE encryption algorithm factory classes. Factory classes create instances of an encryption algorithm
- with a given key. At runtime when we determine a particular column is marked for TCE, based on the encryption algorithm we invoke
- the corresponding factory class and retrieve an object to an encryption algorithm.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientEncryptionAlgorithmFactory.Create(Microsoft.Data.SqlClient.SqlClientSymmetricKey,Microsoft.Data.SqlClient.SqlClientEncryptionType,System.String)">
- <summary>
- Creates an encrytion algorithm with a given key.
- </summary>
- <param name="encryptionKey">encryption key that should be passed to the encryption algorithm to be created</param>
- <param name="encryptionType">Encryption Type, some algorithms will need this</param>
- <param name="encryptionAlgorithm">Encryption algorithm name. Needed for extracting version bits</param>
- <returns>Return a newly created SqlClientEncryptionAlgorithm instance</returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlClientEncryptionAlgorithmFactoryList">
- <summary>
- Implements a global directory of all the encryption algorithms registered with client.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientEncryptionAlgorithmFactoryList.GetRegisteredCipherAlgorithmNames">
- <summary>
-
- </summary>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientEncryptionAlgorithmFactoryList.GetAlgorithm(Microsoft.Data.SqlClient.SqlClientSymmetricKey,System.Byte,System.String,Microsoft.Data.SqlClient.SqlClientEncryptionAlgorithm@)">
- <summary>
- Gets the algorithm handle instance for a given algorithm and instantiates it using the provided key and the encryption type.
- </summary>
- <param name="key"></param>
- <param name="type"></param>
- <param name="algorithmName"></param>
- <param name="encryptionAlgorithm"></param>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlClientEncryptionType">
- <summary>
- Encryption types supported in TCE
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlClientFactory">
- <summary>
- Represents a set of methods for creating instances of the
- <see cref="N:Microsoft.Data.SqlClient" />
- provider's implementation of the data source classes.
- </summary><remarks>
- To be added.
- </remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlClientFactory.Instance">
- <summary>
- Gets an instance of the
- <see cref="T:Microsoft.Data.SqlClient.SqlClientFactory" />
- . This can be used to retrieve strongly typed data objects.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Examples
- The following code fragment uses the <xref:Microsoft.Data.SqlClient.SqlClientFactory.Instance> property to retrieve a **SqlClientFactory** instance, and then return a strongly typed
- <xref:System.Data.Common.DbCommand> instance:
- ```csharp
- SqlClientFactory newFactory = SqlClientFactory.Instance;
- DbCommand cmd = newFactory.CreateCommand();
- ```
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlClientFactory.CanCreateDataSourceEnumerator">
- <summary>
- Gets a value that indicates whether a
- <see cref="T:System.Data.Sql.SqlDataSourceEnumerator" />
- can be created.
- </summary><value>
- <see langword="true" />
- if a
- <see cref="T:System.Data.Sql.SqlDataSourceEnumerator" />
- can be created; otherwise,
- <see langword="false" />
- .
- </value><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientFactory.CreateCommand">
- <summary>
- Returns a strongly typed
- <see cref="T:System.Data.Common.DbCommand" />
- instance.
- </summary><returns>
- A new strongly typed instance of
- <see cref="T:System.Data.Common.DbCommand" />
- .
- </returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Examples
- The following code fragment returns a strongly typed <xref:System.Data.Common.DbCommand> instance:
- ```csharp
- SqlClientFactory newFactory = SqlClientFactory.Instance;
- DbCommand cmd = newFactory.CreateCommand();
- ```
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientFactory.CreateCommandBuilder">
- <summary>
- Returns a strongly typed
- <see cref="T:System.Data.Common.DbCommandBuilder" />
- instance.
- </summary><returns>
- A new strongly typed instance of
- <see cref="T:System.Data.Common.DbCommandBuilder" />
- .
- </returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Examples
- The following code fragment returns a strongly typed <xref:System.Data.Common.DbCommandBuilder> instance:
- ```csharp
- SqlClientFactory newFactory = SqlClientFactory.Instance;
- DbCommandBuilder cmd = newFactory.CreateCommandBuilder();
- ```
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientFactory.CreateConnection">
- <summary>
- Returns a strongly typed
- <see cref="T:System.Data.Common.DbConnection" />
- instance.
- </summary><returns>
- A new strongly typed instance of
- <see cref="T:System.Data.Common.DbConnection" />
- .
- </returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Examples
- The following code fragment returns a strongly typed <xref:System.Data.Common.DbConnection> instance:
- ```csharp
- SqlClientFactory newFactory = SqlClientFactory.Instance;
- DbConnection cmd = newFactory.CreateConnection();
- ```
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientFactory.CreateConnectionStringBuilder">
- <summary>
- Returns a strongly typed
- <see cref="T:System.Data.Common.DbConnectionStringBuilder" />
- instance.
- </summary><returns>
- A new strongly typed instance of
- <see cref="T:System.Data.Common.DbConnectionStringBuilder" />
- .
- </returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Examples
- The following code fragment returns a strongly typed <xref:System.Data.Common.DbConnectionStringBuilder> instance:
- ```csharp
- SqlClientFactory newFactory = SqlClientFactory.Instance;
- DbConnectionStringBuilder cmd =
- newFactory.CreateConnectionStringBuilder();
- ```
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientFactory.CreateDataAdapter">
- <summary>
- Returns a strongly typed
- <see cref="T:System.Data.Common.DbDataAdapter" />
- instance.
- </summary><returns>
- A new strongly typed instance of
- <see cref="T:System.Data.Common.DbDataAdapter" />
- .
- </returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Examples
- The following code fragment returns a strongly typed <xref:System.Data.Common.DbDataAdapter> instance:
- ```csharp
- SqlClientFactory newFactory = SqlClientFactory.Instance;
- DbDataAdapter cmd = newFactory.CreateDataAdapter();
- ```
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientFactory.CreateParameter">
- <summary>
- Returns a strongly typed
- <see cref="T:System.Data.Common.DbParameter" />
- instance.
- </summary><returns>
- A new strongly typed instance of
- <see cref="T:System.Data.Common.DbParameter" />
- .
- </returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Examples
- The following code fragment returns a strongly typed <xref:System.Data.Common.DbParameter> instance:
- ```csharp
- SqlClientFactory newFactory = SqlClientFactory.Instance;
- DbParameter cmd = newFactory.CreateParameter();
- ```
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientFactory.CreatePermission(System.Security.Permissions.PermissionState)">
- <param name="state">
- A member of the
- <see cref="T:System.Security.Permissions.PermissionState" />
- enumeration.
- </param><summary>
- Returns a new
- <see cref="T:System.Security.CodeAccessPermission" />
- .
- </summary><returns>
- A strongly typed instance of
- <see cref="T:System.Security.CodeAccessPermission" />
- .
- </returns><remarks>
- To be added.
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientFactory.CreateDataSourceEnumerator">
- <summary>
- Returns a new
- <see cref="T:System.Data.Sql.SqlDataSourceEnumerator" />
- .
- </summary><returns>
- A new data source enumerator.
- </returns><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientFactory.System#IServiceProvider#GetService(System.Type)">
- <summary>
- Extension mechanism for additional services; currently the only service
- supported is the DbProviderServices
- </summary>
- <returns>requested service provider or null.</returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlClientLogger">
- <summary>Represents a SQL client logger.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientLogger.LogInfo(System.String,System.String,System.String)">
- <param name="type">The type to be logged.</param><param name="method">The logging method.</param><param name="message">The message to be logged.</param><summary>Logs information through a specified method of the current instance type.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientLogger.LogError(System.String,System.String,System.String)">
- <param name="type">The type to be logged.</param><param name="method">The logging method.</param><param name="message">The message to be logged.</param><summary>Logs an error through a specified method of the current instance type.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientLogger.LogAssert(System.Boolean,System.String,System.String,System.String)">
- <param name="value"><see langword="false" /> to log the message; otherwise, <see langword="true" />.</param><param name="type">The type to be logged.</param><param name="method">The logging method.</param><param name="message">The message to be logged.</param><summary>Logs the specified message if <paramref name="value" /> is <see langword="false" />.</summary><returns><see langword="true" /> if the message is not logged; otherwise, <see langword="false" />.</returns><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlClientLogger.IsLoggingEnabled">
- <summary>Gets a value that indicates whether bid tracing is enabled.</summary><value>
- <see langword="true" /> if bid tracing is enabled; otherwise, <see langword="false" />.</value><remarks>To be added.</remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlClientMetaDataCollectionNames">
- <summary>Provides a list of constants for use with the **GetSchema** method to retrieve metadata collections.</summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlClientMetaDataCollectionNames.Columns">
- <summary>A constant for use with the **GetSchema** method that represents the **Columns** collection.</summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlClientMetaDataCollectionNames.Databases">
- <summary>A constant for use with the **GetSchema** method that represents the **Databases** collection.</summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlClientMetaDataCollectionNames.ForeignKeys">
- <summary>A constant for use with the **GetSchema** method that represents the **ForeignKeys** collection.</summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlClientMetaDataCollectionNames.IndexColumns">
- <summary>A constant for use with the **GetSchema** method that represents the **IndexColumns** collection.</summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlClientMetaDataCollectionNames.Indexes">
- <summary>A constant for use with the **GetSchema** method that represents the **Indexes** collection.</summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlClientMetaDataCollectionNames.Parameters">
- <summary>A constant for use with the **GetSchema** method that represents the **Parameters** collection.</summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlClientMetaDataCollectionNames.ProcedureColumns">
- <summary>A constant for use with the **GetSchema** method that represents the **ProcedureColumns** collection.</summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlClientMetaDataCollectionNames.Procedures">
- <summary>A constant for use with the **GetSchema** method that represents the **Procedures** collection.</summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlClientMetaDataCollectionNames.Tables">
- <summary>A constant for use with the **GetSchema** method that represents the **Tables** collection.</summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlClientMetaDataCollectionNames.UserDefinedTypes">
- <summary>A constant for use with the **GetSchema** method that represents the **UserDefinedTypes** collection.</summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlClientMetaDataCollectionNames.Users">
- <summary>A constant for use with the **GetSchema** method that represents the **Users** collection.</summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlClientMetaDataCollectionNames.ViewColumns">
- <summary>A constant for use with the **GetSchema** method that represents the **ViewColumns** collection.</summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlClientMetaDataCollectionNames.Views">
- <summary>A constant for use with the **GetSchema** method that represents the **Views** collection.</summary><remarks>To be added.</remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlClientOriginalNetworkAddressInfo">
- <summary>
- Class to pass original client information.
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlClientPermission">
- <summary>Enables the .NET Framework Data Provider for SQL Server to help make sure that a user has a security level sufficient to access a data source.</summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The <xref:System.Data.Common.DBDataPermission.IsUnrestricted%2A> property takes precedence over the <xref:System.Data.Common.DBDataPermission.AllowBlankPassword%2A> property.
- Therefore, if you set <xref:System.Data.Common.DBDataPermission.AllowBlankPassword%2A> to `false`, you must also set <xref:System.Data.Common.DBDataPermission.IsUnrestricted%2A>
- to `false` to prevent a user from making a connection using a blank password.
- > [!NOTE]
- > When using code access security permissions for ADO.NET, the correct pattern is to start with the most restrictive case (no permissions at all) and then add the specific permissions that
- are needed for the particular task that the code needs to perform. The opposite pattern, starting with all permissions and then denying a specific permission,
- is not secure, because there are many ways of expressing the same connection string. For example, if you start with all permissions and then attempt to deny the use of the connection
- string "server=someserver", the string "server=someserver.mycompany.com" would still be allowed. By always starting by granting no permissions at all, you reduce the chances that there are
- holes in the permission set.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientPermission.#ctor">
- <summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlClientPermission" /> class.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientPermission.#ctor(System.Security.Permissions.PermissionState)">
- <param name="state">One of the <see cref="T:System.Security.Permissions.PermissionState" /> values.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlClientPermission" /> class.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientPermission.#ctor(System.Security.Permissions.PermissionState,System.Boolean)">
- <param name="state">One of the <see cref="T:System.Security.Permissions.PermissionState" /> values.</param><param name="allowBlankPassword">Indicates whether a blank password is allowed.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlClientPermission" /> class.</summary><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientPermission.Add(System.String,System.String,System.Data.KeyRestrictionBehavior)">
- <param name="connectionString">The connection string.</param><param name="restrictions">The key restrictions.</param><param name="behavior">One of the <see cref="T:System.Data.KeyRestrictionBehavior" /> enumerations.</param><summary>Adds a new connection string and a set of restricted keywords to the <see cref="T:Microsoft.Data.SqlClient.SqlClientPermission" /> object.</summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Use this method to configure which connection strings are allowed by a particular permission object. For example, use the following code fragment if you want to only allow a specific
- connection string and nothing else:
- `permission.Add("server=MyServer; database=MyDatabase; Integrated Security=true", "", KeyRestrictionBehavior.AllowOnly)`
- The following example allows connection strings that use any database, but only on the server named MyServer, with any user and password combination and containing no other connection
- string keywords:
- `permission.Add("server=MyServer;", "database=; user id=; password=;", KeyRestrictionBehavior.AllowOnly)`
- The following example uses the same scenario as above but allows for a failover partner that can be used when connecting to servers configured for mirroring:
- `permission.Add("server=MyServer; failover partner=MyMirrorServer", "database=; user id=; password=;", KeyRestrictionBehavior.AllowOnly)`
- > [!NOTE]
- > When using code access security permissions for ADO.NET, the correct pattern is to start with the most restrictive case (no permissions at all) and then add the specific permissions that are
- needed for the particular task that the code needs to perform. The opposite pattern, starting with all permissions and then trying to deny a specific permission, is not secure, because there are
- many ways of expressing the same connection string. For example, if you start with all permissions and then attempt to deny the use of the connection string "server=someserver",
- the string "server=someserver.mycompany.com" would still be allowed. By always starting by granting no permissions at all, you reduce the chances that there are holes in the permission set.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientPermission.Copy">
- <summary>Returns the <see cref="T:Microsoft.Data.SqlClient.SqlClientPermission" /> as an <see cref="T:System.Security.IPermission" />.</summary><returns>A copy of the current permission object.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientPermission.Intersect(System.Security.IPermission)">
- <param name="target">A permission object to intersect with the current permission object. It must be of the same type as the current permission object.</param><summary>Returns a new permission object representing the intersection of the current permission object and the specified permission object.</summary><returns>A new permission object that represents the intersection of the current permission object and the specified permission object. This new permission object is a null reference (<see langword="Nothing" /> in Visual Basic) if the intersection is empty.</returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The intersection of two permissions is a permission that describes the set of operations they both describe. Only a demand that passes both original permissions will pass the intersection.
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">The <paramref name="target" /> parameter is not a null reference (<see langword="Nothing" /> in Visual Basic) and is not an instance of the same class as the current permission object.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientPermission.IsSubsetOf(System.Security.IPermission)">
- <param name="target">A permission object that is to be tested for the subset relationship. This object must be of the same type as the current permission object.</param><summary>Returns a value indicating whether the current permission object is a subset of the specified permission object.</summary><returns>
- <see langword="true" /> if the current permission object is a subset of the specified permission object, otherwise <see langword="false" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The current permission object is a subset of the specified permission object if the current permission object specifies a set of operations that is wholly contained by the specified permission object. For example, a permission that represents access to C:\example.txt is a subset of a permission that represents access to C:\\. If this method returns `true`, the current permission object represents no more access to the protected resource than does the specified permission object.
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">The <paramref name="target" /> parameter is an object that is not of the same type as the current permission object.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientPermission.Union(System.Security.IPermission)">
- <param name="target">A permission object to combine with the current permission object. It must be of the same type as the current permission object.</param><summary>Returns a new permission object that is the union of the current and specified permission objects.</summary><returns>A new permission object that represents the union of the current permission object and the specified permission object.</returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The result of a call to <xref:System.Data.Common.DBDataPermission.Union%2A> is a permission that represents all the operations permitted by both the current permission object and the specified permission object. Any demand that passes either permission passes their union.
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">The <paramref name="target" /> object is not the same type as the current permission object.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientPermission.FromXml(System.Security.SecurityElement)">
- <param name="securityElement">The XML encoding to use to reconstruct the security object.</param><summary>Reconstructs a security object with a specified state from an XML encoding.</summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Custom code that extends security objects needs to implement the `ToXml` and `FromXml` methods to make the objects security encodable.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientPermission.ToXml">
- <summary>Creates an XML encoding of the security object and its current state.</summary><returns>An XML encoding of the security object, including any state information.</returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Custom code that extends security objects must implement the <xref:System.Data.Common.DBDataPermission.ToXml%2A> and <xref:System.Data.Common.DBDataPermission.FromXml%2A> methods to make the objects security encodable.
- ]]></format>
- </remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlClientPermissionAttribute">
- <summary>Associates a security action with a custom security attribute.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientPermissionAttribute.#ctor(System.Security.Permissions.SecurityAction)">
- <param name="action">One of the <see cref="T:System.Security.Permissions.SecurityAction" /> values representing an action that can be performed by using declarative security.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlClientPermissionAttribute" /> class.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientPermissionAttribute.CreatePermission">
- <summary>Returns a <see cref="T:Microsoft.Data.SqlClient.SqlClientPermission" /> object that is configured according to the attribute properties.</summary><returns>A <see cref="T:Microsoft.Data.SqlClient.SqlClientPermission" /> object.</returns><remarks>To be added.</remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlClientSymmetricKey">
- <summary>
- Base class containing raw key bytes for symmetric key algorithms. Some encryption algorithms can use the key directly while others derive sub keys from this.
- If an algorithm needs to derive more keys, have a derived class from this and use it in the corresponding encryption algorithm.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlClientSymmetricKey._rootKey">
- <summary>
- The underlying key material
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientSymmetricKey.#ctor(System.Byte[])">
- <summary>
- Constructor that initializes the root key.
- </summary>
- <param name="rootKey">root key</param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientSymmetricKey.Finalize">
- <summary>
- Empty destructor for binary back compat.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlClientSymmetricKey.RootKey">
- <summary>
- Returns a copy of the plain text key
- This is needed for actual encryption/decryption.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientSymmetricKey.GetKeyHash">
- <summary>
- Computes SHA256 value of the plain text key bytes
- </summary>
- <returns>A string containing SHA256 hash of the root key</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlClientSymmetricKey.Length">
- <summary>
- Gets the length of the root key
- </summary>
- <returns>
- Returns the length of the root key
- </returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider">
- <summary>The implementation of the key store provider for Windows Certificate Store. This class enables using certificates stored in the Windows Certificate Store as column master keys.
- For details, see <see href="https://docs.microsoft.com/sql/relational-databases/security/encryption/always-encrypted-database-engine">Always Encrypted</see>.
- </summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider.ProviderName">
- <summary>The provider name.</summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider.RSAEncryptionAlgorithmWithOAEP">
- <summary>
- RSA_OAEP is the only algorithm supported for encrypting/decrypting column encryption keys.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider._certLocationLocalMachine">
- <summary>
- LocalMachine certificate store location. Valid certificate locations are LocalMachine and CurrentUser.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider._certLocationCurrentUser">
- <summary>
- CurrentUser certificate store location. Valid certificate locations are LocalMachine and CurrentUser.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider._myCertificateStore">
- <summary>
- Valid certificate store
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider._certificatePathFormat">
- <summary>
- Certificate path format. This is a custom format.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider._hashingAlgorithm">
- <summary>
- Hashing algorithm used for signing
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider._version">
- <summary>
- Algorithm version
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider.DecryptColumnEncryptionKey(System.String,System.String,System.Byte[])">
- <param name="masterKeyPath">The master key path.</param><param name="encryptionAlgorithm">The encryption algorithm. Currently, the only valid value is: <c>RSA_OAEP</c>
- </param><param name="encryptedColumnEncryptionKey">The encrypted column encryption key.</param><summary>Decrypts the specified encrypted value of a column encryption key. The encrypted value is expected to be encrypted using the certificate with the specified key path and using the specified
- algorithm. The format of the key path should be "Local Machine/My/<certificate_thumbprint>" or "Current User/My/<certificate_thumbprint>".
- </summary><returns>Returns <see cref="T:System.Byte" />
- . The decrypted column encryption key.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider.EncryptColumnEncryptionKey(System.String,System.String,System.Byte[])">
- <param name="masterKeyPath">The master key path.</param><param name="encryptionAlgorithm">The encryption algorithm. Currently, the only valid value is: <c>RSA_OAEP</c>
- </param><param name="columnEncryptionKey">The encrypted column encryption key.</param><summary>Encrypts a column encryption key using the certificate with the specified key path and using the specified algorithm. The format of the key path should be
- "Local Machine/My/<certificate_thumbprint>" or "Current User/My/<certificate_thumbprint>".
- </summary><returns>Returns <see cref="T:System.Byte" />
- . The encrypted column encryption key.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider.SignColumnMasterKeyMetadata(System.String,System.Boolean)">
- <param name="masterKeyPath">The column master key path.</param><param name="allowEnclaveComputations">
- <see langword="true" />
- to indicate that the column master key supports enclave computations; otherwise, <see langword="false" />
- .</param><summary>Digitally signs the column master key metadata with the column master key referenced by the <paramref name="masterKeyPath" />
- parameter.</summary><returns>The signature of the column master key metadata.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider.VerifyColumnMasterKeyMetadata(System.String,System.Boolean,System.Byte[])">
- <param name="masterKeyPath">The complete path of an asymmetric key. The path format is specific to a key store provider.</param><param name="allowEnclaveComputations">A Boolean that indicates if this key can be sent to the trusted enclave.</param><param name="signature">The master key metadata siognature.</param><summary>This function must be implemented by the corresponding Key Store providers. This function should use an asymmetric key identified by a key path and verify the masterkey metadata consisting of (masterKeyPath, allowEnclaveComputations, providerName).</summary><returns>A Boolean value that indicates if the master key metadata can be verified based on the provided signature.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider.ValidateEncryptionAlgorithm(System.String,System.Boolean)">
- <summary>
- This function validates that the encryption algorithm is RSA_OAEP and if it is not,
- then throws an exception
- </summary>
- <param name="encryptionAlgorithm">Asymmetric key encryptio algorithm</param>
- <param name="isSystemOp"></param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider.ValidateCertificatePathLength(System.String,System.Boolean)">
- <summary>
- Certificate path length has to fit in two bytes, so check its value against Int16.MaxValue
- </summary>
- <param name="masterKeyPath"></param>
- <param name="isSystemOp"></param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider.GetValidCertificateLocations">
- <summary>
- Gets a string array containing Valid certificate locations.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider.ValidateNonEmptyCertificatePath(System.String,System.Boolean)">
- <summary>
- Checks if the certificate path is Empty or Null (and raises exception if they are).
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider.GetCertificateByPath(System.String,System.Boolean)">
- <summary>
- Parses the given certificate path, searches in certificate store and returns a matching certificate
- </summary>
- <param name="keyPath">
- Certificate key path. Format of the path is [LocalMachine|CurrentUser]/[storename]/thumbprint
- </param>
- <param name="isSystemOp"></param>
- <returns>Returns the certificate identified by the certificate path</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider.GetCertificate(System.Security.Cryptography.X509Certificates.StoreLocation,System.Security.Cryptography.X509Certificates.StoreName,System.String,System.String,System.Boolean)">
- <summary>
- Searches for a certificate in certificate store and returns the matching certificate
- </summary>
- <param name="storeLocation">Store Location: This can be one of LocalMachine or UserName</param>
- <param name="storeName">Store Location: Currently this can only be My store.</param>
- <param name="masterKeyPath"></param>
- <param name="thumbprint">Certificate thumbprint</param>
- <param name="isSystemOp"></param>
- <returns>Matching certificate</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider.RSAEncrypt(System.Byte[],System.Security.Cryptography.X509Certificates.X509Certificate2)">
- <summary>
- Encrypt the text using specified certificate.
- </summary>
- <param name="plainText">Text to encrypt.</param>
- <param name="certificate">Certificate object.</param>
- <returns>Returns an encrypted blob or throws an exception if there are any errors.</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider.RSADecrypt(System.Byte[],System.Security.Cryptography.X509Certificates.X509Certificate2)">
- <summary>
- Encrypt the text using specified certificate.
- </summary>
- <param name="cipherText">Text to decrypt.</param>
- <param name="certificate">Certificate object.</param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider.RSASignHashedData(System.Byte[],System.Security.Cryptography.X509Certificates.X509Certificate2)">
- <summary>
- Generates signature based on RSA PKCS#v1.5 scheme using a specified certificate.
- </summary>
- <param name="dataToSign">Text to sign.</param>
- <param name="certificate">Certificate object.</param>
- <returns>Signature</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider.RSAVerifySignature(System.Byte[],System.Byte[],System.Security.Cryptography.X509Certificates.X509Certificate2)">
- <summary>
- Verifies the given RSA PKCSv1.5 signature.
- </summary>
- <param name="dataToVerify"></param>
- <param name="signature"></param>
- <param name="certificate"></param>
- <returns>true if signature is valid, false if it is not valid</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCertificateStoreProvider.GetCSPFromCertificatePrivateKey(System.Security.Cryptography.X509Certificates.X509Certificate2)">
- <summary>
- Prepares RSACryptoServiceProvider from a given certificate's private key
- </summary>
- <param name="certificate"></param>
- <returns></returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlColumnEncryptionCngProvider">
- <summary>The CMK Store provider implementation for using the Microsoft Cryptography API: Next Generation (CNG) with
- <see href="https://docs.microsoft.com/sql/relational-databases/security/encryption/always-encrypted-database-engine">Always Encrypted</see>.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Enables storing Always Encrypted column master key keys in a store, such as a hardware security module (HSM), that supports the Microsoft Cryptography API: Next Generation (CNG).
-
- ]]></format>
- </remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlColumnEncryptionCngProvider.ProviderName">
- <summary>A constant string for the provider name 'MSSQL_CNG_STORE'.</summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlColumnEncryptionCngProvider.RSAEncryptionAlgorithmWithOAEP">
- <summary>
- RSA_OAEP is the only algorithm supported for encrypting/decrypting column encryption keys using this provider.
- For now, we are keeping all the providers in sync.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlColumnEncryptionCngProvider._version">
- <summary>
- Algorithm version
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCngProvider.DecryptColumnEncryptionKey(System.String,System.String,System.Byte[])">
- <param name="masterKeyPath">The master key path.</param><param name="encryptionAlgorithm">The encryption algorithm.</param><param name="encryptedColumnEncryptionKey">The encrypted column encryption key.</param><summary>Decrypts the given encrypted value using an asymmetric key specified by the key path and the specified algorithm. The key path will be in the format of [ProviderName]/KeyIdentifier
- and should be an asymmetric key stored in the specified CNG key store provider. The valid algorithm used to encrypt/decrypt the CEK is 'RSA_OAEP'.
- </summary><returns>The decrypted column encryption key.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCngProvider.EncryptColumnEncryptionKey(System.String,System.String,System.Byte[])">
- <param name="masterKeyPath">The master key path.</param><param name="encryptionAlgorithm">The encryption algorithm.</param><param name="columnEncryptionKey">The encrypted column encryption key.</param><summary>Encrypts the given plain text column encryption key using an asymmetric key specified by the key path and the specified algorithm. The key path will be in the format of [ProviderName]/KeyIdentifier and should be an asymmetric key stored in the specified CNG key store provider. The valid algorithm used to encrypt/decrypt the CEK is 'RSA_OAEP'.</summary><returns>The encrypted column encryption key.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCngProvider.SignColumnMasterKeyMetadata(System.String,System.Boolean)">
- <param name="masterKeyPath">The column master key path. The path format is specific to a key store provider.</param><param name="allowEnclaveComputations"><see langword="true" /> to indicate that the column master key supports enclave computations; otherwise, <see langword="false" />.</param><summary>Throws a <see cref="T:System.NotSupportedException" /> exception in all cases.</summary><returns>The signature of the column master key metadata.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlColumnEncryptionCngProvider.SignColumnMasterKeyMetadata%2A> method must be implemented by the corresponding key store providers.
- <xref:Microsoft.Data.SqlClient.SqlColumnEncryptionCngProvider.SignColumnMasterKeyMetadata%2A> should use an asymmetric key identified by a key path and sign the masterkey metadata consisting
- of `masterKeyPath`, `allowEnclaveComputations`, and providerName.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCngProvider.VerifyColumnMasterKeyMetadata(System.String,System.Boolean,System.Byte[])">
- <param name="masterKeyPath">The complete path of an asymmetric key. The path format is specific to a key store provider.</param><param name="allowEnclaveComputations">A Boolean that indicates if this key can be sent to the trusted enclave.</param><param name="signature">The master key metadata signature.</param><summary>This function must be implemented by the corresponding Key Store providers. This function should use an asymmetric key identified by a key path and verify the masterkey metadata consisting of (masterKeyPath, allowEnclaveComputations, providerName).</summary><returns>A Boolean that indicates if the master key metadata can be verified based on the provided signature.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCngProvider.ValidateEncryptionAlgorithm(System.String,System.Boolean)">
- <summary>
- This function validates that the encryption algorithm is RSA_OAEP and if it is not,
- then throws an exception
- </summary>
- <param name="encryptionAlgorithm">Asymmetric key encryptio algorithm</param>
- <param name="isSystemOp">Indicates if ADO.NET calls or the customer calls the API</param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCngProvider.ValidateNonEmptyKeyPath(System.String,System.Boolean)">
- <summary>
- Checks if the CNG key path is Empty or Null (and raises exception if they are).
- </summary>
- <param name="masterKeyPath">keypath containing the CNG provider name and key name</param>
- <param name="isSystemOp">Indicates if ADO.NET calls or the customer calls the API</param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCngProvider.RSAEncrypt(System.Security.Cryptography.RSACng,System.Byte[])">
- <summary>
- Encrypt the text using specified CNG key.
- </summary>
- <param name="rsaCngProvider">RSA CNG Provider.</param>
- <param name="columnEncryptionKey">Plain text Column Encryption Key.</param>
- <returns>Returns an encrypted blob or throws an exception if there are any errors.</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCngProvider.RSADecrypt(System.Security.Cryptography.RSACng,System.Byte[])">
- <summary>
- Decrypt the text using the specified CNG key.
- </summary>
- <param name="rsaCngProvider">RSA CNG Provider.</param>
- <param name="encryptedColumnEncryptionKey">Encrypted Column Encryption Key.</param>
- <returns>Returns the decrypted plaintext Column Encryption Key or throws an exception if there are any errors.</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCngProvider.RSASignHashedData(System.Byte[],System.Security.Cryptography.RSACng)">
- <summary>
- Generates signature based on RSA PKCS#v1.5 scheme using a specified CNG Key.
- </summary>
- <param name="dataToSign">Text to sign.</param>
- <param name="rsaCngProvider">RSA CNG Provider.</param>
- <returns>Signature</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCngProvider.RSAVerifySignature(System.Byte[],System.Byte[],System.Security.Cryptography.RSACng)">
- <summary>
- Verifies the given RSA PKCSv1.5 signature.
- </summary>
- <param name="dataToVerify"></param>
- <param name="signature"></param>
- <param name="rsaCngProvider">RSA CNG Provider.</param>
- <returns>true if signature is valid, false if it is not valid</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCngProvider.GetKeySize(System.Security.Cryptography.RSACng)">
- <summary>
- Gets the public Key size in bytes
- </summary>
- <param name="rsaCngProvider">RSA CNG Provider.</param>
- <returns>Key size in bytes</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCngProvider.CreateRSACngProvider(System.String,System.Boolean)">
- <summary>
- Creates a RSACng object from the given keyName
- </summary>
- <param name="keyPath"></param>
- <param name="isSystemOp">Indicates if ADO.NET calls or the customer calls the API</param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCngProvider.GetCngProviderAndKeyId(System.String,System.Boolean,System.String@,System.String@)">
- <summary>
- Extracts the CNG provider and key name from the key path
- </summary>
- <param name="keyPath">keypath in the format [CNG Provider]\[KeyName]</param>
- <param name="isSystemOp">Indicates if ADO.NET calls or the customer calls the API</param>
- <param name="cngProvider">CNG Provider</param>
- <param name="keyIdentifier">Key identifier inside the CNG provider</param>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider">
- <summary>The CMK Store provider implementation for using Microsoft CAPI based Cryptographic Service Providers (CSP) with
- <see href="https://docs.microsoft.com/sql/relational-databases/security/encryption/always-encrypted-database-engine">Always Encrypted</see>.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Enables storing Always Encrypted column master key keys in a store, such as a hardware security module (HSM), that supports the Microsoft CAPI based Cryptographic Service Providers (CSP).
- ]]></format>
- </remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider.ProviderName">
- <summary>A constant string for the provider name 'MSSQL_CSP_PROVIDER'.</summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider.RSAEncryptionAlgorithmWithOAEP">
- <summary>
- RSA_OAEP is the only algorithm supported for encrypting/decrypting column encryption keys using this provider.
- For now, we are keeping all the providers in sync.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider._version">
- <summary>
- Algorithm version
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider.DecryptColumnEncryptionKey(System.String,System.String,System.Byte[])">
- <param name="masterKeyPath">The master key path.</param><param name="encryptionAlgorithm">The encryption algorithm.</param><param name="encryptedColumnEncryptionKey">The encrypted column encryption key.</param><summary>Decrypts the given encrypted value using an asymmetric key specified by the key path and algorithm. The key path will be in the format of [ProviderName]/KeyIdentifier and should be an asymmetric key stored in the specified CSP provider. The valid algorithm used to encrypt/decrypt the CEK is 'RSA_OAEP'.</summary><returns>The decrypted column encryption key.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider.EncryptColumnEncryptionKey(System.String,System.String,System.Byte[])">
- <param name="masterKeyPath">The master key path.</param><param name="encryptionAlgorithm">The encryption algorithm.</param><param name="columnEncryptionKey">The encrypted column encryption key.</param><summary>Encrypts the given plain text column encryption key using an asymmetric key specified by the key path and the specified algorithm. The key path will be in the format of [ProviderName]/KeyIdentifier and should be an asymmetric key stored in the specified CSP provider. The valid algorithm used to encrypt/decrypt the CEK is 'RSA_OAEP'.</summary><returns>The encrypted column encryption key.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider.SignColumnMasterKeyMetadata(System.String,System.Boolean)">
- <param name="masterKeyPath">The column master key path. The path format is specific to a key store provider.</param><param name="allowEnclaveComputations"><see langword="true" /> to indicate that the column master key supports enclave computations; otherwise, <see langword="false" />.</param><summary>Throws a <see cref="T:System.NotSupportedException" /> exception in all cases.</summary><returns>The signature of the column master key metadata.</returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider.SignColumnMasterKeyMetadata%2A> method must be implemented by the corresponding key store providers.
- <xref:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider.SignColumnMasterKeyMetadata%2A> should use an asymmetric key identified by a key path and sign the masterkey metadata
- consisting of `masterKeyPath`, `allowEnclaveComputations`, and providerName.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider.VerifyColumnMasterKeyMetadata(System.String,System.Boolean,System.Byte[])">
- <param name="masterKeyPath">The complete path of an asymmetric key. The path format is specific to a key store provider.</param><param name="allowEnclaveComputations">A boolean that indicates if this key can be sent to the trusted enclave.</param><param name="signature">Master key metadata signature.</param><summary>This function must be implemented by the corresponding Key Store providers. This function should use an asymmetric key identified by a key path and sign the masterkey metadata consisting of (masterKeyPath, allowEnclaveComputations, providerName).</summary><returns>A Boolean that indicates if the master key metadata can be verified based on the provided signature.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider.ValidateEncryptionAlgorithm(System.String,System.Boolean)">
- <summary>
- This function validates that the encryption algorithm is RSA_OAEP and if it is not,
- then throws an exception
- </summary>
- <param name="encryptionAlgorithm">Asymmetric key encryptio algorithm</param>
- <param name="isSystemOp">Indicates if ADO.NET calls or the customer calls the API</param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider.ValidateNonEmptyCSPKeyPath(System.String,System.Boolean)">
- <summary>
- Checks if the CSP key path is Empty or Null (and raises exception if they are).
- </summary>
- <param name="masterKeyPath">CSP key path.</param>
- <param name="isSystemOp">Indicates if ADO.NET calls or the customer calls the API</param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider.RSAEncrypt(System.Security.Cryptography.RSACryptoServiceProvider,System.Byte[])">
- <summary>
- Encrypt the text using specified CSP key.
- </summary>
- <param name="rscp">RSACryptoServiceProvider</param>
- <param name="columnEncryptionKey">Plain text Column Encryption Key.</param>
- <returns>Returns an encrypted blob or throws an exception if there are any errors.</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider.RSADecrypt(System.Security.Cryptography.RSACryptoServiceProvider,System.Byte[])">
- <summary>
- Decrypt the text using specified CSP key.
- </summary>
- <param name="rscp">RSACryptoServiceProvider</param>
- <param name="encryptedColumnEncryptionKey">Encrypted Column Encryption Key.</param>
- <returns>Returns the decrypted plaintext Column Encryption Key or throws an exception if there are any errors.</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider.RSASignHashedData(System.Byte[],System.Security.Cryptography.RSACryptoServiceProvider)">
- <summary>
- Generates signature based on RSA PKCS#v1.5 scheme using a specified CSP Key URL.
- </summary>
- <param name="dataToSign">Text to sign.</param>
- <param name="rscp">RSA Provider with a given key</param>
- <returns>Signature</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider.RSAVerifySignature(System.Byte[],System.Byte[],System.Security.Cryptography.RSACryptoServiceProvider)">
- <summary>
- Verifies the given RSA PKCSv1.5 signature.
- </summary>
- <param name="dataToVerify"></param>
- <param name="signature"></param>
- <param name="rscp">RSA Provider with a given key</param>
- <returns>true if signature is valid, false if it is not valid</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider.GetKeySize(System.Security.Cryptography.RSACryptoServiceProvider)">
- <summary>
- Gets the public Key size in bytes
- </summary>
- <param name="rscp">RSA Provider with a given key</param>
- <returns>Key size in bytes</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider.CreateRSACryptoProvider(System.String,System.Boolean)">
- <summary>
- Creates a RSACryptoServiceProvider from the given key path which contains both CSP name and key name
- </summary>
- <param name="keyPath">key path in the format of [CAPI provider name]\[key name]</param>
- <param name="isSystemOp">Indicates if ADO.NET calls or the customer calls the API</param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider.GetCspProviderAndKeyName(System.String,System.Boolean,System.String@,System.String@)">
- <summary>
- Extracts the CSP provider name and key name from the given key path
- </summary>
- <param name="keyPath">key path in the format of [CSP provider name]\[key name]</param>
- <param name="isSystemOp">Indicates if ADO.NET calls or the customer calls the API</param>
- <param name="cspProviderName">output containing the CSP provider name</param>
- <param name="keyIdentifier">output containing the key name</param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionCspProvider.GetProviderType(System.String,System.String,System.Boolean)">
- <summary>
- Gets the provider type from a given CAPI provider name
- </summary>
- <param name="providerName">CAPI provider name</param>
- <param name="keyPath">key path in the format of [CSP provider name]\[key name]</param>
- <param name="isSystemOp">Indicates if ADO.NET calls or the customer calls the API</param>
- <returns></returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlColumnEncryptionEnclaveProvider">
- <summary>The base class that defines the interface for enclave providers for Always Encrypted.</summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- An enclave is a protected region of memory inside SQL Server, used for computations on encrypted columns. An enclave provider encapsulates the client-side implementation details of
- the enclave attestation protocol as well as the logic for creating and caching enclave sessions.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionEnclaveProvider.GetEnclaveSession(System.String,System.String,Microsoft.Data.SqlClient.SqlEnclaveSession@,System.Int64@)">
- <param name="serverName">The name of the SQL Server instance containing the enclave.</param><param name="attestationUrl">The endpoint of an attestation service, SqlClient contacts to attest the enclave.</param><param name="sqlEnclaveSession">When this method returns, the requested enclave session or <see langword="null" /> if the provider doesn't implement session caching. This parameter is treated as uninitialized.</param><param name="counter">A counter that the enclave provider is expected to increment each time SqlClient retrieves the session from the cache. The purpose of this field is to prevent replay attacks.</param><summary>When overridden in a derived class, looks up an existing enclave session information in the enclave session cache. If the enclave provider doesn't implement enclave session caching, this method is expected to return <see langword="null" /> in the <paramref name="sqlEnclaveSession" /> parameter.
- </summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionEnclaveProvider.GetAttestationParameters">
- <summary>Gets the information that SqlClient subsequently uses to initiate the process of attesting the enclave and to establish a secure session with the enclave.</summary><returns>The information SqlClient subsequently uses to initiate the process of attesting the enclave and to establish a secure session with the enclave.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionEnclaveProvider.CreateEnclaveSession(System.Byte[],System.Security.Cryptography.ECDiffieHellmanCng,System.String,System.String,Microsoft.Data.SqlClient.SqlEnclaveSession@,System.Int64@)">
- <param name="enclaveAttestationInfo">The information the provider uses to attest the enclave and generate a symmetric key for the session. The format of this information is specific to the enclave attestation protocol.</param><param name="clientDiffieHellmanKey">A Diffie-Hellman algorithm object that encapsulates a client-side key pair.</param><param name="attestationUrl">The endpoint of an attestation service for attesting the enclave.</param><param name="servername">The name of the SQL Server instance containing the enclave.</param><param name="sqlEnclaveSession">The requested enclave session or <see langword="null" /> if the provider doesn't implement session caching.</param><param name="counter">A counter that the enclave provider is expected to increment each time SqlClient retrieves the session from the cache. The purpose of this field is to prevent replay attacks.</param><summary>When overridden in a derived class, performs enclave attestation, generates a symmetric key for the session, creates a an enclave session and stores the session information in the cache.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionEnclaveProvider.InvalidateEnclaveSession(System.String,System.String,Microsoft.Data.SqlClient.SqlEnclaveSession)">
- <param name="serverName">The name of the SQL Server instance containing the enclave.</param><param name="enclaveAttestationUrl">The endpoint of an attestation service, SqlClient contacts to attest the enclave.</param><param name="enclaveSession">The session to be invalidated.</param><summary>When overridden in a derived class, looks up and evicts an enclave session from the enclave session cache, if the provider implements session caching.</summary><remarks>To be added.</remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlColumnEncryptionKeyStoreProvider">
- <summary>Base class for all key store providers. A custom provider must derive from this class and override its member functions and then register it using SqlConnection.RegisterColumnEncryptionKeyStoreProviders(). For details see, <see href="https://docs.microsoft.com/sql/relational-databases/security/encryption/always-encrypted-database-engine"> Always Encrypted</see>.
- </summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionKeyStoreProvider.DecryptColumnEncryptionKey(System.String,System.String,System.Byte[])">
- <param name="masterKeyPath">The master key path.</param><param name="encryptionAlgorithm">The encryption algorithm.</param><param name="encryptedColumnEncryptionKey">The encrypted column encryption key.</param><summary>Decrypts the specified encrypted value of a column encryption key. The encrypted value is expected to be encrypted using the column master key with the specified key path and using the specified algorithm.
- </summary><returns>Returns <see cref="T:System.Byte" />. The decrypted column encryption key.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionKeyStoreProvider.EncryptColumnEncryptionKey(System.String,System.String,System.Byte[])">
- <param name="masterKeyPath">The master key path.</param><param name="encryptionAlgorithm">The encryption algorithm.</param><param name="columnEncryptionKey">The encrypted column encryption key.</param><summary>Encrypts a column encryption key using the column master key with the specified key path and using the specified algorithm.</summary><returns>Returns <see cref="T:System.Byte" />. The encrypted column encryption key.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionKeyStoreProvider.SignColumnMasterKeyMetadata(System.String,System.Boolean)">
- <param name="masterKeyPath">The column master key path.</param><param name="allowEnclaveComputations"><see langword="true" /> to indicate that the column master key supports enclave computations; otherwise, <see langword="false" />.</param><summary>When implemented in a derived class, digitally signs the column master key metadata with the column master key referenced by the <paramref name="masterKeyPath" /> parameter. The input values used to generate the signature should be the specified values of the <paramref name="masterKeyPath" /> and <paramref name="allowEnclaveComputations" /> parameters.
- </summary><returns>The signature of the column master key metadata.</returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks><exception cref="T:System.NotImplementedException">In all cases.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionKeyStoreProvider.VerifyColumnMasterKeyMetadata(System.String,System.Boolean,System.Byte[])">
- <param name="masterKeyPath">The column master key path.</param><param name="allowEnclaveComputations">Indicates whether the column master key supports enclave computations.</param><param name="signature">The signature of the column master key metadata.</param><summary>When implemented in a derived class, this method is expected to verify the specified signature is valid for the column master key with the specified key path and the specified enclave behavior. The default implementation throws NotImplementedException.</summary><returns>When implemented in a derived class, the method is expected to return true if the specified signature is valid, or false if the specified signature is not valid. The default implementation throws NotImplementedException.</returns><remarks>To be added.</remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlCommand">
- <summary>
- Represents a Transact-SQL statement or stored procedure to execute against a SQL Server database. This class cannot be inherited.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- When an instance of <xref:Microsoft.Data.SqlClient.SqlCommand> is created, the read/write properties are set to their initial values. For a list of these values, see the <xref:Microsoft.Data.SqlClient.SqlCommand> constructor.
- <xref:Microsoft.Data.SqlClient.SqlCommand> features the following methods for executing commands at a SQL Server database:
- |Item|Description|
- |----------|-----------------|
- |<xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteNonQuery%2A>|Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this <xref:Microsoft.Data.SqlClient.SqlCommand>, generally executing commands such as INSERT, DELETE, UPDATE, and SET statements. Each call to <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteNonQuery%2A> must be paired with a call to <xref:Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQuery%2A> which finishes the operation, typically on a separate thread.|
- |<xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteReader%2A>|Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this <xref:Microsoft.Data.SqlClient.SqlCommand> and retrieves one or more results sets from the server. Each call to <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteReader%2A> must be paired with a call to <xref:Microsoft.Data.SqlClient.SqlCommand.EndExecuteReader%2A> which finishes the operation, typically on a separate thread.|
- |<xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteXmlReader%2A>|Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this <xref:Microsoft.Data.SqlClient.SqlCommand>. Each call to `BeginExecuteXmlReader` must be paired with a call to `EndExecuteXmlReader`, which finishes the operation, typically on a separate thread, and returns an <xref:System.Xml.XmlReader> object.|
- |<xref:Microsoft.Data.SqlClient.SqlCommand.ExecuteReader%2A>|Executes commands that return rows. For increased performance, <xref:Microsoft.Data.SqlClient.SqlCommand.ExecuteReader%2A> invokes commands using the Transact-SQL `sp_executesql` system stored procedure. Therefore, <xref:Microsoft.Data.SqlClient.SqlCommand.ExecuteReader%2A> might not have the effect that you want if used to execute commands such as Transact-SQL SET statements.|
- |<xref:Microsoft.Data.SqlClient.SqlCommand.ExecuteNonQuery%2A>|Executes commands such as Transact-SQL INSERT, DELETE, UPDATE, and SET statements.|
- |<xref:Microsoft.Data.SqlClient.SqlCommand.ExecuteScalar%2A>|Retrieves a single value (for example, an aggregate value) from a database.|
- |<xref:Microsoft.Data.SqlClient.SqlCommand.ExecuteXmlReader%2A>|Sends the <xref:Microsoft.Data.SqlClient.SqlCommand.CommandText%2A> to the <xref:Microsoft.Data.SqlClient.SqlCommand.Connection%2A> and builds an <xref:System.Xml.XmlReader> object.|
- You can reset the <xref:Microsoft.Data.SqlClient.SqlCommand.CommandText%2A> property and reuse the <xref:Microsoft.Data.SqlClient.SqlCommand> object. However, you must close the <xref:Microsoft.Data.SqlClient.SqlDataReader> before you can execute a new or previous command.
- If a <xref:Microsoft.Data.SqlClient.SqlException> is generated by the method executing a <xref:Microsoft.Data.SqlClient.SqlCommand>, the <xref:Microsoft.Data.SqlClient.SqlConnection> remains open when the severity level is 19 or less. When the severity level is 20 or greater, the server ordinarily closes the <xref:Microsoft.Data.SqlClient.SqlConnection>. However, the user can reopen the connection and continue.
- > [!NOTE]
- > Nameless, also called ordinal, parameters are not supported by the .NET Framework Data Provider for SQL Server.
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection>, a <xref:Microsoft.Data.SqlClient.SqlCommand>, and a <xref:Microsoft.Data.SqlClient.SqlDataReader>. The example reads through the data, writing it to the console. Finally, the example closes the <xref:Microsoft.Data.SqlClient.SqlDataReader> and then the <xref:Microsoft.Data.SqlClient.SqlConnection> as it exits the `Using` code blocks.
- [!code-csharp[SqlCommand Example#1](~/../sqlclient/doc/samples/SqlCommand.cs#1)]
- The following sample shows how to create and execute different types of SqlCommand objects.
- First you must create the sample database, by executing the following script:
- [!code-sql[Setup Database](~/../sqlclient/doc/samples/SqlCommand_Setup.sql#1)]
- Next, compile and execute the following:
- [!code-csharp[SqlCommand Example#2](~/../sqlclient/doc/samples/SqlCommand_Intro.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlCommand._wasBatchModeColumnEncryptionSettingSetOnce">
- <summary>
- Indicates if the column encryption setting was set at-least once in the batch rpc mode, when using AddBatchCommand.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlCommand._columnEncryptionSetting">
- <summary>
- Column Encryption Override. Defaults to SqlConnectionSetting, in which case
- it will be Enabled if SqlConnectionOptions.IsColumnEncryptionSettingEnabled = true, Disabled if false.
- This may also be used to set other behavior which overrides connection level setting.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommand.IsColumnEncryptionEnabled">
- <summary>
- Return if column encryption setting is enabled.
- The order in the below if is important since _activeConnection.Parser can throw if the
- underlying tds connection is closed and we don't want to change the behavior for folks
- not trying to use transparent parameter encryption i.e. who don't use (SqlCommandColumnEncryptionSetting.Enabled or _activeConnection.IsColumnEncryptionSettingEnabled) here.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlCommand._currentlyExecutingDescribeParameterEncryptionRPC">
- <summary>
- This variable is used to keep track of which RPC batch's results are being read when reading the results of
- describe parameter encryption RPC requests in BatchRPCMode.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlCommand._isDescribeParameterEncryptionRPCCurrentlyInProgress">
- <summary>
- A flag to indicate if we have in-progress describe parameter encryption RPC requests.
- Reset to false when completed.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommand.IsDescribeParameterEncryptionRPCCurrentlyInProgress">
- <summary>
- Return the flag that indicates if describe parameter encryption RPC requests are in-progress.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlCommand._internalEndExecuteInitiated">
- <summary>
- A flag to indicate if EndExecute was already initiated by the Begin call.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommand.CachingQueryMetadataPostponed">
- <summary>
- A flag to indicate whether we postponed caching the query metadata for this command.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.#ctor">
- <summary>
- Initializes a new instance of the
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- class.
- </summary><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.#ctor(System.String)">
- <param name="cmdText">
- The text of the query.
- </param><summary>
- Initializes a new instance of the
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- class with the text of the query.
- </summary><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.#ctor(System.String,Microsoft.Data.SqlClient.SqlConnection)">
- <param name="cmdText">
- The text of the query.
- </param><param name="connection">
- A
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- that represents the connection to an instance of SQL Server.
- </param><summary>
- Initializes a new instance of the
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- class with the text of the query and a
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- .
- </summary><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.#ctor(System.String,Microsoft.Data.SqlClient.SqlConnection,Microsoft.Data.SqlClient.SqlTransaction)">
- <param name="cmdText">
- The text of the query.
- </param><param name="connection">
- A
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- that represents the connection to an instance of SQL Server.
- </param><param name="transaction">
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlTransaction" />
- in which the
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- executes.
- </param><summary>
- Initializes a new instance of the
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- class with the text of the query, a
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- , and the
- <see cref="T:Microsoft.Data.SqlClient.SqlTransaction" />
- .
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The following table shows initial property values for an instance of <xref:Microsoft.Data.SqlClient.SqlCommand>.
- |Properties|Initial value|
- |----------------|-------------------|
- |<xref:Microsoft.Data.SqlClient.SqlCommand.CommandText%2A>|`cmdText`|
- |<xref:Microsoft.Data.SqlClient.SqlCommand.CommandTimeout%2A>|30|
- |<xref:Microsoft.Data.SqlClient.SqlCommand.CommandType%2A>|`CommandType.Text`|
- |<xref:Microsoft.Data.SqlClient.SqlCommand.Connection%2A>|A new <xref:Microsoft.Data.SqlClient.SqlConnection> that is the value for the `connection` parameter.|
- You can change the value for any of these parameters by setting the related property.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.#ctor(System.String,Microsoft.Data.SqlClient.SqlConnection,Microsoft.Data.SqlClient.SqlTransaction,Microsoft.Data.SqlClient.SqlCommandColumnEncryptionSetting)">
- <param name="cmdText">
- The text of the query.
- </param><param name="connection">
- A
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- that represents the connection to an instance of SQL Server.
- </param><param name="transaction">
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlTransaction" />
- in which the
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- executes.
- </param><param name="columnEncryptionSetting">
- The encryption setting. For more information, see [Always Encrypted](/sql/relational-databases/security/encryption/always-encrypted-database-engine).
- </param><summary>
- Initializes a new instance of the
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- class with specified command text, connection, transaction, and encryption setting.
- </summary><remarks>
- To be added.
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommand.Connection">
- <summary>
- Gets or sets the
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- used by this instance of the
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- .
- </summary><value>
- The connection to a data source. The default value is
- <see langword="null" />
- .
- </value><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">
- The
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.Connection" />
- property was changed while the command was enlisted in a transaction.
- </exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommand.DbConnection">
- <summary>
- To be added.
- </summary><value>
- To be added.
- </value><remarks>
- To be added.
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommand.NotificationAutoEnlist">
- <summary>
- Gets or sets a value indicating whether the application should automatically receive query notifications from a common
- <see cref="T:Microsoft.Data.SqlClient.SqlDependency" />
- object.
- </summary><value>
- <see langword="true" />
- if the application should automatically receive query notifications; otherwise
- <see langword="false" />
- . The default value is
- <see langword="true" />
- .
- </value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- This feature is used in ASP.NET applications to receive notifications for all commands executed in an ASP page against SQL Server. This enables ASP.NET to cache the page until the queries used to render the page would produce a different result. Automatic enlistment.
- This property applies only to versions of SQL Server that support query notifications. For earlier versions, setting this property to `true` has no effect on the application.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommand.Notification">
- <summary>
- Gets or sets a value that specifies the
- <see cref="T:Microsoft.Data.Sql.SqlNotificationRequest" />
- object bound to this command.
- </summary><value>
- When set to null (default), no notification should be requested.
- </value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- You must set the value for this property before the command is executed for it to take effect.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommand.Transaction">
- <summary>
- Gets or sets the
- <see cref="T:Microsoft.Data.SqlClient.SqlTransaction" />
- within which the
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- executes.
- </summary><value>
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlTransaction" />
- . The default value is
- <see langword="null" />
- .
- </value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- You cannot set the <xref:Microsoft.Data.SqlClient.SqlCommand.Transaction%2A> property if it is already set to a specific value, and the command is in the process of executing. If you set the transaction property to a <xref:Microsoft.Data.SqlClient.SqlTransaction> object that is not connected to the same <xref:Microsoft.Data.SqlClient.SqlConnection> as the <xref:Microsoft.Data.SqlClient.SqlCommand> object, an exception is thrown the next time that you attempt to execute a statement.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommand.DbTransaction">
- <summary>
- To be added.
- </summary><value>
- To be added.
- </value><remarks>
- To be added.
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommand.CommandText">
- <summary>
- Gets or sets the Transact-SQL statement, table name or stored procedure to execute at the data source.
- </summary><value>
- The Transact-SQL statement or stored procedure to execute. The default is an empty string.
- </value><remarks>
- <format type="text/markdown"><.
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlCommand> and sets some of its properties.
- [!code-csharp[SqlCommand_CommandText](~/../sqlclient/doc/samples/SqlCommand_CommandText.cs)]
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommand.ColumnEncryptionSetting">
- <summary>
- Gets or sets the column encryption setting for this command.
- </summary><value>
- The column encryption setting for this command.
- </value><remarks>
- To be added.
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommand.CommandTimeout">
- <summary>
- Gets or sets the wait time (in seconds) before terminating the attempt to execute a command and generating an error. The default is 30 seconds.
- </summary><value>
- The time in seconds to wait for the command to execute. The default is 30 seconds.
- </value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- A value of 0 indicates no limit (an attempt to execute a command will wait indefinitely).
- > [!NOTE]
- > The <xref:Microsoft.Data.SqlClient.SqlCommand.CommandTimeout%2A> property will be ignored during old-style asynchronous method calls such as <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteReader%2A>. It will be honored by the newer async methods such as <xref:Microsoft.Data.SqlClient.SqlCommand.ExecuteReaderAsync%2A>.
- <xref:Microsoft.Data.SqlClient.SqlCommand.CommandTimeout%2A> has no effect when the command is executed against a context connection (a <xref:Microsoft.Data.SqlClient.SqlConnection> opened with "context connection=true" in the connection string).
- > [!NOTE]
- > This property is the cumulative time-out (for all network packets that are read during the invocation of a method) for all network reads during command execution or processing of the results. A time-out can still occur after the first row is returned, and does not include user processing time, only network read time.
- For example, with a 30 second time out, if <xref:Microsoft.Data.SqlClient.SqlDataReader.Read%2A> requires two network packets, then it has 30 seconds to read both network packets. If you call <xref:Microsoft.Data.SqlClient.SqlDataReader.Read%2A> again, it will have another 30 seconds to read any data that it requires.
- [!code-csharp[SqlCommand CommandTimeout](~/../sqlclient/doc/samples/SqlCommand_CommandTimeout.cs)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.ResetCommandTimeout">
- <summary> Resets the <see cref="P:Microsoft.Data.SqlClient.SqlCommand.CommandTimeout" /> property to its default value.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The default value of the <xref:Microsoft.Data.SqlClient.SqlCommand.CommandTimeout%2A> is 30 seconds.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommand.CommandType">
- <summary>
- Gets or sets a value indicating how the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.CommandText" />
- property is to be interpreted.
- </summary><value>
- One of the
- <see cref="T:System.Data.CommandType" />
- values. The default is
- <see langword="Text" />
- .
- </value><remarks>
- <format type="text/markdown"><.
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlCommand> and sets some of its properties.
- [!code-csharp[IDbCommand_CommandTimeout](~/../sqlclient/doc/samples/IDbCommand_CommandTimeout.cs)]
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommand.DesignTimeVisible">
- <summary>
- Gets or sets a value indicating whether the command object should be visible in a Windows Form Designer control.
- </summary><value>
- A value indicating whether the command object should be visible in a control. The default is
- <see langword="true" />
- .
- </value><remarks>
- To be added.
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommand.Parameters">
- <summary>
- Gets the
- <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />
- .
- </summary><value>
- The parameters of the Transact-SQL statement or stored procedure. The default is an empty collection.
- </value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The Microsoft .NET Framework Data Provider for SQL Server does not support the question mark (?) placeholder for passing parameters to a SQL Statement or a stored procedure called by a command of `CommandType.Text`. In this case, named parameters must be used. For example:
- SELECT * FROM Customers WHERE CustomerID = @CustomerID
- > [!NOTE]
- > If the parameters in the collection do not match the requirements of the query to be executed, an error may result.
- For more information, see [Configuring Parameters and Parameter Data Types](~/docs/framework/data/adonet/configuring-parameters-and-parameter-data-types.md).
- ## Examples
- The following example demonstrates how to create a <xref:Microsoft.Data.SqlClient.SqlCommand> and add parameters to the <xref:Microsoft.Data.SqlClient.SqlParameterCollection>.
- [!code-csharp[SqlParameterCollection.AddWithValue#1](~/../sqlclient/doc/samples/SqlParameterCollection_AddWithValue.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommand.DbParameterCollection">
- <summary>
- To be added.
- </summary><value>
- To be added.
- </value><remarks>
- To be added.
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommand.UpdatedRowSource">
- <summary>
- Gets or sets how command results are applied to the <see cref="T:System.Data.DataRow" /> when used by the **Update** method of the <see cref="T:System.Data.Common.DbDataAdapter" />.
- </summary><value>
- One of the <see cref="T:System.Data.UpdateRowSource" /> values.
- </value><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks>
- </member>
- <member name="E:Microsoft.Data.SqlClient.SqlCommand.StatementCompleted">
- <summary>
- Occurs when the execution of a Transact-SQL statement completes.
- </summary><remarks>
- To be added.
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.Prepare">
- <summary>
- Creates a prepared version of the command on an instance of SQL Server.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- If <xref:Microsoft.Data.SqlClient.SqlCommand.CommandType%2A> is set to `StoredProcedure`, the call to <xref:Microsoft.Data.SqlClient.SqlCommand.Prepare%2A> should succeed, although it may cause a no-op.
- Before you call <xref:Microsoft.Data.SqlClient.SqlCommand.Prepare%2A>, specify the data type of each parameter in the statement to be prepared. For each parameter that has a variable length data type, you must set the <xref:Microsoft.Data.SqlClient.SqlParameter.Size%2A> property to the maximum size needed. <xref:Microsoft.Data.SqlClient.SqlCommand.Prepare%2A> returns an error if these conditions are not met.
- > [!NOTE]
- > If the database context is changed by executing the Transact-SQL `USE <database>` statement, or by calling the <xref:Microsoft.Data.SqlClient.SqlConnection.ChangeDatabase%2A> method, then <xref:Microsoft.Data.SqlClient.SqlCommand.Prepare%2A> must be called a second time.
- If you call an `Execute` method after calling <xref:Microsoft.Data.SqlClient.SqlCommand.Prepare%2A>, any parameter value that is larger than the value specified by the <xref:Microsoft.Data.SqlClient.SqlParameter.Size%2A> property is automatically truncated to the original specified size of the parameter, and no truncation errors are returned.
- Output parameters (whether prepared or not) must have a user-specified data type. If you specify a variable length data type, you must also specify the maximum <xref:Microsoft.Data.SqlClient.SqlParameter.Size%2A>.
- Prior to Visual Studio 2010, <xref:Microsoft.Data.SqlClient.SqlCommand.Prepare%2A> threw an exception. Beginning in Visual Studio 2010, this method does not throw an exception.
- ## Examples
- The following example demonstrates the use of the <xref:Microsoft.Data.SqlClient.SqlCommand.Prepare%2A> method.
- [!code-csharp[SqlCommand.Prepare#1](~/../sqlclient/doc/samples/SqlCommand_Prepare.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.Cancel">
- <summary>
- Tries to cancel the execution of a
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- .
- </summary><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.CreateParameter">
- <summary>
- Creates a new instance of a
- <see cref="T:Microsoft.Data.SqlClient.SqlParameter" />
- object.
- </summary><returns>
- A
- <see cref="T:Microsoft.Data.SqlClient.SqlParameter" />
- object.
- </returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlCommand.CreateParameter%2A> method is a strongly-typed version of <xref:System.Data.IDbCommand.CreateParameter%2A>.
- ]]></format>
- </remarks><summary>
- Creates a new instance of a <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> object.
- </summary><returns>
- A <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> object.
- </returns><remarks>
- To be added.
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.CreateDbParameter">
- <summary>
- To be added.
- </summary><returns>
- To be added.
- </returns><remarks>
- To be added.
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.Dispose(System.Boolean)">
- <param name="disposing">
- To be added.
- </param><summary>
- To be added.
- </summary><remarks>
- To be added.
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteScalar">
- <summary>
- Executes the query, and returns the first column of the first row in the result set returned by the query. Additional columns or rows are ignored.
- </summary><returns>
- The first column of the first row in the result set, or a null reference (
- <see langword="Nothing" />
- in Visual Basic) if the result set is empty. Returns a maximum of 2033 characters.
- </returns><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- An exception occurred while executing the command against a locked row. This exception is not generated when you are using Microsoft .NET Framework version 1.0.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.InvalidOperationException">
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteNonQuery">
- <summary>
- Executes a Transact-SQL statement against the connection and returns the number of rows affected.
- </summary><returns>
- The number of rows affected.
- </returns><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- An exception occurred while executing the command against a locked row. This exception is not generated when you are using Microsoft .NET Framework version 1.0.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.InvalidOperationException">
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteNonQuery">
- <summary>
- Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- .
- </summary><returns>
- An
- <see cref="T:System.IAsyncResult" />
- that can be used to poll or wait for results, or both; this value is also needed when invoking
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQuery(System.IAsyncResult)" />
- , which returns the number of affected rows.
- </returns><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- Any error that occurred while executing the command text.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.InvalidOperationException">
- The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- .
-
- -or-
-
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteNonQuery(System.AsyncCallback,System.Object)">
- <param name="callback">
- An
- <see cref="T:System.AsyncCallback" />
- delegate that is invoked when the command's execution has completed. Pass
- <see langword="null" />
- (
- <see langword="Nothing" />
- in Microsoft Visual Basic) to indicate that no callback is required.
- </param><param name="stateObject">
- A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback procedure using the
- <see cref="P:System.IAsyncResult.AsyncState" />
- property.
- </param><summary>
- Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- , given a callback procedure and state information.
- </summary><returns>
- An
- <see cref="T:System.IAsyncResult" />
- that can be used to poll or wait for results, or both; this value is also needed when invoking
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQuery(System.IAsyncResult)" />
- , which returns the number of affected rows.
- </returns><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- Any error that occurred while executing the command text.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.InvalidOperationException">
- The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- .
-
- -or-
-
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteNonQueryAsync(System.AsyncCallback,System.Object)">
- <param name="callback">
- An
- <see cref="T:System.AsyncCallback" />
- delegate that is invoked when the command's execution has completed. Pass
- <see langword="null" />
- (
- <see langword="Nothing" />
- in Microsoft Visual Basic) to indicate that no callback is required.
- </param><param name="stateObject">
- A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback procedure using the
- <see cref="P:System.IAsyncResult.AsyncState" />
- property.
- </param><summary>
- Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- , given a callback procedure and state information.
- </summary><returns>
- An
- <see cref="T:System.IAsyncResult" />
- that can be used to poll or wait for results, or both; this value is also needed when invoking
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQuery(System.IAsyncResult)" />
- , which returns the number of affected rows.
- </returns><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- Any error that occurred while executing the command text.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.InvalidOperationException">
- The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- .
-
- -or-
-
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQuery(System.IAsyncResult)">
- <param name="asyncResult">
- The
- <see cref="T:System.IAsyncResult" />
- returned by the call to
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteNonQuery" />
- .
- </param><summary>
- Finishes asynchronous execution of a Transact-SQL statement.
- </summary><returns>
- The number of rows affected (the same behavior as
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteNonQuery" />
- ).
- </returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- When you call <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteNonQuery> to execute a Transact-SQL statement, you must call <xref:Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQuery%2A> in order to complete the operation. If the process of executing the command has not yet finished, this method blocks until the operation is complete. Users can verify that the command has completed its operation by using the <xref:System.IAsyncResult> instance returned by the <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteNonQuery> method. If a callback procedure was specified in the call to <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteNonQuery>, this method must be called.
- ## Examples
- For examples demonstrating the use of the <xref:Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQuery%2A> method, see <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteNonQuery>.
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">
- <paramref name="asyncResult" />
- parameter is null (
- <see langword="Nothing" />
- in Microsoft Visual Basic)
- </exception><exception cref="T:System.InvalidOperationException">
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQuery(System.IAsyncResult)" />
- was called more than once for a single command execution, or the method was mismatched against its execution method (for example, the code called
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQuery(System.IAsyncResult)" />
- to complete execution of a call to
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteXmlReader" />
- .
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- The amount of time specified in
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.CommandTimeout" />
- elapsed and the asynchronous operation specified with
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteNonQuery" />
- is not complete.
-
- -or-
-
- In some situations,
- <see cref="T:System.IAsyncResult" />
- can be set to
- <see langword="IsCompleted" />
- incorrectly. If this occurs and
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQuery(System.IAsyncResult)" />
- is called, EndExecuteNonQuery could raise a SqlException error if the amount of time specified in
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.CommandTimeout" />
- elapsed and the asynchronous operation specified with
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteNonQuery" />
- is not complete. To correct this situation, you should either increase the value of CommandTimeout or reduce the work being done by the asynchronous operation.
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteXmlReader">
- <summary>
- Sends the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.CommandText" />
- to the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.Connection" />
- and builds an
- <see cref="T:System.Xml.XmlReader" />
- object.
- </summary><returns>
- An
- <see cref="T:System.Xml.XmlReader" />
- object.
- </returns><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- An exception occurred while executing the command against a locked row. This exception is not generated when you are using Microsoft .NET Framework version 1.0.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.InvalidOperationException">
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteXmlReader">
- <summary>
- Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- and returns results as an
- <see cref="T:System.Xml.XmlReader" />
- object.
- </summary><returns>
- An
- <see cref="T:System.IAsyncResult" />
- that can be used to poll or wait for results, or both; this value is also needed when invoking
- <see langword="EndExecuteXmlReader" />
- , which returns a single XML value.
- </returns><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- Any error that occurred while executing the command text.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.InvalidOperationException">
- The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- .
-
- -or-
-
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteXmlReader(System.AsyncCallback,System.Object)">
- <param name="callback">
- An
- <see cref="T:System.AsyncCallback" />
- delegate that is invoked when the command's execution has completed. Pass
- <see langword="null" />
- (
- <see langword="Nothing" />
- in Microsoft Visual Basic) to indicate that no callback is required.
- </param><param name="stateObject">
- A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback procedure using the
- <see cref="P:System.IAsyncResult.AsyncState" />
- property.
- </param><summary>
- Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- and returns results as an
- <see cref="T:System.Xml.XmlReader" />
- object, using a callback procedure.
- </summary><returns>
- An
- <see cref="T:System.IAsyncResult" />
- that can be used to poll, wait for results, or both; this value is also needed when the
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.EndExecuteXmlReader(System.IAsyncResult)" />
- is called, which returns the results of the command as XML.
- </returns><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- Any error that occurred while executing the command text.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.InvalidOperationException">
- The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- .
-
- -or-
-
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><altmember cref="M:Microsoft.Data.SqlClient.SqlCommand.EndExecuteXmlReader(System.IAsyncResult)" /><altmember cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteXmlReader" />
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.EndExecuteXmlReader(System.IAsyncResult)">
- <param name="asyncResult">
- The
- <see cref="T:System.IAsyncResult" />
- returned by the call to
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteXmlReader" />
- .
- </param><summary>
- Finishes asynchronous execution of a Transact-SQL statement, returning the requested data as XML.
- </summary><returns>
- An
- <see cref="T:System.Xml.XmlReader" />
- object that can be used to fetch the resulting XML data.
- </returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- When you call <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteXmlReader%2A> to execute a Transact-SQL statement, you must call <xref:Microsoft.Data.SqlClient.SqlCommand.EndExecuteXmlReader%2A> in order to complete the operation. If the process of executing the command has not yet finished, this method blocks until the operation is complete. Users can verify that the command has completed its operation by using the <xref:System.IAsyncResult> instance returned by the <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteXmlReader%2A> method. If a callback procedure was specified in the call to <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteXmlReader%2A>, this method must be called.
- ## Examples
- For examples demonstrating the use of the <xref:Microsoft.Data.SqlClient.SqlCommand.EndExecuteXmlReader%2A> method, see <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteXmlReader%2A>.
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">
- <paramref name="asyncResult" />
- parameter is null (
- <see langword="Nothing" />
- in Microsoft Visual Basic)
- </exception><exception cref="T:System.InvalidOperationException">
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.EndExecuteXmlReader(System.IAsyncResult)" />
- was called more than once for a single command execution, or the method was mismatched against its execution method (for example, the code called
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.EndExecuteXmlReader(System.IAsyncResult)" />
- to complete execution of a call to
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteNonQuery" />
- .
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteReader">
- <summary>
- Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- and returns results as an
- <see cref="T:System.Xml.XmlReader" />
- object.
- </summary><returns>
- An
- <see cref="T:System.IAsyncResult" />
- that can be used to poll or wait for results, or both; this value is also needed when invoking
- <see langword="EndExecuteXmlReader" />
- , which returns a single XML value.
- </returns><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- Any error that occurred while executing the command text.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.InvalidOperationException">
- The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- .
-
- -or-
-
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteReader(System.AsyncCallback,System.Object)">
- <param name="callback">
- An
- <see cref="T:System.AsyncCallback" />
- delegate that is invoked when the command's execution has completed. Pass
- <see langword="null" />
- (
- <see langword="Nothing" />
- in Microsoft Visual Basic) to indicate that no callback is required.
- </param><param name="stateObject">
- A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback procedure using the
- <see cref="P:System.IAsyncResult.AsyncState" />
- property.
- </param><summary>
- Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- and returns results as an
- <see cref="T:System.Xml.XmlReader" />
- object, using a callback procedure.
- </summary><returns>
- An
- <see cref="T:System.IAsyncResult" />
- that can be used to poll, wait for results, or both; this value is also needed when the
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.EndExecuteXmlReader(System.IAsyncResult)" />
- is called, which returns the results of the command as XML.
- </returns><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- Any error that occurred while executing the command text.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.InvalidOperationException">
- The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- .
-
- -or-
-
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><altmember cref="M:Microsoft.Data.SqlClient.SqlCommand.EndExecuteXmlReader(System.IAsyncResult)" /><altmember cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteXmlReader" />
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReader(System.Data.CommandBehavior)">
- <param name="behavior">
- To be added.
- </param><summary>
- To be added.
- </summary><returns>
- To be added.
- </returns><remarks>
- To be added.
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteReader">
- <summary>
- Sends the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.CommandText" />
- to the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.Connection" />
- and builds a
- <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />
- .
- </summary><returns>
- A
- <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />
- object.
- </returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- When the <xref:Microsoft.Data.SqlClient.SqlCommand.CommandType%2A> property is set to `StoredProcedure`, the <xref:Microsoft.Data.SqlClient.SqlCommand.CommandText%2A> property should be set to the name of the stored procedure. The command executes this stored procedure when you call <xref:Microsoft.Data.SqlClient.SqlCommand.ExecuteReader%2A>.
- > [!NOTE]
- > If a transaction is deadlocked, an exception may not be thrown until <xref:Microsoft.Data.SqlClient.SqlDataReader.Read%2A> is called.
- The multiple active result set (MARS) feature allows for multiple actions using the same connection.
- If you use <xref:Microsoft.Data.SqlClient.SqlCommand.ExecuteReader%2A> or <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteReader%2A> to access XML data, SQL Server will return any XML results greater than 2,033 characters in length in multiple rows of 2,033 characters each. To avoid this behavior, use <xref:Microsoft.Data.SqlClient.SqlCommand.ExecuteXmlReader%2A> or <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteXmlReader%2A> to read FOR XML queries.
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlCommand>, and then executes it by passing a string that is a Transact-SQL SELECT statement, and a string to use to connect to the data source.
- [!code-csharp[SqlCommand_ExecuteReader](~/../sqlclient/doc/samples/SqlCommand_ExecuteReader.cs)]
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- An exception occurred while executing the command against a locked row. This exception is not generated when you are using Microsoft .NET Framework version 1.0.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.InvalidOperationException">
- The current state of the connection is closed.
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteReader" />
- requires an open
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- .
-
- -or-
-
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(System.Data.CommandBehavior)">
- <param name="behavior">
- One of the
- <see cref="T:System.Data.CommandBehavior" />
- values.
- </param><summary>
- Sends the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.CommandText" />
- to the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.Connection" />
- , and builds a
- <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />
- using one of the
- <see cref="T:System.Data.CommandBehavior" />
- values.
- </summary><returns>
- A
- <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />
- object.
- </returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- When the <xref:Microsoft.Data.SqlClient.SqlCommand.CommandType%2A> property is set to `StoredProcedure`, the <xref:Microsoft.Data.SqlClient.SqlCommand.CommandText%2A> property should be set to the name of the stored procedure. The command executes this stored procedure when you call <xref:Microsoft.Data.SqlClient.SqlCommand.ExecuteReader%2A>.
- > [!NOTE]
- > Use <xref:System.Data.CommandBehavior.SequentialAccess> to retrieve large values and binary data. Otherwise, an <xref:System.OutOfMemoryException> might occur and the connection will be closed.
- The multiple active result set (MARS) feature allows for multiple actions using the same connection.
- If you use <xref:Microsoft.Data.SqlClient.SqlCommand.ExecuteReader%2A> or <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteReader%2A> to access XML data, SQL Server will return any XML results greater than 2,033 characters in length in multiple rows of 2,033 characters each. To avoid this behavior, use <xref:Microsoft.Data.SqlClient.SqlCommand.ExecuteXmlReader%2A> or <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteXmlReader%2A> to read FOR XML queries.
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlCommand>, and then executes it by passing a string that is a Transact-SQL SELECT statement, and a string to use to connect to the data source. <xref:System.Data.CommandBehavior> is set to <xref:System.Data.CommandBehavior.CloseConnection>.
- [!code-csharp[SqlCommand_ExecuteReader2](~/../sqlclient/doc/samples/SqlCommand_ExecuteReader2.cs#1)]
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.InvalidOperationException">
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteReader(System.Data.CommandBehavior)">
- <param name="behavior">
- One of the
- <see cref="T:System.Data.CommandBehavior" />
- values, indicating options for statement execution and data retrieval.
- </param><summary>
- Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- using one of the
- <see cref="T:System.Data.CommandBehavior" />
- values.
- </summary><returns>
- An
- <see cref="T:System.IAsyncResult" />
- that can be used to poll, wait for results, or both; this value is also needed when invoking
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.EndExecuteReader(System.IAsyncResult)" />
- , which returns a
- <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />
- instance that can be used to retrieve the returned rows.
- </returns><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- Any error that occurred while executing the command text.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.InvalidOperationException">
- The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- .
-
- -or-
-
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteReader(System.AsyncCallback,System.Object,System.Data.CommandBehavior)">
- <param name="callback">
- An
- <see cref="T:System.AsyncCallback" />
- delegate that is invoked when the command's execution has completed. Pass
- <see langword="null" />
- (
- <see langword="Nothing" />
- in Microsoft Visual Basic) to indicate that no callback is required.
- </param><param name="stateObject">
- A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback procedure using the
- <see cref="P:System.IAsyncResult.AsyncState" />
- property.
- </param><param name="behavior">
- One of the
- <see cref="T:System.Data.CommandBehavior" />
- values, indicating options for statement execution and data retrieval.
- </param><summary>
- Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- , using one of the
- <see langword="CommandBehavior" />
- values, and retrieving one or more result sets from the server, given a callback procedure and state information.
- </summary><returns>
- An
- <see cref="T:System.IAsyncResult" />
- that can be used to poll or wait for results, or both; this value is also needed when invoking
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.EndExecuteReader(System.IAsyncResult)" />
- , which returns a
- <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />
- instance which can be used to retrieve the returned rows.
- </returns><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- Any error that occurred while executing the command text.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.InvalidOperationException">
- The name/value pair "Asynchronous Processing=true" was not included within the connection string defining the connection for this
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- .
-
- -or-
-
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.EndExecuteReader(System.IAsyncResult)">
- <param name="asyncResult">
- The
- <see cref="T:System.IAsyncResult" />
- returned by the call to
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteReader" />
- .
- </param><summary>
- Finishes asynchronous execution of a Transact-SQL statement, returning the requested
- <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />
- .
- </summary><returns>
- A
- <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />
- object that can be used to retrieve the requested rows.
- </returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- When you call <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteReader%2A> to execute a Transact-SQL statement, you must call <xref:Microsoft.Data.SqlClient.SqlCommand.EndExecuteReader%2A> in order to complete the operation. If the process of executing the command has not yet finished, this method blocks until the operation is complete. Users can verify that the command has completed its operation by using the <xref:System.IAsyncResult> instance returned by the <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteReader%2A> method. If a callback procedure was specified in the call to <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteReader%2A>, this method must be called.
- ## Examples
- For examples demonstrating the use of the <xref:Microsoft.Data.SqlClient.SqlCommand.EndExecuteReader%2A> method, see <xref:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteReader%2A>.
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">
- <paramref name="asyncResult" />
- parameter is null (
- <see langword="Nothing" />
- in Microsoft Visual Basic)
- </exception><exception cref="T:System.InvalidOperationException">
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.EndExecuteReader(System.IAsyncResult)" />
- was called more than once for a single command execution, or the method was mismatched against its execution method (for example, the code called
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.EndExecuteReader(System.IAsyncResult)" />
- to complete execution of a call to
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteXmlReader" />
- .
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteNonQueryAsync(System.Threading.CancellationToken)">
- <param name="cancellationToken">
- The cancellation instruction.
- </param><summary>
- An asynchronous version of
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteNonQuery" />
- , which executes a Transact-SQL statement against the connection and returns the number of rows affected. The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object.
- </summary><returns>
- A task representing the asynchronous operation.
- </returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:System.InvalidOperationException">
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteNonQueryAsync(System.Threading.CancellationToken)" />
- more than once for the same instance before task completion.
-
- -or-
-
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
- <see langword="Context Connection=true" />
- is specified in the connection string.
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- SQL Server returned an error while executing the command text.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReaderAsync(System.Data.CommandBehavior,System.Threading.CancellationToken)">
- <param name="behavior">
- To be added.
- </param><param name="cancellationToken">
- To be added.
- </param><summary>
- To be added.
- </summary><returns>
- To be added.
- </returns><remarks>
- To be added.
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteReaderAsync">
- <summary>
- An asynchronous version of
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteReader" />
- , which sends the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.CommandText" />
- to the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.Connection" />
- and builds a
- <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />
- . Exceptions will be reported via the returned Task object.
- </summary><returns>
- A task representing the asynchronous operation.
- </returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:System.ArgumentException">
- An invalid
- <see cref="T:System.Data.CommandBehavior" />
- value.
- </exception><exception cref="T:System.InvalidOperationException">
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteReaderAsync" />
- more than once for the same instance before task completion.
-
- -or-
-
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
- <see langword="Context Connection=true" />
- is specified in the connection string.
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- SQL Server returned an error while executing the command text.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteReaderAsync(System.Data.CommandBehavior)">
- <param name="behavior">
- Options for statement execution and data retrieval. When is set to
- <see langword="Default" />
- ,
- <see cref="M:Microsoft.Data.SqlClient.SqlDataReader.ReadAsync(System.Threading.CancellationToken)" />
- reads the entire row before returning a complete Task.
- </param><summary>
- An asynchronous version of
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(System.Data.CommandBehavior)" />
- , which sends the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.CommandText" />
- to the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.Connection" />
- , and builds a
- <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />
- . Exceptions will be reported via the returned Task object.
- </summary><returns>
- A task representing the asynchronous operation.
- </returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:System.ArgumentException">
- An invalid
- <see cref="T:System.Data.CommandBehavior" />
- value.
- </exception><exception cref="T:System.InvalidOperationException">
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteReaderAsync(System.Data.CommandBehavior)" />
- more than once for the same instance before task completion.
-
- -or-
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
- <see langword="Context Connection=true" />
- is specified in the connection string.
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- SQL Server returned an error while executing the command text.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteReaderAsync(System.Threading.CancellationToken)">
- <param name="cancellationToken">
- The cancellation instruction.
- </param><summary>
- An asynchronous version of
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteReader" />
- , which sends the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.CommandText" />
- to the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.Connection" />
- and builds a
- <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />
- .
-
- The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object.
- </summary><returns>
- A task representing the asynchronous operation.
- </returns><remarks>
- <format type="text/markdown">
- <.
- ]]>
- </format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:System.ArgumentException">
- An invalid
- <see cref="T:System.Data.CommandBehavior" />
- value.
- </exception><exception cref="T:System.InvalidOperationException">
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteReaderAsync(System.Data.CommandBehavior,System.Threading.CancellationToken)" />
- more than once for the same instance before task completion.
-
- -or-
-
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
- <see langword="Context Connection=true" />
- is specified in the connection string.
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- SQL Server returned an error while executing the command text.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteReaderAsync(System.Data.CommandBehavior,System.Threading.CancellationToken)">
- <param name="behavior">
- Options for statement execution and data retrieval. When is set to
- <see langword="Default" />
- ,
- <see cref="M:Microsoft.Data.SqlClient.SqlDataReader.ReadAsync(System.Threading.CancellationToken)" />
- reads the entire row before returning a complete Task.
- </param><param name="cancellationToken">
- The cancellation instruction.
- </param><summary>
- An asynchronous version of
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(System.Data.CommandBehavior)" />
- , which sends the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.CommandText" />
- to the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.Connection" />
- , and builds a
- <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />
- The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object.
- </summary><returns>
- A task representing the asynchronous operation.
- </returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:System.ArgumentException">
- An invalid
- <see cref="T:System.Data.CommandBehavior" />
- value.
- </exception><exception cref="T:System.InvalidOperationException">
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteReaderAsync(System.Data.CommandBehavior,System.Threading.CancellationToken)" />
- more than once for the same instance before task completion.
-
- -or-
-
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
- <see langword="Context Connection=true" />
- is specified in the connection string.
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- SQL Server returned an error while executing the command text.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteScalarAsync(System.Threading.CancellationToken)">
- <param name="cancellationToken">
- The cancellation instruction.
- </param><summary>
- An asynchronous version of
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteReader" />
- , which sends the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.CommandText" />
- to the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.Connection" />
- and builds a
- <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />
- .
-
- The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object.
- </summary><returns>
- A task representing the asynchronous operation.
- </returns><remarks>
- <format type="text/markdown">
- <.
- ]]>
- </format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:System.ArgumentException">
- An invalid
- <see cref="T:System.Data.CommandBehavior" />
- value.
- </exception><exception cref="T:System.InvalidOperationException">
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteReaderAsync(System.Data.CommandBehavior,System.Threading.CancellationToken)" />
- more than once for the same instance before task completion.
-
- -or-
-
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
- <see langword="Context Connection=true" />
- is specified in the connection string.
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- SQL Server returned an error while executing the command text.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteXmlReaderAsync">
- <summary>
- An asynchronous version of
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteXmlReader" />
- , which sends the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.CommandText" />
- to the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.Connection" />
- and builds an
- <see cref="T:System.Xml.XmlReader" />
- object.
-
- Exceptions will be reported via the returned Task object.
- </summary><returns>
- A task representing the asynchronous operation.
- </returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:System.InvalidOperationException">
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteScalarAsync(System.Threading.CancellationToken)" />
- more than once for the same instance before task completion.
-
- -or-
-
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
- <see langword="Context Connection=true" />
- is specified in the connection string.
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- SQL Server returned an error while executing the command text.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteXmlReaderAsync(System.Threading.CancellationToken)">
- <param name="cancellationToken">
- The cancellation instruction.
- </param><summary>
- An asynchronous version of
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteXmlReader" />
- , which sends the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.CommandText" />
- to the
- <see cref="P:Microsoft.Data.SqlClient.SqlCommand.Connection" />
- and builds an
- <see cref="T:System.Xml.XmlReader" />
- object.
-
- The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object.
- </summary><returns>
- A task representing the asynchronous operation.
- </returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Binary** or **VarBinary** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.Stream" />
- . For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Char**, **NChar**, **NVarChar**, **VarChar**, or **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.IO.TextReader" />
- .
-
- -or-
-
- A
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType" />
- other than **Xml** was used when
- <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />
- was set to
- <see cref="T:System.Xml.XmlReader" />
- .
- </exception><exception cref="T:System.InvalidOperationException">
- Calling
- <see cref="M:Microsoft.Data.SqlClient.SqlCommand.ExecuteScalarAsync(System.Threading.CancellationToken)" />
- more than once for the same instance before task completion.
-
- -or-
-
- The
- <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />
- closed or dropped during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- -or-
- <see langword="Context Connection=true" />
- is specified in the connection string.
- </exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">
- SQL Server returned an error while executing the command text.
-
- -or-
-
- A timeout occurred during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.IO.IOException">
- An error occurred in a
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception><exception cref="T:System.ObjectDisposedException">
- The
- <see cref="T:System.IO.Stream" />
- ,
- <see cref="T:System.Xml.XmlReader" />
- or
- <see cref="T:System.IO.TextReader" />
- object was closed during a streaming operation. For more information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
- </exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.ResetEncryptionState">
- <summary>
- Resets the encryption related state of the command object and each of the parameters.
- BatchRPC doesn't need special handling to cleanup the state of each RPC object and its parameters since a new RPC object and
- parameters are generated on every execution.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.PrepareTransparentEncryptionFinallyBlock(System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Collections.ObjectModel.ReadOnlyDictionary{Microsoft.Data.SqlClient._SqlRPC,Microsoft.Data.SqlClient._SqlRPC},Microsoft.Data.SqlClient.SqlDataReader)">
- <summary>
- Steps to be executed in the Prepare Transparent Encryption finally block.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.PrepareForTransparentEncryption(System.Data.CommandBehavior,System.Boolean,System.Boolean,System.Int32,System.Threading.Tasks.TaskCompletionSource{System.Object},System.Threading.Tasks.Task@,System.Boolean,System.Boolean@,System.Boolean)">
- <summary>
- Executes the reader after checking to see if we need to encrypt input parameters and then encrypting it if required.
- TryFetchInputParameterEncryptionInfo() -> ReadDescribeEncryptionParameterResults()-> EncryptInputParameters() ->RunExecuteReaderTds()
- </summary>
- <param name="cmdBehavior"></param>
- <param name="returnStream"></param>
- <param name="async"></param>
- <param name="timeout"></param>
- <param name="completion"></param>
- <param name="returnTask"></param>
- <param name="asyncWrite"></param>
- <param name="usedCache"></param>
- <param name="inRetry"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.TryFetchInputParameterEncryptionInfo(System.Int32,System.Boolean,System.Boolean,System.Boolean@,System.Threading.Tasks.Task@,System.Collections.ObjectModel.ReadOnlyDictionary{Microsoft.Data.SqlClient._SqlRPC,Microsoft.Data.SqlClient._SqlRPC}@)">
- <summary>
- Executes an RPC to fetch param encryption info from SQL Engine. If this method is not done writing
- the request to wire, it'll set the "task" parameter which can be used to create continuations.
- </summary>
- <param name="timeout"></param>
- <param name="async"></param>
- <param name="asyncWrite"></param>
- <param name="inputParameterEncryptionNeeded"></param>
- <param name="task"></param>
- <param name="describeParameterEncryptionRpcOriginalRpcMap"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.GetSqlParameterWithQueryText(System.String)">
- <summary>
- Constructs a SqlParameter with a given string value
- </summary>
- <param name="queryText"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.PrepareDescribeParameterEncryptionRequest(Microsoft.Data.SqlClient._SqlRPC,Microsoft.Data.SqlClient._SqlRPC@,System.Byte[])">
- <summary>
- Constructs the sp_describe_parameter_encryption request with the values from the original RPC call.
- Prototype for <sp_describe_parameter_encryption> is
- exec sp_describe_parameter_encryption @tsql=N'[SQL Statement]', @params=N'@p1 varbinary(256)'
- </summary>
- <param name="originalRpcRequest"></param>
- <param name="describeParameterEncryptionRequest"></param>
- <param name="attestationParameters"></param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.ReadDescribeEncryptionParameterResults(Microsoft.Data.SqlClient.SqlDataReader,System.Collections.ObjectModel.ReadOnlyDictionary{Microsoft.Data.SqlClient._SqlRPC,Microsoft.Data.SqlClient._SqlRPC})">
- <summary>
- Read the output of sp_describe_parameter_encryption
- </summary>
- <param name="ds">Resultset from calling to sp_describe_parameter_encryption</param>
- <param name="describeParameterEncryptionRpcOriginalRpcMap"> Readonly dictionary with the map of parameter encryption rpc requests with the corresponding original rpc requests.</param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTdsWithTransparentParameterEncryption(System.Data.CommandBehavior,Microsoft.Data.SqlClient.RunBehavior,System.Boolean,System.Boolean,System.Int32,System.Threading.Tasks.Task@,System.Boolean,System.Boolean,Microsoft.Data.SqlClient.SqlDataReader,System.Boolean,System.Threading.Tasks.Task)">
- <summary>
- RunExecuteReaderTds after Transparent Parameter Encryption is complete.
- </summary>
- <param name="cmdBehavior"></param>
- <param name="runBehavior"></param>
- <param name="returnStream"></param>
- <param name="async"></param>
- <param name="timeout"></param>
- <param name="task"></param>
- <param name="asyncWrite"></param>
- <param name="inRetry"></param>
- <param name="ds"></param>
- <param name="describeParameterEncryptionRequest"></param>
- <param name="describeParameterEncryptionTask"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.Clone">
- <summary>
- Creates a new
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- object that is a copy of the current instance.
- </summary><returns>
- A new
- <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- object that is a copy of this instance.
- </returns><remarks>
- To be added.
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.OnDoneDescribeParameterEncryptionProc(Microsoft.Data.SqlClient.TdsParserStateObject)">
- <summary>
- IMPORTANT NOTE: This is created as a copy of OnDoneProc below for Transparent Column Encryption improvement
- as there is not much time, to address regressions. Will revisit removing the duplication, when we have time again.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.OnDoneProc">
- <summary>
- IMPORTANT NOTE: There is a copy of this function above in OnDoneDescribeParameterEncryptionProc.
- Please consider the changes being done in this function for the above function as well.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.BuildStoredProcedureStatementForColumnEncryption(System.String,Microsoft.Data.SqlClient.SqlParameter[])">
- <summary>
- This function constructs a string parameter containing the exec statement in the following format
- N'EXEC sp_name @param1=@param1, @param1=@param2, ..., @paramN=@paramN'
- TODO: Need to handle return values.
- </summary>
- <param name="storedProcedureName">Stored procedure name</param>
- <param name="parameters">SqlParameter list</param>
- <returns>A string SqlParameter containing the constructed sql statement value</returns>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommand.RowsAffectedByDescribeParameterEncryption">
- <summary>
- Get or set the number of records affected by SpDescribeParameterEncryption.
- The below line is used only for debug asserts and not exposed publicly or impacts functionality otherwise.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.ClearDescribeParameterEncryptionRequests">
- <summary>
- Clear the state in sqlcommand related to describe parameter encryption RPC requests.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.SetColumnEncryptionSetting(Microsoft.Data.SqlClient.SqlCommandColumnEncryptionSetting)">
- <summary>
- Set the column encryption setting to the new one.
- Do not allow conflicting column encryption settings.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommand.WriteEndExecuteEvent(System.Boolean,System.Nullable{System.Int32},System.Boolean)">
- <summary>
- Writes and end execute event in Event Source.
- </summary>
- <param name="success">True if SQL command finished successfully, otherwise false.</param>
- <param name="sqlExceptionNumber">Gets a number that identifies the type of error.</param>
- <param name="synchronous">True if SQL command was executed synchronously, otherwise false.</param>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlCommandBuilder">
- <summary>
- Automatically generates single-table commands that are used to reconcile changes made to a
- <see cref="T:System.Data.DataSet" />
- with the associated SQL Server database. This class cannot be inherited.
- </summary><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommandBuilder.#ctor">
- <summary>
- Initializes a new instance of the
- <see cref="T:Microsoft.Data.SqlClient.SqlCommandBuilder" />
- class.
- </summary><remarks>
- To be added.
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommandBuilder.#ctor(Microsoft.Data.SqlClient.SqlDataAdapter)">
- <param name="adapter">
- The name of the
- <see cref="T:Microsoft.Data.SqlClient.SqlDataAdapter" />
- .
- </param><summary>
- Initializes a new instance of the
- <see cref="T:Microsoft.Data.SqlClient.SqlCommandBuilder" />
- class with the associated
- <see cref="T:Microsoft.Data.SqlClient.SqlDataAdapter" />
- object.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlCommandBuilder> registers itself as a listener for <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdating> events that are generated by the <xref:Microsoft.Data.SqlClient.SqlDataAdapter> specified in this property.
- When you create a new instance of <xref:Microsoft.Data.SqlClient.SqlCommandBuilder>, any existing <xref:Microsoft.Data.SqlClient.SqlCommandBuilder> associated with this <xref:Microsoft.Data.SqlClient.SqlDataAdapter> is released.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommandBuilder.CatalogLocation">
- <devnote>SqlServer only supports CatalogLocation.Start</devnote>
- <summary>
- Sets or gets the
- <see cref="T:System.Data.Common.CatalogLocation" />
- for an instance of the
- <see cref="T:Microsoft.Data.SqlClient.SqlCommandBuilder" />
- class.
- </summary><value>
- A
- <see cref="T:System.Data.Common.CatalogLocation" />
- object.
- </value><remarks>
- To be added.
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommandBuilder.CatalogSeparator">
- <devnote>SqlServer only supports '.'</devnote>
- <summary>
- Sets or gets a string used as the catalog separator for an instance of the
- <see cref="T:Microsoft.Data.SqlClient.SqlCommandBuilder" />
- class.
- </summary><value>
- A string that indicates the catalog separator for use with an instance of the
- <see cref="T:Microsoft.Data.SqlClient.SqlCommandBuilder" />
- class.
- </value><remarks>
- To be added.
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommandBuilder.DataAdapter">
- <summary>Gets or sets a <see cref="T:Microsoft.Data.SqlClient.SqlDataAdapter" /> object for which Transact-SQL statements are automatically generated.</summary><value>A <see cref="T:Microsoft.Data.SqlClient.SqlDataAdapter" /> object.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlCommandBuilder> registers itself as a listener for <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdating> events that are generated by the <xref:Microsoft.Data.SqlClient.SqlDataAdapter> specified in this property.
- When you create a new instance of <xref:Microsoft.Data.SqlClient.SqlCommandBuilder>, any existing <xref:Microsoft.Data.SqlClient.SqlCommandBuilder> associated with this <xref:Microsoft.Data.SqlClient.SqlDataAdapter> is released.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommandBuilder.QuotePrefix">
- <devnote>SqlServer only supports '.'</devnote>
- <summary>Gets or sets the starting character or characters to use when specifying SQL Server database objects, such as tables or columns, whose names contain characters such as spaces or reserved tokens.</summary><value>The starting character or characters to use. The default is an empty string.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- > [!NOTE]
- > Although you cannot change the <xref:Microsoft.Data.SqlClient.SqlCommandBuilder.QuotePrefix%2A> or <xref:Microsoft.Data.SqlClient.SqlCommandBuilder.QuoteSuffix%2A> properties after an insert, update, or delete command has been generated, you can change their settings after calling the `Update` method of a DataAdapter.
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">This property cannot be changed after an INSERT, UPDATE, or DELETE command has been generated.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommandBuilder.QuoteSuffix">
- <summary>Gets or sets the ending character or characters to use when specifying SQL Server database objects, such as tables or columns, whose names contain characters such as spaces or reserved tokens.</summary><value>The ending character or characters to use. The default is an empty string.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- > [!NOTE]
- > Although you cannot change the <xref:Microsoft.Data.SqlClient.SqlCommandBuilder.QuotePrefix%2A> or <xref:Microsoft.Data.SqlClient.SqlCommandBuilder.QuoteSuffix%2A> properties after an insert, update, or delete operation has been generated, you can change their settings after calling the `Update` method of a DataAdapter.
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">This property cannot be changed after an insert, update, or delete command has been generated.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCommandBuilder.SchemaSeparator">
- <summary>Gets or sets the character to be used for the separator between the schema identifier and any other identifiers.</summary><value>The character to be used as the schema separator.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Generally, database servers indicate the schema for a identifier by separating the schema name from the identifier with some character. For example, SQL Server uses a period, creating complete identifiers such as Person.CustomerName, where "Person" is the schema name and "CustomerName" is the identifier. Setting this property lets developers modify this behavior.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommandBuilder.GetInsertCommand">
- <summary>Gets the automatically generated <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object required to perform insertions on the database.</summary><returns>The automatically generated <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object required to perform insertions.</returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommandBuilder.GetInsertCommand(System.Boolean)">
- <param name="useColumnsForParameterNames">If <see langword="true" />, generate parameter names matching column names if possible. If <see langword="false" />, generate <c>@p1</c>, <c>@p2</c>, and so on.</param><summary>Gets the automatically generated <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object that is required to perform insertions on the database.</summary><returns>The automatically generated <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object that is required to perform insertions.</returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommandBuilder.GetUpdateCommand">
- <summary>Gets the automatically generated <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object required to perform updates on the database.</summary><returns>The automatically generated <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object that is required to perform updates.</returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommandBuilder.GetUpdateCommand(System.Boolean)">
- <param name="useColumnsForParameterNames">If <see langword="true" />, generate parameter names matching column names if possible. If <see langword="false" />, generate <c>@p1</c>, <c>@p2</c>, and so on.</param><summary>Gets the automatically generated <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object required to perform updates on the database.</summary><returns>The automatically generated <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object required to perform updates.</returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommandBuilder.GetDeleteCommand">
- <summary>Gets the automatically generated <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object required to perform deletions on the database.</summary><returns>The automatically generated <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object required to perform deletions.</returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommandBuilder.GetDeleteCommand(System.Boolean)">
- <param name="useColumnsForParameterNames">If <see langword="true" />, generate parameter names matching column names if possible. If <see langword="false" />, generate <c>@p1</c>, <c>@p2</c>, and so on.</param><summary>Gets the automatically generated <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object that is required to perform deletions on the database.</summary><returns>The automatically generated <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object that is required to perform deletions.</returns><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommandBuilder.ApplyParameterInfo(System.Data.Common.DbParameter,System.Data.DataRow,System.Data.StatementType,System.Boolean)">
- <param name="parameter">
- To be added.
- </param><param name="datarow">
- To be added.
- </param><param name="statementType">
- To be added.
- </param><param name="whereClause">
- To be added.
- </param><summary>
- To be added.
- </summary><remarks>
- To be added.
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommandBuilder.GetParameterName(System.Int32)">
- <param name="parameterOrdinal">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommandBuilder.GetParameterName(System.String)">
- <param name="parameterName">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommandBuilder.GetParameterPlaceholder(System.Int32)">
- <param name="parameterOrdinal">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommandBuilder.DeriveParameters(Microsoft.Data.SqlClient.SqlCommand)">
- <param name="command">The <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> referencing the stored procedure from which the parameter information is to be derived. The derived parameters are added to the <see cref="P:Microsoft.Data.SqlClient.SqlCommand.Parameters" /> collection of the <see cref="T:Microsoft.Data.SqlClient.SqlCommand" />.</param><summary>Retrieves parameter information from the stored procedure specified in the <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> and populates the <see cref="P:Microsoft.Data.SqlClient.SqlCommand.Parameters" /> collection of the specified <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object.</summary><remarks>
- <format type="text/markdown"><.
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">The command text is not a valid stored procedure name.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommandBuilder.GetSchemaTable(System.Data.Common.DbCommand)">
- <param name="srcCommand">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommandBuilder.InitializeCommand(System.Data.Common.DbCommand)">
- <param name="command">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommandBuilder.QuoteIdentifier(System.String)">
- <param name="unquotedIdentifier">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommandBuilder.SetRowUpdatingHandler(System.Data.Common.DbDataAdapter)">
- <param name="adapter">To be added.</param><summary>To be added.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCommandBuilder.UnquoteIdentifier(System.String)">
- <param name="quotedIdentifier">The identifier that will have its embedded quotes removed.</param><summary>Given a quoted identifier, returns the correct unquoted form of that identifier. This includes correctly unescaping any embedded quotes in the identifier.</summary><returns>The unquoted identifier, with embedded quotes properly unescaped.</returns><remarks>To be added.</remarks><related type="Article" href="~/docs/framework/data/adonet/retrieving-and-modifying-data.md">Connecting and Retrieving Data in ADO.NET</related><related type="Article" href="~/docs/framework/data/adonet/sql/index.md">Using the .NET Framework Data Provider for SQL Server</related><related type="Article" href="~/docs/framework/data/adonet/ado-net-overview.md">ADO.NET Overview</related>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlConnection">
- <summary>Represents a connection to a SQL Server database. This class cannot be inherited.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- A <xref:Microsoft.Data.SqlClient.SqlConnection> object represents a unique session to a SQL Server data source. With a client/server database system, it is equivalent to a network connection to the server. <xref:Microsoft.Data.SqlClient.SqlConnection> is used together with <xref:Microsoft.Data.SqlClient.SqlDataAdapter> and <xref:Microsoft.Data.SqlClient.SqlCommand> to increase performance when connecting to a Microsoft SQL Server database. For all third-party SQL Server products and other OLE DB-supported data sources, use <xref:System.Data.OleDb.OleDbConnection>.
-
- When you create an instance of <xref:Microsoft.Data.SqlClient.SqlConnection>, all properties are set to their initial values. For a list of these values, see the <xref:Microsoft.Data.SqlClient.SqlConnection> constructor.
-
- See <xref:Microsoft.Data.SqlClient.SqlConnection.ConnectionString%2A> for a list of the keywords in a connection string.
-
- If the <xref:Microsoft.Data.SqlClient.SqlConnection> goes out of scope, it won't be closed. Therefore, you must explicitly close the connection by calling `Close` or `Dispose`. `Close` and `Dispose` are functionally equivalent. If the connection pooling value `Pooling` is set to `true` or `yes`, the underlying connection is returned back to the connection pool. On the other hand, if `Pooling` is set to `false` or `no`, the underlying connection to the server is actually closed.
-
- > [!NOTE]
- > Login and logout events will not be raised on the server when a connection is fetched from or returned to the connection pool, because the connection is not actually closed when it is returned to the connection pool. For more information, see [SQL Server Connection Pooling (ADO.NET)](~/docs/framework/data/adonet/sql-server-connection-pooling.md).
-
- To ensure that connections are always closed, open the connection inside of a `using` block, as shown in the following code fragment. Doing so ensures that the connection is automatically closed when the code exits the block.
-
- ```vb
- Using connection As New SqlConnection(connectionString)
- connection.Open()
- ' Do work here; connection closed on following line.
- End Using
-
- ```
-
- ```csharp
- using (SqlConnection connection = new SqlConnection(connectionString))
- {
- connection.Open();
- // Do work here; connection closed on following line.
- }
- ```
-
- > [!NOTE]
- > To deploy high-performance applications, you must use connection pooling. When you use the .NET Framework Data Provider for SQL Server, you do not have to enable connection pooling because the provider manages this automatically, although you can modify some settings. For more information, see [SQL Server Connection Pooling (ADO.NET)](~/docs/framework/data/adonet/sql-server-connection-pooling.md).
-
- If a <xref:Microsoft.Data.SqlClient.SqlException> is generated by the method executing a <xref:Microsoft.Data.SqlClient.SqlCommand>, the <xref:Microsoft.Data.SqlClient.SqlConnection> remains open when the severity level is 19 or less. When the severity level is 20 or greater, the server ordinarily closes the <xref:Microsoft.Data.SqlClient.SqlConnection>. However, the user can reopen the connection and continue.
-
- An application that creates an instance of the <xref:Microsoft.Data.SqlClient.SqlConnection> object can require all direct and indirect callers to have sufficient permission to the code by setting declarative or imperative security demands. <xref:Microsoft.Data.SqlClient.SqlConnection> makes security demands using the <xref:Microsoft.Data.SqlClient.SqlClientPermission> object. Users can verify that their code has sufficient permissions by using the <xref:Microsoft.Data.SqlClient.SqlClientPermissionAttribute> object. Users and administrators can also use the [Caspol.exe (Code Access Security Policy Tool)](~/docs/framework/tools/caspol-exe-code-access-security-policy-tool.md) to modify security policy at the machine, user, and enterprise levels. For more information, see [Security in .NET](~/docs/standard/security/index.md). For an example demonstrating how to use security demands, see [Code Access Security and ADO.NET](~/docs/framework/data/adonet/code-access-security.md).
-
- For more information about handling warning and informational messages from the server, see [Connection Events](~/docs/framework/data/adonet/connection-events.md). For more information about SQL Server engine errors and error messages, see [Database Engine Events and Errors](/sql/relational-databases/errors-events/database-engine-events-and-errors).
-
- > [!CAUTION]
- > You can force TCP instead of shared memory. You can do that by prefixing tcp: to the server name in the connection string or you can use localhost.
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlCommand> and a <xref:Microsoft.Data.SqlClient.SqlConnection>. The <xref:Microsoft.Data.SqlClient.SqlConnection> is opened and set as the <xref:Microsoft.Data.SqlClient.SqlCommand.Connection%2A> for the <xref:Microsoft.Data.SqlClient.SqlCommand>. The example then calls <xref:Microsoft.Data.SqlClient.SqlCommand.ExecuteNonQuery%2A>. To accomplish this, the <xref:Microsoft.Data.SqlClient.SqlCommand.ExecuteNonQuery%2A> is passed a connection string and a query string that is a Transact-SQL INSERT statement. The connection is closed automatically when the code exits the using block.
-
- [!code-csharp[SqlCommand_ExecuteNonQuery Example#1](~/../sqlclient/doc/samples/SqlCommand_ExecuteNonQuery.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlConnection._CustomColumnEncryptionKeyStoreProviders">
- <summary>
- Custom provider list should be provided by the user. We shallow copy the user supplied dictionary into a ReadOnlyDictionary.
- Custom provider list can only supplied once per application.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlConnection._ColumnEncryptionTrustedMasterKeyPaths">
- <summary>
- Dictionary object holding trusted key paths for various SQL Servers.
- Key to the dictionary is a SQL Server Name
- IList contains a list of trusted key paths.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.ColumnEncryptionTrustedMasterKeyPaths">
- <summary>Allows you to set a list of trusted key paths for a database server. If while processing an application query the driver receives a key path that is not on the list, the query will fail. This property provides additional protection against security attacks that involve a compromised SQL Server providing fake key paths, which may lead to leaking key store credentials.</summary><value>The list of trusted master key paths for the column encryption.</value><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlConnection._ColumnEncryptionQueryMetadataCacheEnabled">
- <summary>
- Defines whether query metadata caching is enabled.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.ColumnEncryptionQueryMetadataCacheEnabled">
- <summary>Gets or sets a value that indicates whether query metadata caching is enabled (true) or not (false) for parameterized queries running against <see href="https://docs.microsoft.com/sql/relational-databases/security/encryption/always-encrypted-database-engine">Always Encrypted</see> enabled databases. The default value is true.</summary><value>Returns true if query metadata caching is enabled; otherwise false. true is the default.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- For parameterized queries, SqlClient makes a roundtrip to SQL Server for parameter metadata, to see which parameter it needs to encrypt and how (which keys and algorithms should be used). If the application calls the same query multiple times, an extra roundtrip is made to the server each time, which degrades application performance.
-
- With **ColumnEncryptionQueryMetadataCacheEnabled** set to true, if the same query is called multiple times, the roundtrip to the server will be made only once. The cache has a non-configurable Max size parameter that is set to 2000 queries.
-
- ]]></format>
- </remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlConnection._ColumnEncryptionKeyCacheTtl">
- <summary>
- Defines whether query metadata caching is enabled.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.ColumnEncryptionKeyCacheTtl">
- <summary>Gets or sets the time-to-live for column encryption key entries in the column encryption key cache for the <see href="https://docs.microsoft.com/sql/relational-databases/security/encryption/always-encrypted-database-engine">Always Encrypted</see> feature. The default value is 2 hours. 0 means no caching at all.</summary><value>The time interval.</value><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.RegisterColumnEncryptionKeyStoreProviders(System.Collections.Generic.IDictionary{System.String,Microsoft.Data.SqlClient.SqlColumnEncryptionKeyStoreProvider})">
- <param name="customProviders">Custom column encryption key provider dictionary</param><summary>Registers the column encryption key store providers. This function should only be called once in an app. This does shallow copying of the dictionary so that the app cannot alter the custom provider list once it has been set.</summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Examples
- ```csharp
- Dictionary<string, SqlColumnEncryptionKeyStoreProvider> customKeyStoreProviders = new Dictionary<string, SqlColumnEncryptionKeyStoreProvider>();
- MySqlClientHSMProvider myProvider = new MySqlClientHSMProvider();
- customKeyStoreProviders.Add(@"HSM Provider", myProvider);
- SqlConnection.RegisterColumnEncryptionKeyStoreProviders(customKeyStoreProviders);
- ```
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.TryGetColumnEncryptionKeyStoreProvider(System.String,Microsoft.Data.SqlClient.SqlColumnEncryptionKeyStoreProvider@)">
- <summary>
- This function walks through both system and custom column encryption key store providers and returns an object if found.
- </summary>
- <param name="providerName">Provider Name to be searched in System Provider diction and Custom provider dictionary.</param>
- <param name="columnKeyStoreProvider">If the provider is found, returns the corresponding SqlColumnEncryptionKeyStoreProvider instance.</param>
- <returns>true if the provider is found, else returns false</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.GetColumnEncryptionSystemKeyStoreProviders">
- <summary>
- This function returns a list of system provider dictionary currently supported by this driver.
- </summary>
- <returns>Combined list of provider names</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.GetColumnEncryptionCustomKeyStoreProviders">
- <summary>
- This function returns a list of custom provider dictionary currently registered.
- </summary>
- <returns>Combined list of provider names</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.#ctor(System.String)">
- <param name="connectionString">The connection used to open the SQL Server database.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlConnection" /> class when given a string that contains the connection string.</summary><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.#ctor(System.String,Microsoft.Data.SqlClient.SqlCredential)">
- <param name="connectionString">A connection string that does not use any of the following connection string keywords: <see langword="Integrated Security = true" />, <see langword="UserId" />, or <see langword="Password" />; or that does not use <see langword="ContextConnection = true" />.</param><param name="credential">A <see cref="T:Microsoft.Data.SqlClient.SqlCredential" /> object. If <paramref name="credential" /> is null, <see cref="M:Microsoft.Data.SqlClient.SqlConnection.#ctor(System.String,Microsoft.Data.SqlClient.SqlCredential)" /> is functionally equivalent to <see cref="M:Microsoft.Data.SqlClient.SqlConnection.#ctor(System.String)" />.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlConnection" /> class given a connection string, that does not use <see langword="Integrated Security = true" /> and a <see cref="T:Microsoft.Data.SqlClient.SqlCredential" /> object that contains the user ID and password.</summary><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.StatisticsEnabled">
- <summary>When set to <see langword="true" />, enables statistics gathering for the current connection.</summary><value>Returns <see langword="true" /> if statistics gathering is enabled; otherwise <see langword="false" />. <see langword="false" /> is the default.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Enabling statistics gathering has a minor, but measurable effect on performance and therefore should be enabled only when it is required.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.IsColumnEncryptionSettingEnabled">
- <summary>
- Is this connection using column encryption ?
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.EnclaveAttestationUrl">
- <summary>
- Get enclave attestation url to be used with enclave based Always Encrypted
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.AttestationProtocol">
- <summary>
- Get attestation protocol
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.DbProviderFactory">
- <summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.AccessToken">
- <summary>Gets or sets the access token for the connection.</summary><value>The access token for the connection.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.ConnectionString">
- <summary>Gets or sets the string used to open a SQL Server database.</summary><value>The connection string that includes the source database name, and other parameters needed to establish the initial connection. The default value is an empty string.</value><remarks>
- <format type="text/markdown"><.
-
- The <xref:Microsoft.Data.SqlClient.SqlConnection.ConnectionString%2A> property can be set only when the connection is closed. Many of the connection string values have corresponding read-only properties. When the connection string is set, these properties are updated, except when an error is detected. In this case, none of the properties are updated. <xref:Microsoft.Data.SqlClient.SqlConnection> properties return only those settings that are contained in the <xref:Microsoft.Data.SqlClient.SqlConnection.ConnectionString%2A>.
-
- To connect to a local computer, specify "(local)" for the server. If a server name is not specified, a connection will be attempted to the default instance on the local computer.
-
- Resetting the <xref:Microsoft.Data.SqlClient.SqlConnection.ConnectionString%2A> on a closed connection resets all connection string values (and related properties) including the password. For example, if you set a connection string that includes "Database= AdventureWorks", and then reset the connection string to "Data Source=myserver;Integrated Security=true", the <xref:Microsoft.Data.SqlClient.SqlConnection.Database%2A> property is no longer set to "AdventureWorks".
-
- The connection string is parsed immediately after being set. If errors in syntax are found when parsing, a runtime exception, such as <xref:System.ArgumentException>, is generated. Other errors can be found only when an attempt is made to open the connection.
-
- The basic format of a connection string includes a series of keyword/value pairs separated by semicolons. The equal sign (=) connects each keyword and its value. To include values that contain a semicolon, single-quote character, or double-quote character, the value must be enclosed in double quotation marks. If the value contains both a semicolon and a double-quote character, the value can be enclosed in single quotation marks. The single quotation mark is also useful if the value starts with a double-quote character. Conversely, the double quotation mark can be used if the value starts with a single quotation mark. If the value contains both single-quote and double-quote characters, the quotation mark character used to enclose the value must be doubled every time it occurs within the value.
-
- To include preceding or trailing spaces in the string value, the value must be enclosed in either single quotation marks or double quotation marks. Any leading or trailing spaces around integer, Boolean, or enumerated values are ignored, even if enclosed in quotation marks. However, spaces within a string literal keyword or value are preserved. Single or double quotation marks may be used within a connection string without using delimiters (for example, Data Source= my'Server or Data Source= my"Server), unless a quotation mark character is the first or last character in the value.
-
- Keywords are not case sensitive.
-
- The following table lists the valid names for keyword values within the <xref:Microsoft.Data.SqlClient.SqlConnection.ConnectionString%2A>.
-
- |Keyword|Default|Description|
- |-------------|-------------|-----------------|
- |Addr|N/A|Synonym of **Data Source**.|
- |Address|N/A|Synonym of **Data Source**.|
- |App|N/A|Synonym of **Application Name**.|
- |Application Name|N/A|The name of the application, or '.NET SQLClient Data Provider' if no application name is provided.<br /><br /> An application name can be 128 characters or less.|
- |ApplicationIntent|ReadWrite|Declares the application workload type when connecting to a server. Possible values are `ReadOnly` and `ReadWrite`. For example:<br /><br /> `ApplicationIntent=ReadOnly`<br /><br /> For more information about SqlClient support for Always On Availability Groups, see [SqlClient Support for High Availability, Disaster Recovery](~/docs/framework/data/adonet/sql/sqlclient-support-for-high-availability-disaster-recovery.md).|
- |Asynchronous Processing<br /><br /> -or-<br /><br /> Async|'false'|When `true`, enables asynchronous operation support. Recognized values are `true`, `false`, `yes`, and `no`.<br /><br /> This property is ignored beginning in .NET Framework 4.5. For more information about SqlClient support for asynchronous programming, see [Asynchronous Programming](~/docs/framework/data/adonet/asynchronous-programming.md).|
- |AttachDBFilename<br /><br /> -or-<br /><br /> Extended Properties<br /><br /> -or-<br /><br /> Initial File Name|N/A|The name of the primary database file, including the full path name of an attachable database. AttachDBFilename is only supported for primary data files with an .mdf extension.<br /><br /> If the value of the AttachDBFileName key is specified in the connection string, the database is attached and becomes the default database for the connection.<br /><br /> If this key is not specified and if the database was previously attached, the database will not be reattached. The previously attached database will be used as the default database for the connection.<br /><br /> If this key is specified together with the AttachDBFileName key, the value of this key will be used as the alias. However, if the name is already used in another attached database, the connection will fail.<br /><br /> The path may be absolute or relative by using the DataDirectory substitution string. If DataDirectory is used, the database file must exist within a subdirectory of the directory pointed to by the substitution string. **Note:** Remote server, HTTP, and UNC path names are not supported. <br /><br /> The database name must be specified with the keyword 'database' (or one of its aliases) as in the following:<br /><br /> <code>"AttachDbFileName=|DataDirectory|\data\YourDB.mdf;integrated security=true;database=YourDatabase"</code><br /><br /> An error will be generated if a log file exists in the same directory as the data file and the 'database' keyword is used when attaching the primary data file. In this case, remove the log file. Once the database is attached, a new log file will be automatically generated based on the physical path.|
- |Authentication|N/A|The authentication method used for [Connecting to SQL Database By Using Azure Active Directory Authentication](https://azure.microsoft.com/documentation/articles/sql-database-aad-authentication/#7-connect-to-your-database-by-using-azure-active-directory-identities).<br /><br /> Valid values are:<br /><br /> `Active Directory Integrated`, `Active Directory Interactive`, `Active Directory Password`, `Sql Password`. Currently `Active Directory Integrated` and `Active Directory Interactive` modes of authentication are only supported for .NET Framework. |
- |Column Encryption Setting|N/A|Enables or disables [Always Encrypted](/sql/relational-databases/security/encryption/always-encrypted-database-engine?view=sql-server-2017) functionality for the connection.|
- |Connect Timeout<br /><br /> -or-<br /><br /> Connection Timeout<br /><br /> -or-<br /><br /> Timeout|15|The length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error.<br /><br /> Valid values are greater than or equal to 0 and less than or equal to 2147483647.<br /><br /> When opening a connection to a Azure SQL Database, set the connection timeout to 30 seconds.|
- |Connection Lifetime<br /><br /> -or-<br /><br /> Load Balance Timeout|0|When a connection is returned to the pool, its creation time is compared with the current time, and the connection is destroyed if that time span (in seconds) exceeds the value specified by `Connection Lifetime`. This is useful in clustered configurations to force load balancing between a running server and a server just brought online.<br /><br /> A value of zero (0) causes pooled connections to have the maximum connection timeout.|
- |ConnectRetryCount|1|Controls the number of reconnection attempts after the client identifies an idle connection failure. Valid values are 0 to 255. The default is 1. 0 means do not attempt to reconnect (disable connection resiliency).<br /><br /> For additional information about idle connection resiliency, see [Technical Article - Idle Connection Resiliency](https://go.microsoft.com/fwlink/?LinkId=393996).|
- |ConnectRetryInterval|10|Specifies the time between each connection retry attempt (ConnectRetryCount). Valid values are 1 to 60 seconds (default=10), applied after the first reconnection attempt. When a broken connection is detected, the client immediately attempts to reconnect; this is the first reconnection attempt and only occurs if ConnectRetryCount is greater than 0. If the first reconnection attempt fails and ConnectRetryCount is greater than 1, the client waits ConnectRetryInterval to try the second and subsequent reconnection attempts.<br /><br /> For additional information about idle connection resiliency, see [Technical Article - Idle Connection Resiliency](https://go.microsoft.com/fwlink/?LinkId=393996).|
- |Context Connection|'false'|`true` if an in-process connection to SQL Server should be made.|
- |Current Language<br /><br /> -or-<br /><br /> Language|N/A|Sets the language used for database server warning or error messages.<br /><br /> The language name can be 128 characters or less.|
- |Data Source<br /><br /> -or-<br /><br /> Server<br /><br /> -or-<br /><br /> Address<br /><br /> -or-<br /><br /> Addr<br /><br /> -or-<br /><br /> Network Address|N/A|The name or network address of the instance of SQL Server to which to connect. The port number can be specified after the server name:<br /><br /> `server=tcp:servername, portnumber`<br /><br /> When specifying a local instance, always use (local). To force a protocol, add one of the following prefixes:<br /><br /> `np:(local), tcp:(local), lpc:(local)`<br /><br /> Beginning in .NET Framework 4.5, you can also connect to a LocalDB database as follows:<br /><br /> `server=(localdb)\\myInstance`<br /><br /> For more information about LocalDB, see [SqlClient Support for LocalDB](~/docs/framework/data/adonet/sql/sqlclient-support-for-localdb.md).<br /><br /> **Data Source** must use the TCP format or the Named Pipes format.<br /><br /> TCP format is as follows:<br /><br /> - tcp:\<host name>\\<instance name\><br />- tcp:\<host name>,\<TCP/IP port number><br /><br /> The TCP format must start with the prefix "tcp:" and is followed by the database instance, as specified by a host name and an instance name. This format is not applicable when connecting to Azure SQL Database. TCP is automatically selected for connections to Azure SQL Database when no protocol is specified.<br /><br /> The host name MUST be specified in one of the following ways:<br /><br /> - NetBIOSName<br />- IPv4Address<br />- IPv6Address<br /><br /> The instance name is used to resolve to a particular TCP/IP port number on which a database instance is hosted. Alternatively, specifying a TCP/IP port number directly is also allowed. If both instance name and port number are not present, the default database instance is used.<br /><br /> The Named Pipes format is as follows:<br /><br /> - np:\\\\<host name\>\pipe\\<pipe name\><br /><br /> The Named Pipes format MUST start with the prefix "np:" and is followed by a named pipe name.<br /><br /> The host name MUST be specified in one of the following ways:<br /><br /> - NetBIOSName<br />- IPv4Address<br />- IPv6Address<br /><br /> The pipe name is used to identify the database instance to which the .NET Framework application will be connected.<br /><br /> If the value of the **Network** key is specified, the prefixes "tcp:" and "np:" should not be specified. **Note:** You can force the use of TCP instead of shared memory, either by prefixing **tcp:** to the server name in the connection string, or by using **localhost**.|
- |Encrypt|'false'|When `true`, SQL Server uses SSL encryption for all data sent between the client and server if the server has a certificate installed. Recognized values are `true`, `false`, `yes`, and `no`. For more information, see [Connection String Syntax](~/docs/framework/data/adonet/connection-string-syntax.md).<br /><br /> Beginning in .NET Framework 4.5, when `TrustServerCertificate` is false and `Encrypt` is true, the server name (or IP address) in a SQL Server SSL certificate must exactly match the server name (or IP address) specified in the connection string. Otherwise, the connection attempt will fail. For information about support for certificates whose subject starts with a wildcard character (*), see [Accepted wildcards used by server certificates for server authentication](https://support.microsoft.com/kb/258858).|
- |Enlist|'true'|`true` indicates that the SQL Server connection pooler automatically enlists the connection in the creation thread's current transaction context.|
- |Failover Partner|N/A|The name of the failover partner server where database mirroring is configured.<br /><br /> If the value of this key is "", then **Initial Catalog** must be present, and its value must not be "".<br /><br /> The server name can be 128 characters or less.<br /><br /> If you specify a failover partner but the failover partner server is not configured for database mirroring and the primary server (specified with the Server keyword) is not available, then the connection will fail.<br /><br /> If you specify a failover partner and the primary server is not configured for database mirroring, the connection to the primary server (specified with the Server keyword) will succeed if the primary server is available.|
- |Initial Catalog<br /><br /> -or-<br /><br /> Database|N/A|The name of the database.<br /><br /> The database name can be 128 characters or less.|
- |Integrated Security<br /><br /> -or-<br /><br /> Trusted_Connection|'false'|When `false`, User ID and Password are specified in the connection. When `true`, the current Windows account credentials are used for authentication.<br /><br /> Recognized values are `true`, `false`, `yes`, `no`, and `sspi` (strongly recommended), which is equivalent to `true`.<br /><br /> If User ID and Password are specified and Integrated Security is set to true, the User ID and Password will be ignored and Integrated Security will be used.<br /><br /> <xref:Microsoft.Data.SqlClient.SqlCredential> is a more secure way to specify credentials for a connection that uses SQL Server Authentication (`Integrated Security=false`).|
- |Max Pool Size|100|The maximum number of connections that are allowed in the pool.<br /><br /> Valid values are greater than or equal to 1. Values that are less than **Min Pool Size** generate an error.|
- |Min Pool Size|0|The minimum number of connections that are allowed in the pool.<br /><br /> Valid values are greater than or equal to 0. Zero (0) in this field means no minimum connections are initially opened.<br /><br /> Values that are greater than **Max Pool Size** generate an error.|
- |MultipleActiveResultSets|'false'|When `true`, an application can maintain multiple active result sets (MARS). When `false`, an application must process or cancel all result sets from one batch before it can execute any other batch on that connection.<br /><br /> Recognized values are `true` and `false`.<br /><br /> For more information, see [Multiple Active Result Sets (MARS)](~/docs/framework/data/adonet/sql/multiple-active-result-sets-mars.md).|
- |`MultiSubnetFailover`|FALSE|Always specify `multiSubnetFailover=True` when connecting to the availability group listener of a SQL Server 2012 (or later) availability group or a SQL Server 2012 (or later) Failover Cluster Instance. `multiSubnetFailover=True` configures SqlClient to provide faster detection of and connection to the (currently) active server. Possible values are `Yes` and `No`, `True` and `False` or `1` and `0`. For example:<br /><br /> `MultiSubnetFailover=True`<br /><br /> The default is `False`. For more information about SqlClient's support for Always On AGs, see [SqlClient Support for High Availability, Disaster Recovery](~/docs/framework/data/adonet/sql/sqlclient-support-for-high-availability-disaster-recovery.md).|
- |Network Library<br /><br /> -or-<br /><br /> Network<br /><br /> -or-<br /><br /> Net|N/A|The network library used to establish a connection to an instance of SQL Server. Supported values include:<br /><br /> dbnmpntw (Named Pipes)<br /><br /> dbmsrpcn (Multiprotocol, Windows RPC)<br /><br /> dbmsadsn (Apple Talk)<br /><br /> dbmsgnet (VIA)<br /><br /> dbmslpcn (Shared Memory)<br /><br /> dbmsspxn (IPX/SPX)<br /><br /> dbmssocn (TCP/IP)<br /><br /> Dbmsvinn (Banyan Vines)<br /><br /> The corresponding network DLL must be installed on the system to which you connect. If you do not specify a network and you use a local server (for example, "." or "(local)"), shared memory is used. In this example, the network library is Win32 Winsock TCP/IP (dbmssocn), and 1433 is the port being used.<br /><br /> `Network Library=dbmssocn;Data Source=000.000.000.000,1433;`|
- |Packet Size|8000|Size in bytes of the network packets used to communicate with an instance of SQL Server.<br /><br /> The packet size can be greater than or equal to 512 and less than or equal to 32768.|
- |Password<br /><br /> -or-<br /><br /> PWD|N/A|The password for the SQL Server account logging on. Not recommended. To maintain a high level of security, we strongly recommend that you use the `Integrated Security` or `Trusted_Connection` keyword instead. <xref:Microsoft.Data.SqlClient.SqlCredential> is a more secure way to specify credentials for a connection that uses SQL Server Authentication.<br /><br /> The password must be 128 characters or less.|
- |Persist Security Info<br /><br /> -or-<br /><br /> PersistSecurityInfo|'false'|When set to `false` or `no` (strongly recommended), security-sensitive information, such as the password, is not returned as part of the connection if the connection is open or has ever been in an open state. Resetting the connection string resets all connection string values including the password. Recognized values are `true`, `false`, `yes`, and `no`.|
- |PoolBlockingPeriod|Auto|Sets the blocking period behavior for a connection pool. See <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.PoolBlockingPeriod> property for details.|
- |Pooling|'true'|When the value of this key is set to true, any newly created connection will be added to the pool when closed by the application. In a next attempt to open the same connection, that connection will be drawn from the pool.<br /><br /> Connections are considered the same if they have the same connection string. Different connections have different connection strings.<br /><br /> The value of this key can be "true", "false", "yes", or "no".|
- |Replication|'false'|`true` if replication is supported using the connection.|
- |Transaction Binding|Implicit Unbind|Controls connection association with an enlisted `System.Transactions` transaction.<br /><br /> Possible values are:<br /><br /> `Transaction Binding=Implicit Unbind;`<br /><br /> `Transaction Binding=Explicit Unbind;`<br /><br /> Implicit Unbind causes the connection to detach from the transaction when it ends. After detaching, additional requests on the connection are performed in autocommit mode. The `System.Transactions.Transaction.Current` property is not checked when executing requests while the transaction is active. After the transaction has ended, additional requests are performed in autocommit mode.<br /><br /> If the system ends the transaction (in the scope of a using block) before the last command completes, it will throw <xref:System.InvalidOperationException>.<br /><br /> Explicit Unbind causes the connection to remain attached to the transaction until the connection is closed or an explicit `SqlConnection.TransactionEnlist(null)` is called. Beginning in .NET Framework 4.0, changes to Implicit Unbind make Explicit Unbind obsolete. An `InvalidOperationException` is thrown if `Transaction.Current` is not the enlisted transaction or if the enlisted transaction is not active.|
- |TransparentNetworkIPResolution|See description.|When the value of this key is set to `true`, the application is required to retrieve all IP addresses for a particular DNS entry and attempt to connect with the first one in the list. If the connection is not established within 0.5 seconds, the application will try to connect to all others in parallel. When the first answers, the application will establish the connection with the respondent IP address.<br /><br /> If the `MultiSubnetFailover` key is set to `true`, `TransparentNetworkIPResolution` is ignored.<br /><br /> If the `Failover Partner` key is set, `TransparentNetworkIPResolution` is ignored.<br /><br /> The value of this key must be `true`, `false`, `yes`, or `no`.<br /><br /> A value of `yes` is treated the same as a value of `true`.<br /><br /> A value of `no` is treated the same as a value of `false`.<br /><br /> The default values are as follows:<br /><br /> <ul><li>`false` when:<br /><br /> <ul><li>Connecting to Azure SQL Database where the data source ends with:<br /><br /> <ul><li>.database.chinacloudapi.cn</li><li>.database.usgovcloudapi.net</li><li>.database.cloudapi.de</li><li>.database.windows.net</li></ul></li><li>`Authentication` is 'Active Directory Password' or 'Active Directory Integrated'</li></ul></li><li>`true` in all other cases.</li></ul>|
- |TrustServerCertificate|'false'|When set to `true`, SSL is used to encrypt the channel when bypassing walking the certificate chain to validate trust. If TrustServerCertificate is set to `true` and Encrypt is set to `false`, the channel is not encrypted. Recognized values are `true`, `false`, `yes`, and `no`. For more information, see [Connection String Syntax](~/docs/framework/data/adonet/connection-string-syntax.md).|
- |Type System Version|N/A|A string value that indicates the type system the application expects. The functionality available to a client application is dependent on the version of SQL Server and the compatibility level of the database. Explicitly setting the type system version that the client application was written for avoids potential problems that could cause an application to break if a different version of SQL Server is used. **Note:** The type system version cannot be set for common language runtime (CLR) code executing in-process in SQL Server. For more information, see [SQL Server Common Language Runtime Integration](~/docs/framework/data/adonet/sql/sql-server-common-language-runtime-integration.md). <br /><br /> Possible values are:<br /><br /> `Type System Version=SQL Server 2012;`<br /><br /> `Type System Version=SQL Server 2008;`<br /><br /> `Type System Version=SQL Server 2005;`<br /><br /> `Type System Version=Latest;`<br /><br /> `Type System Version=SQL Server 2012;` specifies that the application will require version 11.0.0.0 of Microsoft.SqlServer.Types.dll. The other `Type System Version` settings will require version 10.0.0.0 of Microsoft.SqlServer.Types.dll.<br /><br /> `Latest` is obsolete and should not be used. `Latest` is equivalent to `Type System Version=SQL Server 2008;`.|
- |User ID<br /><br /> -or-<br /><br /> UID<br /><br /> -or-|N/A|The SQL Server login account. Not recommended. To maintain a high level of security, we strongly recommend that you use the `Integrated Security` or `Trusted_Connection` keywords instead. <xref:Microsoft.Data.SqlClient.SqlCredential> is a more secure way to specify credentials for a connection that uses SQL Server Authentication.<br /><br /> The user ID must be 128 characters or less.|
- |User Instance|'false'|A value that indicates whether to redirect the connection from the default SQL Server Express instance to a runtime-initiated instance running under the account of the caller.|
- |Workstation ID<br /><br /> -or-<br /><br /> WSID|The local computer name|The name of the workstation connecting to SQL Server.<br /><br /> The ID must be 128 characters or less.|
-
- The following list contains the valid names for connection pooling values within the <xref:Microsoft.Data.SqlClient.SqlConnection.ConnectionString%2A>. For more information, see [SQL Server Connection Pooling (ADO.NET)](~/docs/framework/data/adonet/sql-server-connection-pooling.md).
-
- - Connection Lifetime (or Load Balance Timeout)
-
- - Enlist
-
- - Max Pool Size
-
- - Min Pool Size
-
- - Pooling
-
- When you are setting keyword or connection pooling values that require a Boolean value, you can use 'yes' instead of 'true', and 'no' instead of 'false'. Integer values are represented as strings.
- > [!NOTE]
- > The .NET Framework Data Provider for SQL Server uses its own protocol to communicate with SQL Server. Therefore, it does not support the use of an ODBC data source name (DSN) when connecting to SQL Server because it does not add an ODBC layer.
-
- > [!NOTE]
- > Universal data link (UDL) files are not supported for the .NET Framework Data Provider for SQL Server.
-
- > [!CAUTION]
- > In this release, the application should use caution when constructing a connection string based on user input (for example when retrieving user ID and password information from a dialog box, and appending it to the connection string). The application should make sure that a user cannot embed additional connection string parameters in these values (for example, entering a password as "validpassword;database=somedb" in an attempt to attach to a different database). If you need to construct connection strings based on user input, use the new <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder>, which validates the connection string and helps to eliminate this problem. See [Connection String Builders](~/docs/framework/data/adonet/connection-string-builders.md) for more information.
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> and sets the <xref:Microsoft.Data.SqlClient.SqlConnection.ConnectionString%2A> property before opening the connection.
-
- [!code-csharp[SqlConnection_ConnectionString Example#1](~/../sqlclient/doc/samples/SqlConnection_ConnectionString.cs#1)]
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">An invalid connection string argument has been supplied, or a required connection string argument has not been supplied.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.ConnectionTimeout">
- <summary>Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.</summary><value>The time (in seconds) to wait for a connection to open. The default value is 15 seconds.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">The value set is less than 0.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.Database">
- <summary>Gets the name of the current database or the database to be used after a connection is opened.</summary><value>The name of the current database or the name of the database to be used after a connection is opened. The default value is an empty string.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.DataSource">
- <summary>Gets the name of the instance of SQL Server to which to connect.</summary><value>The name of the instance of SQL Server to which to connect. The default value is an empty string.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
-
- > [!NOTE]
- > The <xref:Microsoft.Data.SqlClient.SqlConnection.DataSource%2A> property returns `null` if the connection string for the <xref:Microsoft.Data.SqlClient.SqlConnection> is "context connection=true".
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> and displays some of its read-only properties.
-
- [!code-csharp[SqlConnection_DataSource Example#1](~/../sqlclient/doc/samples/SqlConnection_DataSource.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.PacketSize">
- <summary>Gets the size (in bytes) of network packets used to communicate with an instance of SQL Server.</summary><value>The size (in bytes) of network packets. The default value is 8000.</value><remarks>
- <format type="text/markdown"><.
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection>, including setting the `Packet Size` to 512 in the connection string. It displays the <xref:Microsoft.Data.SqlClient.SqlConnection.PacketSize%2A> and <xref:Microsoft.Data.SqlClient.SqlConnection.ServerVersion%2A> properties in the console window.
-
- [!code-csharp[SqlConnection_PacketSize Example#1](~/../sqlclient/doc/samples/SqlConnection_PacketSize.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.ClientConnectionId">
- <summary>The connection ID of the most recent connection attempt, regardless of whether the attempt succeeded or failed.</summary><value>The connection ID of the most recent connection attempt.</value><remarks>
- <format type="text/markdown"><) for certain connection errors. If the connection ID is not in the connection ring buffer, you can assume a network error.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.ServerVersion">
- <summary>Gets a string that contains the version of the instance of SQL Server to which the client is connected.</summary><value>The version of the instance of SQL Server.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">The connection is closed.
-
- <see cref="P:Microsoft.Data.SqlClient.SqlConnection.ServerVersion" /> was called while the returned Task was not completed and the connection was not opened after a call to <see cref="M:Microsoft.Data.SqlClient.SqlConnection.OpenAsync(System.Threading.CancellationToken)" />.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.State">
- <summary>Indicates the state of the <see cref="T:Microsoft.Data.SqlClient.SqlConnection" /> during the most recent network operation performed on the connection.</summary><value>An <see cref="T:System.Data.ConnectionState" /> enumeration.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Returns an <xref:System.Data.ConnectionState> enumeration indicating the state of the <xref:Microsoft.Data.SqlClient.SqlConnection>. Closing and reopening the connection will refresh the value of <xref:Microsoft.Data.SqlClient.SqlConnection.State%2A>.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.WorkstationId">
- <summary>Gets a string that identifies the database client.</summary><value>A string that identifies the database client. If not specified, the name of the client computer. If neither is specified, the value is an empty string.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.Credential">
- <summary>Gets or sets the <see cref="T:Microsoft.Data.SqlClient.SqlCredential" /> object for this connection.</summary><value>The <see cref="T:Microsoft.Data.SqlClient.SqlCredential" /> object for this connection.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- `Persist Security Info = true` is required to get the value of the <xref:Microsoft.Data.SqlClient.SqlCredential> object with <xref:Microsoft.Data.SqlClient.SqlConnection.Credential%2A>.
-
- The default value of <xref:Microsoft.Data.SqlClient.SqlConnection.Credential%2A> is null.
-
- An <xref:System.InvalidOperationException> exception will be raised:
-
- - If <xref:Microsoft.Data.SqlClient.SqlConnection.Credential%2A> is set on an open connection.
-
- - If <xref:Microsoft.Data.SqlClient.SqlConnection.Credential%2A> is set when `Context Connection=true`.
-
- - If <xref:Microsoft.Data.SqlClient.SqlConnection.Credential%2A> is set when `Integrated Security = true`.
-
- - If <xref:Microsoft.Data.SqlClient.SqlConnection.Credential%2A> is set when the connection string uses `Password`.
-
- - If <xref:Microsoft.Data.SqlClient.SqlConnection.Credential%2A> is set when the connection string uses `UserID`.
-
- ]]></format>
- </remarks>
- </member>
- <member name="E:Microsoft.Data.SqlClient.SqlConnection.InfoMessage">
- <summary>Occurs when SQL Server returns a warning or informational message.</summary><remarks>
- <format type="text/markdown"><.
-
- For more information and an example, see [Connection Events](~/docs/framework/data/adonet/connection-events.md).
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.FireInfoMessageEventOnUserErrors">
- <summary>Gets or sets the <see cref="P:Microsoft.Data.SqlClient.SqlConnection.FireInfoMessageEventOnUserErrors" /> property.</summary><value>
- <see langword="true" /> if the <see cref="P:Microsoft.Data.SqlClient.SqlConnection.FireInfoMessageEventOnUserErrors" /> property has been set; otherwise <see langword="false" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- When you set <xref:Microsoft.Data.SqlClient.SqlConnection.FireInfoMessageEventOnUserErrors%2A> to `true`, errors that were previously treated as exceptions are now handled as <xref:Microsoft.Data.SqlClient.SqlConnection.InfoMessage> events. All events fire immediately and are handled by the event handler. If is <xref:Microsoft.Data.SqlClient.SqlConnection.FireInfoMessageEventOnUserErrors%2A> is set to `false`, then <xref:Microsoft.Data.SqlClient.SqlConnection.InfoMessage> events are handled at the end of the procedure.
-
- > [!NOTE]
- > An error with a severity level of 17 or above that causes the server to stop processing the command needs to be handled as an exception. In this case, an exception is thrown regardless of how the error is handled in the <xref:Microsoft.Data.SqlClient.SqlConnection.InfoMessage> event.
-
- For more information on working with events, see [Connection Events](~/docs/framework/data/adonet/connection-events.md). For more information on errors generated by the SQL Server engine, see [Database Engine Errors](/sql/relational-databases/errors-events/database-engine-events-and-errors).
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction">
- <summary>Starts a database transaction.</summary><returns>An object representing the new transaction.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This command maps to the SQL Server implementation of BEGIN TRANSACTION.
-
- You must explicitly commit or roll back the transaction using the <xref:Microsoft.Data.SqlClient.SqlTransaction.Commit%2A> or <xref:Microsoft.Data.SqlClient.SqlTransaction.Rollback%2A> method. To make sure that the .NET Framework Data Provider for SQL Server transaction management model performs correctly, avoid using other transaction management models, such as the one provided by SQL Server.
-
- > [!NOTE]
- > If you do not specify an isolation level, the default isolation level is used. To specify an isolation level with the <xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A> method, use the overload that takes the `iso` parameter (<xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A>). The isolation level set for a transaction persists after the transaction is completed and until the connection is closed or disposed. Setting the isolation level to **Snapshot** in a database where the snapshot isolation level is not enabled does not throw an exception. The transaction will complete using the default isolation level.
-
- > [!CAUTION]
- > If a transaction is started and a level 16 or higher error occurs on the server, the transaction will not be rolled back until the <xref:Microsoft.Data.SqlClient.SqlDataReader.Read%2A> method is invoked. No exception is thrown on **ExecuteReader**.
-
- > [!CAUTION]
- > When your query returns a large amount of data and calls `BeginTransaction`, a <xref:Microsoft.Data.SqlClient.SqlException> is thrown because SQL Server does not allow parallel transactions when using MARS. To avoid this problem, always associate a transaction with the command, the connection, or both before any readers are open.
-
- For more information on SQL Server transactions, see [Transactions (Transact-SQL)](/sql/t-sql/language-elements/transactions-transact-sql).
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> and a <xref:Microsoft.Data.SqlClient.SqlTransaction>. It also demonstrates how to use the <xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A>, a <xref:Microsoft.Data.SqlClient.SqlTransaction.Commit%2A>, and <xref:Microsoft.Data.SqlClient.SqlTransaction.Rollback%2A> methods.
-
- [!code-csharp[SqlConnection_BeginTransaction Example#1](~/../sqlclient/doc/samples/SqlConnection_BeginTransaction.cs#1)]
-
- ]]></format>
- </remarks><exception cref="T:Microsoft.Data.SqlClient.SqlException">Parallel transactions are not allowed when using Multiple Active Result Sets (MARS).</exception><exception cref="T:System.InvalidOperationException">Parallel transactions are not supported.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction(System.Data.IsolationLevel)">
- <param name="iso">The isolation level under which the transaction should run.</param><summary>Starts a database transaction with the specified isolation level.</summary><returns>An object representing the new transaction.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This command maps to the SQL Server implementation of BEGIN TRANSACTION.
-
- You must explicitly commit or roll back the transaction using the <xref:Microsoft.Data.SqlClient.SqlTransaction.Commit%2A> or <xref:Microsoft.Data.SqlClient.SqlTransaction.Rollback%2A> method. To make sure that the .NET Framework Data Provider for SQL Server transaction management model performs correctly, avoid using other transaction management models, such as the one provided by SQL Server.
-
- > [!NOTE]
- > After a transaction is committed or rolled back, the isolation level of the transaction persists for all subsequent commands that are in autocommit mode (the SQL Server default). This can produce unexpected results, such as an isolation level of REPEATABLE READ persisting and locking other users out of a row. To reset the isolation level to the default (READ COMMITTED), execute the Transact-SQL SET TRANSACTION ISOLATION LEVEL READ COMMITTED statement, or call <xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A?displayProperty=nameWithType> followed immediately by <xref:Microsoft.Data.SqlClient.SqlTransaction.Commit%2A?displayProperty=nameWithType>. For more information on SQL Server isolation levels, see [Transaction Isolation Levels](/sql/t-sql/language-elements/transaction-isolation-levels).
-
- For more information on SQL Server transactions, see [Transactions (Transact-SQL)](/sql/t-sql/language-elements/transactions-transact-sql).
-
- > [!CAUTION]
- > When your query returns a large amount of data and calls `BeginTransaction`, a <xref:Microsoft.Data.SqlClient.SqlException> is thrown because SQL Server does not allow parallel transactions when using MARS. To avoid this problem, always associate a transaction with the command, the connection, or both before any readers are open.
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> and a <xref:Microsoft.Data.SqlClient.SqlTransaction>. It also demonstrates how to use the <xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A>, a <xref:Microsoft.Data.SqlClient.SqlTransaction.Commit%2A>, and <xref:Microsoft.Data.SqlClient.SqlTransaction.Rollback%2A> methods.
-
- [!code-csharp[SqlConnection_BeginTransaction1 Example#1](~/../sqlclient/doc/samples/SqlConnection_BeginTransaction1.cs#1)]
-
- ]]></format>
- </remarks><exception cref="T:Microsoft.Data.SqlClient.SqlException">Parallel transactions are not allowed when using Multiple Active Result Sets (MARS).</exception><exception cref="T:System.InvalidOperationException">Parallel transactions are not supported.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction(System.String)">
- <param name="transactionName">The name of the transaction.</param><summary>Starts a database transaction with the specified transaction name.</summary><returns>An object representing the new transaction.</returns><remarks>
- <format type="text/markdown"><.
-
- > [!CAUTION]
- > When your query returns a large amount of data and calls `BeginTransaction`, a <xref:Microsoft.Data.SqlClient.SqlException> is thrown because SQL Server does not allow parallel transactions when using MARS. To avoid this problem, always associate a transaction with the command, the connection, or both before any readers are open.
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> and a <xref:Microsoft.Data.SqlClient.SqlTransaction>. It also demonstrates how to use the <xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A>, a <xref:Microsoft.Data.SqlClient.SqlTransaction.Commit%2A>, and <xref:Microsoft.Data.SqlClient.SqlTransaction.Rollback%2A> methods.
-
- [!code-csharp[SqlConnection_BeginTransaction2 Example#1](~/../sqlclient/doc/samples/SqlConnection_BeginTransaction2.cs#1)]
-
- ]]></format>
- </remarks><exception cref="T:Microsoft.Data.SqlClient.SqlException">Parallel transactions are not allowed when using Multiple Active Result Sets (MARS).</exception><exception cref="T:System.InvalidOperationException">Parallel transactions are not supported.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.BeginDbTransaction(System.Data.IsolationLevel)">
- <param name="isolationLevel">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction(System.Data.IsolationLevel,System.String)">
- <param name="iso">The isolation level under which the transaction should run.</param><param name="transactionName">The name of the transaction.</param><summary>Starts a database transaction with the specified isolation level and transaction name.</summary><returns>An object representing the new transaction.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This command maps to the SQL Server implementation of BEGIN TRANSACTION.
-
- The value in the `transactionName` parameter can be used in later calls to <xref:Microsoft.Data.SqlClient.SqlTransaction.Rollback%2A> and in the `savePoint` parameter of the <xref:Microsoft.Data.SqlClient.SqlTransaction.Save%2A> method.
-
- You must explicitly commit or roll back the transaction using the <xref:Microsoft.Data.SqlClient.SqlTransaction.Commit%2A> or <xref:Microsoft.Data.SqlClient.SqlTransaction.Rollback%2A> method. To make sure that the SQL Server transaction management model performs correctly, avoid using other transaction management models, such as the one provided by SQL Server.
-
- > [!NOTE]
- > After a transaction is committed or rolled back, the isolation level of the transaction persists for all subsequent commands that are in autocommit mode (the SQL Server default). This can produce unexpected results, such as an isolation level of REPEATABLE READ persisting and locking other users out of a row. To reset the isolation level to the default (READ COMMITTED), execute the Transact-SQL SET TRANSACTION ISOLATION LEVEL READ COMMITTED statement, or call <xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A?displayProperty=nameWithType> followed immediately by <xref:Microsoft.Data.SqlClient.SqlTransaction.Commit%2A?displayProperty=nameWithType>. For more information on SQL Server isolation levels, see [Transaction Isolation Levels](/sql/t-sql/language-elements/transaction-isolation-levels).
-
- For more information on SQL Server transactions, see [Transactions (Transact-SQL)](/sql/t-sql/language-elements/transactions-transact-sql).
-
- > [!CAUTION]
- > When your query returns a large amount of data and calls `BeginTransaction`, a <xref:Microsoft.Data.SqlClient.SqlException> is thrown because SQL Server does not allow parallel transactions when using MARS. To avoid this problem, always associate a transaction with the command, the connection, or both before any readers are open.
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> and a <xref:Microsoft.Data.SqlClient.SqlTransaction>. It also demonstrates how to use the <xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A>, a <xref:Microsoft.Data.SqlClient.SqlTransaction.Commit%2A>, and <xref:Microsoft.Data.SqlClient.SqlTransaction.Rollback%2A> methods.
-
- [!code-csharp[SqlConnection_BeginTransaction3 Example#1](~/../sqlclient/doc/samples/SqlConnection_BeginTransaction3.cs#1)]
-
- ]]></format>
- </remarks><exception cref="T:Microsoft.Data.SqlClient.SqlException">Parallel transactions are not allowed when using Multiple Active Result Sets (MARS).</exception><exception cref="T:System.InvalidOperationException">Parallel transactions are not supported.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.ChangeDatabase(System.String)">
- <param name="database">The name of the database to use instead of the current database.</param><summary>Changes the current database for an open <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />.</summary><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">The database name is not valid.</exception><exception cref="T:System.InvalidOperationException">The connection is not open.</exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">Cannot change the database.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.ClearAllPools">
- <summary>Empties the connection pool.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- <xref:Microsoft.Data.SqlClient.SqlConnection.ClearAllPools%2A> resets (or empties) the connection pool. If there are connections in use at the time of the call, they are marked appropriately and will be discarded (instead of being returned to the pool) when <xref:Microsoft.Data.SqlClient.SqlConnection.Close%2A> is called on them.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.ClearPool(Microsoft.Data.SqlClient.SqlConnection)">
- <param name="connection">The <see cref="T:Microsoft.Data.SqlClient.SqlConnection" /> to be cleared from the pool.</param><summary>Empties the connection pool associated with the specified connection.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- <xref:Microsoft.Data.SqlClient.SqlConnection.ClearPool%2A> clears the connection pool that is associated with the `connection`. If additional connections associated with `connection` are in use at the time of the call, they are marked appropriately and are discarded (instead of being returned to the pool) when <xref:Microsoft.Data.SqlClient.SqlConnection.Close%2A> is called on them.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.System#ICloneable#Clone">
- <summary>Creates a new object that is a copy of the current instance.</summary><returns>A new object that is a copy of this instance.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This member is an explicit interface member implementation. It can be used only when the <xref:Microsoft.Data.SqlClient.SqlConnection> instance is cast to an <xref:System.ICloneable> interface.
-
- This member is only supported by the .NET Compact Framework.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.Close">
- <summary>Closes the connection to the database. This is the preferred method of closing any open connection.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlConnection.Close%2A> method rolls back any pending transactions. It then releases the connection to the connection pool, or closes the connection if connection pooling is disabled.
-
- > [!NOTE]
- > Pending transactions started using Transact-SQL or <xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A> are automatically rolled back when the connection is reset if connection pooling is enabled. If connection pooling is off, the transaction is rolled back after `SqlConnection.Close` is called. Transactions started through <xref:System.Transactions> are controlled through the `System.Transactions` infrastructure, and are not affected by `SqlConnection.Close`.
-
- An application can call <xref:Microsoft.Data.SqlClient.SqlConnection.Close%2A> more than one time. No exception is generated.
-
- If the <xref:Microsoft.Data.SqlClient.SqlConnection> goes out of scope, it won't be closed. Therefore, you must explicitly close the connection by calling `Close` or `Dispose`. `Close` and `Dispose` are functionally equivalent. If the connection pooling value `Pooling` is set to `true` or `yes`, the underlying connection is returned back to the connection pool. On the other hand, if `Pooling` is set to `false` or `no`, the underlying connection to the server is closed.
-
- > [!NOTE]
- > Login and logout events will not be raised on the server when a connection is fetched from or returned to the connection pool, because the connection is not actually closed when it is returned to the connection pool. For more information, see [SQL Server Connection Pooling (ADO.NET)](~/docs/framework/data/adonet/sql-server-connection-pooling.md).
-
- > [!CAUTION]
- > Do not call `Close` or `Dispose` on a Connection, a DataReader, or any other managed object in the `Finalize` method of your class. In a finalizer, you should only release unmanaged resources that your class owns directly. If your class does not own any unmanaged resources, do not include a `Finalize` method in your class definition. For more information, see [Garbage Collection](~/docs/standard/garbage-collection/index.md).
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection>, opens it, displays some of its properties. The connection is automatically closed at the end of the `using` block.
-
- [!code-csharp[SqlConnection_Open Example#1](~/../sqlclient/doc/samples/SqlConnection_Open.cs#1)]
-
- ]]></format>
- </remarks><exception cref="T:Microsoft.Data.SqlClient.SqlException">The connection-level error that occurred while opening the connection.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.CreateCommand">
- <summary>Creates and returns a <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object associated with the <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />.</summary><returns>A <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object.</returns><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.EnlistDistributedTransaction(System.EnterpriseServices.ITransaction)">
- <param name="transaction">A reference to an existing <see cref="T:System.EnterpriseServices.ITransaction" /> in which to enlist.</param><summary>Enlists in the specified transaction as a distributed transaction.</summary><remarks>
- <format type="text/markdown"><.
-
- You can continue to enlist in an existing distributed transaction using the **EnlistDistributedTransaction** method if auto-enlistment is disabled. Enlisting in an existing distributed transaction makes sure that, if the transaction is committed or rolled back, modifications made by the code at the data source are also committed or rolled back.
-
- `EnlistDistributedTransaction` returns an exception if the <xref:Microsoft.Data.SqlClient.SqlConnection> has already started a transaction using <xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A>. However, if the transaction is a local transaction started at the data source (for example, by explicitly executing the BEGIN TRANSACTION statement using an <xref:Microsoft.Data.SqlClient.SqlCommand> object), **EnlistDistributedTransaction** rolls back the local transaction and enlists in the existing distributed transaction as requested. You do not receive notice that the local transaction was rolled back, and are responsible for managing any local transactions not started using <xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A>.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.Open">
- <summary>Opens a database connection with the property settings specified by the <see cref="P:Microsoft.Data.SqlClient.SqlConnection.ConnectionString" />.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlConnection> draws an open connection from the connection pool if one is available. Otherwise, it establishes a new connection to an instance of SQL Server.
-
- > [!NOTE]
- > If the <xref:Microsoft.Data.SqlClient.SqlConnection> goes out of scope, it is not closed. Therefore, you must explicitly close the connection by calling <xref:Microsoft.Data.SqlClient.SqlConnection.Close%2A>.
-
- > [!NOTE]
- > If you specify a port number other than 1433 when you are trying to connect to an instance of SQL Server and using a protocol other than TCP/IP, the <xref:Microsoft.Data.SqlClient.SqlConnection.Open%2A> method fails. To specify a port number other than 1433, include "server=machinename,port number" in the connection string, and use the TCP/IP protocol.
-
- > [!NOTE]
- > The .NET Framework Data Provider for SQL Server requires the Security permission with "Allows calls to unmanaged assemblies" enabled (<xref:System.Security.Permissions.SecurityPermission> with <xref:System.Security.Permissions.SecurityPermissionFlag> set to `UnmanagedCode`) to open a <xref:Microsoft.Data.SqlClient.SqlConnection> with SQL Debugging enabled.
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection>, opens it, and displays some of its properties. The connection is automatically closed at the end of the `using` block.
-
- [!code-csharp[SqlConnection_Open Example#1](~/../sqlclient/doc/samples/SqlConnection_Open.cs#1)]
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">Cannot open a connection without specifying a data source or server.
-
- or
-
- The connection is already open.</exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">A connection-level error occurred while opening the connection. If the <see cref="P:Microsoft.Data.SqlClient.SqlException.Number" /> property contains the value 18487 or 18488, this indicates that the specified password has expired or must be reset. See the <see cref="M:Microsoft.Data.SqlClient.SqlConnection.ChangePassword(System.String,System.String)" /> method for more information.
-
- The <see langword="<system.data.localdb>" /> tag in the app.config file has invalid or unknown elements.</exception><exception cref="T:System.Configuration.ConfigurationErrorsException">There are two entries with the same name in the <see langword="<localdbinstances>" /> section.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.OpenAsync(System.Threading.CancellationToken)">
- <param name="cancellationToken">The cancellation instruction.</param><summary>An asynchronous version of <see cref="M:Microsoft.Data.SqlClient.SqlConnection.Open" />, which opens a database connection with the property settings specified by the <see cref="P:Microsoft.Data.SqlClient.SqlConnection.ConnectionString" />. The cancellation token can be used to request that the operation be abandoned before the connection timeout elapses. Exceptions will be propagated via the returned Task. If the connection timeout time elapses without successfully connecting, the returned Task will be marked as faulted with an Exception. The implementation returns a Task without blocking the calling thread for both pooled and non-pooled connections.</summary><returns>A task representing the asynchronous operation.</returns><remarks>
- <format type="text/markdown"><.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">Calling <see cref="M:Microsoft.Data.SqlClient.SqlConnection.OpenAsync(System.Threading.CancellationToken)" /> more than once for the same instance before task completion.
-
- <see langword="Context Connection=true" /> is specified in the connection string.
-
- A connection was not available from the connection pool before the connection time out elapsed.</exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">Any error returned by SQL Server that occurred while opening the connection.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.ChangePassword(System.String,System.String)">
- <param name="connectionString">The connection string that contains enough information to connect to the server that you want. The connection string must contain the user ID and the current password.</param><param name="newPassword">The new password to set. This password must comply with any password security policy set on the server, including minimum length, requirements for specific characters, and so on.</param><summary>Changes the SQL Server password for the user indicated in the connection string to the supplied new password.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- When you are using SQL Server on Windows Server, developers can take advantage of functionality that lets the client application supply both the current and a new password in order to change the existing password. Applications can implement functionality such as prompting the user for a new password during initial login if the old one has expired, and this operation can be completed without administrator intervention.
-
- The <xref:Microsoft.Data.SqlClient.SqlConnection.ChangePassword%2A> method changes the SQL Server password for the user indicated in the supplied `connectionString` parameter to the value supplied in the `newPassword` parameter. If the connection string includes the option for integrated security (that is, "Integrated Security=True" or the equivalent), an exception is thrown.
-
- To determine that the password has expired, calling the <xref:Microsoft.Data.SqlClient.SqlConnection.Open%2A> method raises a <xref:Microsoft.Data.SqlClient.SqlException>. In order to indicate that the password that is contained within the connection string must be reset, the <xref:Microsoft.Data.SqlClient.SqlException.Number%2A> property for the exception contains the status value 18487 or 18488. The first value (18487) indicates that the password has expired and the second (18488) indicates that the password must be reset before logging in.
-
- This method opens its own connection to the server, requests the password change, and closes the connection as soon as it has completed. This connection is not retrieved from, nor returned to, the SQL Server connection pool.
-
-
-
- ## Examples
- The following is a simple example of changing a password:
-
- ```csharp
- class Program {
- static void Main(string[] args) {
- Microsoft.Data.SqlClient.SqlConnection.ChangePassword(
- "Data Source=a_server;Initial Catalog=a_database;UID=user;PWD=old_password",
- "new_password");
- }
- }
-
- ```
-
- ```vb
- Module Module1
- Sub Main()
- Microsoft.Data.SqlClient.SqlConnection.ChangePassword(
- "Data Source=a_server;Initial Catalog=a_database;UID=user;PWD=old_password",
- "new_password")
- End Sub
- End Module
-
- ```
-
- The following console application demonstrates the issues involved in changing a user's password because the current password has expired.
-
- [!code-csharp[SqlConnection_ConnectionString1#1](~/../sqlclient/doc/samples/SqlConnection_ConnectionString1.cs#1)]
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">The connection string includes the option to use integrated security.
-
- Or
-
- The <paramref name="newPassword" /> exceeds 128 characters.</exception><exception cref="T:System.ArgumentNullException">Either the <paramref name="connectionString" /> or the <paramref name="newPassword" /> parameter is null.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.ChangePassword(System.String,Microsoft.Data.SqlClient.SqlCredential,System.Security.SecureString)">
- <param name="connectionString">The connection string that contains enough information to connect to a server. The connection string should not use any of the following connection string keywords: <see langword="Integrated Security = true" />, <see langword="UserId" />, or <see langword="Password" />; or <see langword="ContextConnection = true" />.</param><param name="credential">A <see cref="T:Microsoft.Data.SqlClient.SqlCredential" /> object.</param><param name="newSecurePassword">The new password. <paramref name="newSecurePassword" /> must be read only. The password must also comply with any password security policy set on the server (for example, minimum length and requirements for specific characters).</param><summary>Changes the SQL Server password for the user indicated in the <see cref="T:Microsoft.Data.SqlClient.SqlCredential" /> object.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">
- The connection string contains any combination of <see langword="UserId" />, <see langword="Password" />, or <see langword="Integrated Security=true" />.
- -or-
-
- The connection string contains <see langword="Context Connection=true" />.
- -or-
- <paramref name="newSecurePassword" /> is greater than 128 characters.
- -or-
- <paramref name="newSecurePassword" /> is not read only.
- -or-
- <paramref name="newSecurePassword" /> is an empty string.</exception><exception cref="T:System.ArgumentNullException">One of the parameters (<paramref name="connectionString" />, <paramref name="credential" />, or <paramref name="newSecurePassword" />) is null.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.ResetStatistics">
- <summary>If statistics gathering is enabled, all values are reset to zero.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- If statistics gathering is not enabled and this method is called, no error is thrown.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.RetrieveStatistics">
- <summary>Returns a name value pair collection of statistics at the point in time the method is called.</summary><returns>Returns a reference of type <see cref="T:System.Collections.IDictionary" /> of <see cref="T:System.Collections.DictionaryEntry" /> items.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- When this method is called, the values retrieved are those at the current point in time. If you continue using the connection, the values are incorrect. You need to re-execute the method to obtain the most current values.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.#ctor">
- <summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlConnection" /> class.</summary><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnection.CloseCount">
- <devdoc>We use the _closeCount to avoid having to know about all our
- children; instead of keeping a collection of all the objects that
- would be affected by a close, we simply increment the _closeCount
- and have each of our children check to see if they're "orphaned"
- </devdoc>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.CreateDbCommand">
- <summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.Dispose(System.Boolean)">
- <param name="disposing">To be added.</param><summary>To be added.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.EnlistTransaction(System.Transactions.Transaction)">
- <param name="transaction">A reference to an existing <see cref="T:System.Transactions.Transaction" /> in which to enlist.</param><summary>Enlists in the specified transaction as a distributed transaction.</summary><remarks>
- <format type="text/markdown"><.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.GetSchema">
- <summary>Returns schema information for the data source of this <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />. For more information about scheme, see [SQL Server Schema Collections](~/docs/framework/data/adonet/sql-server-schema-collections.md).</summary><returns>A <see cref="T:System.Data.DataTable" /> that contains schema information.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.GetSchema(System.String)">
- <param name="collectionName">Specifies the name of the schema to return.</param><summary>Returns schema information for the data source of this <see cref="T:Microsoft.Data.SqlClient.SqlConnection" /> using the specified string for the schema name.</summary><returns>A <see cref="T:System.Data.DataTable" /> that contains schema information.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- You may need the schema information of the database, tables or columns. This sample:
-
- - Uses GetSchema to get schema information.
-
- - Use schema restrictions to get the specified information.
-
- - Gets schema information of the database, tables, and some columns.
-
- Before you run the sample, you need to create the sample database, using the following Transact-SQL:
-
- ```
- USE [master]
- GO
-
- CREATE DATABASE [MySchool]
-
- GO
-
- USE [MySchool]
- GO
-
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- CREATE TABLE [dbo].[Course]([CourseID] [nvarchar](10) NOT NULL,
- [Year] [smallint] NOT NULL,
- [Title] [nvarchar](100) NOT NULL,
- [Credits] [int] NOT NULL,
- [DepartmentID] [int] NOT NULL,
- CONSTRAINT [PK_Course] PRIMARY KEY CLUSTERED
- (
- [CourseID] ASC,
- [Year] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]) ON [PRIMARY]
-
- GO
-
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- CREATE TABLE [dbo].[Department]([DepartmentID] [int] IDENTITY(1,1) NOT NULL,
- [Name] [nvarchar](50) NOT NULL,
- [Budget] [money] NOT NULL,
- [StartDate] [datetime] NOT NULL,
- [Administrator] [int] NULL,
- CONSTRAINT [PK_Department] PRIMARY KEY CLUSTERED
- (
- [DepartmentID] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]) ON [PRIMARY]
-
- GO
-
- INSERT [dbo].[Course] ([CourseID], [Year], [Title], [Credits], [DepartmentID]) VALUES (N'C1045', 2012, N'Calculus', 4, 7)
- INSERT [dbo].[Course] ([CourseID], [Year], [Title], [Credits], [DepartmentID]) VALUES (N'C1061', 2012, N'Physics', 4, 1)
- INSERT [dbo].[Course] ([CourseID], [Year], [Title], [Credits], [DepartmentID]) VALUES (N'C2021', 2012, N'Composition', 3, 2)
- INSERT [dbo].[Course] ([CourseID], [Year], [Title], [Credits], [DepartmentID]) VALUES (N'C2042', 2012, N'Literature', 4, 2)
-
- SET IDENTITY_INSERT [dbo].[Department] ON
-
- INSERT [dbo].[Department] ([DepartmentID], [Name], [Budget], [StartDate], [Administrator]) VALUES (1, N'Engineering', 350000.0000, CAST(0x0000999C00000000 AS DateTime), 2)
- INSERT [dbo].[Department] ([DepartmentID], [Name], [Budget], [StartDate], [Administrator]) VALUES (2, N'English', 120000.0000, CAST(0x0000999C00000000 AS DateTime), 6)
- INSERT [dbo].[Department] ([DepartmentID], [Name], [Budget], [StartDate], [Administrator]) VALUES (4, N'Economics', 200000.0000, CAST(0x0000999C00000000 AS DateTime), 4)
- INSERT [dbo].[Department] ([DepartmentID], [Name], [Budget], [StartDate], [Administrator]) VALUES (7, N'Mathematics', 250024.0000, CAST(0x0000999C00000000 AS DateTime), 3)
- SET IDENTITY_INSERT [dbo].[Department] OFF
-
- ALTER TABLE [dbo].[Course] WITH CHECK ADD CONSTRAINT [FK_Course_Department] FOREIGN KEY([DepartmentID])
- REFERENCES [dbo].[Department] ([DepartmentID])
- GO
- ALTER TABLE [dbo].[Course] CHECK CONSTRAINT [FK_Course_Department]
- GO
- ```
-
- [How to Get Schema Information from Database](https://code.msdn.microsoft.com/How-to-Get-Schema-b66d62e2) has C# and Visual Basic versions of this code sample in a Visual Studio project.
-
- [!code-csharp[SqlConnection.GetSchema#1](~/../sqlclient/doc/samples/SqlConnection_GetSchema.cs#1)]
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">
- <paramref name="collectionName" /> is specified as null.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnection.GetSchema(System.String,System.String[])">
- <param name="collectionName">Specifies the name of the schema to return.</param><param name="restrictionValues">A set of restriction values for the requested schema.</param><summary>Returns schema information for the data source of this <see cref="T:Microsoft.Data.SqlClient.SqlConnection" /> using the specified string for the schema name and the specified string array for the restriction values.</summary><returns>A <see cref="T:System.Data.DataTable" /> that contains schema information.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The `restrictionValues` parameter can supply *n* depth of values, which are specified by the restrictions collection for a specific collection. In order to set values on a given restriction, and not set the values of other restrictions, you need to set the preceding restrictions to `null` and then put the appropriate value in for the restriction that you would like to specify a value for.
-
- An example of this is the "Tables" collection. If the "Tables" collection has three restrictions--database, owner, and table name--and you want to get back only the tables associated with the owner "Carl", you need to pass in the following values: null, "Carl". If a restriction value is not passed in, the default values are used for that restriction. This is the same mapping as passing in `null`, which is different from passing in an empty string for the parameter value. In that case, the empty string ("") is considered to be the value for the specified parameter.
-
- For a code sample demonstrating <xref:Microsoft.Data.SqlClient.SqlConnection.GetSchema%2A>, see <xref:Microsoft.Data.SqlClient.SqlConnection.GetSchema%2A>.
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">
- <paramref name="collectionName" /> is specified as null.</exception><altmember cref="M:Microsoft.Data.SqlClient.SqlConnection.GetSchema" />
- </member>
- <member name="T:Microsoft.Data.SqlClient.SQLDebugging">
- <summary>
- Included to support debugging applications. Not intended for direct use.
- </summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnectionString.ConvertValueToColumnEncryptionSetting">
- <summary>
- Convert the value to SqlConnectionColumnEncryptionSetting.
- </summary>
- <returns></returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlConnectionStringBuilder">
- <summary>Provides a simple way to create and manage the contents of connection strings used by the <see cref="T:Microsoft.Data.SqlClient.SqlConnection" /> class.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The connection string builder lets developers programmatically create syntactically correct connection strings, and parse and rebuild existing connection strings, using properties and methods of the class. The connection string builder provides strongly typed properties corresponding to the known key/value pairs allowed by SQL Server. Developers needing to create connection strings as part of applications can use the <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder> class to build and modify connection strings. The class also makes it easy to manage connection strings stored in an application configuration file.
-
- The <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder> performs checks for valid key/value pairs. Therefore, you cannot use this class to create invalid connection strings; trying to add invalid pairs will throw an exception. The class maintains a fixed collection of synonyms and can translate from a synonym to the corresponding well-known key name.
-
- For example, when you use the **Item** property to retrieve a value, you can specify a string that contains any synonym for the key you need. For example, you can specify "Network Address", "addr", or any other acceptable synonym for this key within a connection string when you use any member that requires a string that contains the key name, such as the **Item** property or the <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Remove%2A> method. See the <xref:Microsoft.Data.SqlClient.SqlConnection.ConnectionString%2A> property for a full list of acceptable synonyms.
-
- The **Item** property handles tries to insert malicious entries. For example, the following code, using the default Item property (the indexer, in C#) correctly escapes the nested key/value pair:
-
- ```vb
- Dim builder As New Microsoft.Data.SqlClient.SqlConnectionStringBuilder
- builder("Data Source") = "(local)"
- builder("Integrated Security") = True
- builder("Initial Catalog") = "AdventureWorks;NewValue=Bad"
- Console.WriteLine(builder.ConnectionString)
- ```
-
- ```csharp
- Microsoft.Data.SqlClient.SqlConnectionStringBuilder builder =
- new Microsoft.Data.SqlClient.SqlConnectionStringBuilder();
- builder["Data Source"] = "(local)";
- builder["Integrated Security"] = true;
- builder["Initial Catalog"] = "AdventureWorks;NewValue=Bad";
- Console.WriteLine(builder.ConnectionString);
-
- ```
-
- The result is the following connection string that handles the invalid value in a safe manner:
-
- ```
- Source=(local);Initial Catalog="AdventureWorks;NewValue=Bad";
- Integrated Security=True
- ```
-
-
-
- ## Examples
- The following console application builds connection strings for a SQL Server database. The code uses a <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder> class to create the connection string, and then passes the <xref:System.Data.Common.DbConnectionStringBuilder.ConnectionString%2A> property of the <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder> instance to the constructor of the connection class. The example also parses an existing connection string and demonstrates various ways of manipulating the connection string's contents.
-
- > [!NOTE]
- > This example includes a password to demonstrate how <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder> works with connection strings. In your applications, we recommend that you use Windows Authentication. If you must use a password, do not include a hard-coded password in your application.
-
- [!code-csharp[SqlConnectionStringBuilder#1](~/../sqlclient/doc/samples/SqlConnectionStringBuilder.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.#ctor">
- <summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlConnectionStringBuilder" /> class.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.#ctor(System.String)">
- <param name="connectionString">The basis for the object's internal connection information. Parsed into name/value pairs. Invalid key names raise <see cref="T:System.Collections.Generic.KeyNotFoundException" />.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlConnectionStringBuilder" /> class. The provided connection string provides the data for the instance's internal connection information.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder> class provides a fixed internal collection of key/value pairs. Even if you supply only a small subset of the possible connection string values in the constructor, the object always provides default values for each key/value pair. When the `ConnectionString` property of the object is retrieved, the string contains only key/value pairs in which the value is not the default value for the item.
-
-
-
- ## Examples
- The following example supplies a simple SQL Server connection string in the <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder> object's constructor, and then iterates through all the key/value pairs within the object. Note that the collection provides default values for each item. Also note that the <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder> class converts synonyms for the well-known keys so that they are consistent with the well-known names.
-
- > [!NOTE]
- > This example includes a password to demonstrate how <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder> works with connection strings. In your applications, we recommend that you use Windows Authentication. If you must use a password, do not include a hard-coded password in your application.
-
- [!code-csharp[SqlConnectionStringBuilder3#1](~/../sqlclient/doc/samples/SqlConnectionStringBuilder3.cs#1)]
-
- ]]></format>
- </remarks><exception cref="T:System.Collections.Generic.KeyNotFoundException">Invalid key name within the connection string.</exception><exception cref="T:System.FormatException">Invalid value within the connection string (specifically, when a Boolean or numeric value was expected but not supplied).</exception><exception cref="T:System.ArgumentException">The supplied <paramref name="connectionString" /> is not valid.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Item(System.String)">
- <param name="keyword">The key of the item to get or set.</param><summary>Gets or sets the value associated with the specified key. In C#, this property is the indexer.</summary><value>The value associated with the specified key.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">
- <paramref name="keyword" /> is a null reference (<see langword="Nothing" /> in Visual Basic).</exception><exception cref="T:System.Collections.Generic.KeyNotFoundException">Tried to add a key that does not exist within the available keys.</exception><exception cref="T:System.FormatException">Invalid value within the connection string (specifically, a Boolean or numeric value was expected but not supplied).</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.ApplicationIntent">
- <summary>Declares the application workload type when connecting to a database in an SQL Server Availability Group. You can set the value of this property with <see cref="T:Microsoft.Data.SqlClient.ApplicationIntent" />. For more information about SqlClient support for Always On Availability Groups, see [SqlClient Support for High Availability, Disaster Recovery](~/docs/framework/data/adonet/sql/sqlclient-support-for-high-availability-disaster-recovery.md).</summary><value>Returns the current value of the property (a value of type <see cref="T:Microsoft.Data.SqlClient.ApplicationIntent" />).</value><remarks>To be added.</remarks><related type="Article" href="~/docs/framework/data/adonet/ado-net-overview.md">ADO.NET Overview</related>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.ApplicationName">
- <summary>Gets or sets the name of the application associated with the connection string.</summary><value>The name of the application, or ".NET SqlClient Data Provider" if no name has been supplied.</value><remarks>
- <format type="text/markdown"><]
-
- The sample displays the following text in the console window:
-
- ```
- Original: Data Source=(local);Initial Catalog=AdventureWorks;Integrated Security=True
- ApplicationName=".Net SqlClient Data Provider"
- Modified: Data Source=(local);Initial Catalog=AdventureWorks;Integrated Security=True;Application Name="My Application"
- ```
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">To set the value to null, use <see cref="F:System.DBNull.Value" />.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.AsynchronousProcessing">
- <summary>Gets or sets a Boolean value that indicates whether asynchronous processing is allowed by the connection created by using this connection string.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.AsynchronousProcessing" /> property, or <see langword="false" /> if no value has been supplied.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><altmember cref="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteReader" /><altmember cref="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteNonQuery" /><altmember cref="M:Microsoft.Data.SqlClient.SqlCommand.BeginExecuteXmlReader" />
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.AttachDBFilename">
- <summary>Gets or sets a string that contains the name of the primary data file. This includes the full path name of an attachable database.</summary><value>The value of the <see langword="AttachDBFilename" /> property, or <see langword="String.Empty" /> if no value has been supplied.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">To set the value to null, use <see cref="F:System.DBNull.Value" />.</exception><related type="Article" href="https://msdn.microsoft.com/library/745c5f95-2f02-4674-b378-6d51a7ec2490">Working with Connection Strings</related><related type="Article" href="~/docs/framework/data/adonet/ado-net-overview.md">ADO.NET Overview</related>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.PoolBlockingPeriod">
- <summary>The blocking period behavior for a connection pool.</summary><value>The available blocking period settings.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- When connection pooling is enabled and a timeout error or other login error occurs, an exception will be thrown and subsequent connection attempts will fail for the next five seconds, the "blocking period". If the application attempts to connect within the blocking period, the first exception will be thrown again. Subsequent failures after a blocking period ends will result in a new blocking period that is twice as long as the previous blocking period, up to a maximum of one minute.
-
- Attempting to connect to Azure SQL databases can fail with transient errors which are typically recovered within a few seconds. However, with the connection pool blocking period behavior, you may not be able to reach your database for extensive periods even though the database is available. This is especially problematic for apps that need to render fast. The **PoolBlockingPeriod** enables you to select the blocking period best suited for your app. See the <xref:Microsoft.Data.SqlClient.PoolBlockingPeriod> enumeration for available settings.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.ConnectionReset">
- <summary>Obsolete. Gets or sets a Boolean value that indicates whether the connection is reset when drawn from the connection pool.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.ConnectionReset" /> property, or true if no value has been supplied.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This property corresponds to the "Connection Reset" key within the <xref:Microsoft.Data.SqlClient.SqlConnection> connection string, which has been removed from version 3.5 SP1 of the .NET Framework.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.ContextConnection">
- <summary>Gets or sets a value that indicates whether a client/server or in-process connection to SQL Server should be made.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.ContextConnection" /> property, or <see langword="False" /> if none has been supplied.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This property corresponds to the "Context Connection" key within the connection string.
-
- > [!NOTE]
- > The <xref:Microsoft.Data.SqlClient.SqlConnection.DataSource%2A> property returns `null` if the connection string for the <xref:Microsoft.Data.SqlClient.SqlConnection> is "context connection=true".
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.ConnectTimeout">
- <summary>Gets or sets the length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.ConnectTimeout" /> property, or 15 seconds if no value has been supplied.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.CurrentLanguage">
- <summary>Gets or sets the SQL Server Language record name.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.CurrentLanguage" /> property, or <see langword="String.Empty" /> if no value has been supplied.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This property corresponds to the "Current Language" and "language" keys within the connection string.
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">To set the value to null, use <see cref="F:System.DBNull.Value" />.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.DataSource">
- <summary>Gets or sets the name or network address of the instance of SQL Server to connect to.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.DataSource" /> property, or <see langword="String.Empty" /> if none has been supplied.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">To set the value to null, use <see cref="F:System.DBNull.Value" />.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Encrypt">
- <summary>Gets or sets a Boolean value that indicates whether SQL Server uses SSL encryption for all data sent between the client and server if the server has a certificate installed.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Encrypt" /> property, or <see langword="false" /> if none has been supplied.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This property corresponds to the "Encrypt" key within the connection string.
-
- ]]></format>
- </remarks><related type="Article" href="https://msdn.microsoft.com/library/745c5f95-2f02-4674-b378-6d51a7ec2490">Working with Connection Strings</related><related type="Article" href="~/docs/framework/data/adonet/ado-net-overview.md">ADO.NET Overview</related>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.ColumnEncryptionSetting">
- <summary>Gets or sets the column encryption settings for the connection string builder.</summary><value>The column encryption settings for the connection string builder.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.EnclaveAttestationUrl">
- <summary>Gets or sets the enclave attestation Url to be used with enclave based Always Encrypted.</summary><value>The enclave attestation Url.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.AttestationProtocol">
- <summary>Set/Get the value of Attestation Protocol.</summary><returns>Returns Attestation Protocol.</returns>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.TrustServerCertificate">
- <summary>Gets or sets a value that indicates whether the channel will be encrypted while bypassing walking the certificate chain to validate trust.</summary><value>A <see langword="Boolean" />. Recognized values are <see langword="true" />, <see langword="false" />, <see langword="yes" />, and <see langword="no" />.</value><remarks>
- <format type="text/markdown">< and [Using Encryption Without Validation](/sql/relational-databases/native-client/features/using-encryption-without-validation).
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Enlist">
- <summary>Gets or sets a Boolean value that indicates whether the SQL Server connection pooler automatically enlists the connection in the creation thread's current transaction context.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Enlist" /> property, or <see langword="true" /> if none has been supplied.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This property corresponds to the "Enlist" key within the connection string.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.FailoverPartner">
- <summary>Gets or sets the name or address of the partner server to connect to if the primary server is down.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.FailoverPartner" /> property, or <see langword="String.Empty" /> if none has been supplied.</value><remarks>To be added.</remarks><exception cref="T:System.ArgumentNullException">To set the value to null, use <see cref="F:System.DBNull.Value" />.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.InitialCatalog">
- <summary>Gets or sets the name of the database associated with the connection.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.InitialCatalog" /> property, or <see langword="String.Empty" /> if none has been supplied.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">To set the value to null, use <see cref="F:System.DBNull.Value" />.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.IntegratedSecurity">
- <summary>Gets or sets a Boolean value that indicates whether User ID and Password are specified in the connection (when <see langword="false" />) or whether the current Windows account credentials are used for authentication (when <see langword="true" />).</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.IntegratedSecurity" /> property, or <see langword="false" /> if none has been supplied.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This property corresponds to the "Integrated Security" and "trusted_connection" keys within the connection string.
-
-
-
- ## Examples
- The following example converts an existing connection string from using SQL Server Authentication to using integrated security. The example does its work by removing the user name and password from the connection string and then setting the <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.IntegratedSecurity%2A> property of the <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder> object.
-
- > [!NOTE]
- > This example includes a password to demonstrate how <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder> works with connection strings. In your applications, we recommend that you use Windows Authentication. If you must use a password, do not include a hard-coded password in your application.
-
- [!code-csharp[SqlConnectionStringBuilder_IntegratedSecurity#1](~/../sqlclient/doc/samples/SqlConnectionStringBuilder_IntegratedSecurity.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Authentication">
- <summary>Gets the authentication of the connection string.</summary><value>The authentication of the connection string.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.LoadBalanceTimeout">
- <summary>Gets or sets the minimum time, in seconds, for the connection to live in the connection pool before being destroyed.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.LoadBalanceTimeout" /> property, or 0 if none has been supplied.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This property corresponds to the "Load Balance Timeout" and "connection lifetime" keys within the connection string.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.MaxPoolSize">
- <summary>Gets or sets the maximum number of connections allowed in the connection pool for this specific connection string.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.MaxPoolSize" /> property, or 100 if none has been supplied.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This property corresponds to the "Max Pool Size" key within the connection string.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.ConnectRetryCount">
- <summary>The number of reconnections attempted after identifying that there was an idle connection failure. This must be an integer between 0 and 255. Default is 1. Set to 0 to disable reconnecting on idle connection failures. An <see cref="T:System.ArgumentException" /> will be thrown if set to a value outside of the allowed range.</summary><value>The number of reconnections attempted after identifying that there was an idle connection failure.</value>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.ConnectRetryInterval">
- <summary>Amount of time (in seconds) between each reconnection attempt after identifying that there was an idle connection failure. This must be an integer between 1 and 60. The default is 10 seconds. An <see cref="T:System.ArgumentException" /> will be thrown if set to a value outside of the allowed range.</summary><value>Amount of time (in seconds) between each reconnection attempt after identifying that there was an idle connection failure.</value>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.MinPoolSize">
- <summary>Gets or sets the minimum number of connections allowed in the connection pool for this specific connection string.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.MinPoolSize" /> property, or 0 if none has been supplied.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This property corresponds to the "Min Pool Size" key within the connection string.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.MultipleActiveResultSets">
- <summary>When true, an application can maintain multiple active result sets (MARS). When false, an application must process or cancel all result sets from one batch before it can execute any other batch on that connection. For more information, see [Multiple Active Result Sets (MARS)](https://msdn.microsoft.com//library/cfa084cz.aspx).</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.MultipleActiveResultSets" /> property, or <see langword="false" /> if none has been supplied.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.MultiSubnetFailover">
- <summary>If your application is connecting to an AlwaysOn availability group (AG) on different subnets, setting MultiSubnetFailover=true provides faster detection of and connection to the (currently) active server. For more information about SqlClient support for Always On Availability Groups, see [SqlClient Support for High Availability, Disaster Recovery](~/docs/framework/data/adonet/sql/sqlclient-support-for-high-availability-disaster-recovery.md).</summary><value>Returns <see cref="T:System.Boolean" /> indicating the current value of the property.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.TransparentNetworkIPResolution">
- <summary>When the value of this key is set to <see langword="true" />, the application is required to retrieve all IP addresses for a particular DNS entry and attempt to connect with the first one in the list. If the connection is not established within 0.5 seconds, the application will try to connect to all others in parallel. When the first answers, the application will establish the connection with the respondent IP address.</summary><value>A boolean value.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- If the `MultiSubnetFailover` key is set to `true`, `TransparentNetworkIPResolution` is ignored.
-
- If the `Failover Partner` key is set, `TransparentNetworkIPResolution` is ignored.
-
- The value of this key must be `true`, `false`, `yes`, or `no`.
-
- A value of `yes` is treated the same as a value of `true`.
-
- A value of `no` is treated the same as a value of `false`.
-
- This key defaults to `false` when:
-
- - Connecting to Azure SQL Database where the data source ends with:
-
- - .database.chinacloudapi.cn
-
- - .database.usgovcloudapi.net
-
- - .database.cloudapi.de
-
- - .database.windows.net
-
- - `Authentication` is 'Active Directory Password' or 'Active Directory Integrated'
-
- Otherwise it defaults to `true`.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.NetworkLibrary">
- <summary>Gets or sets a string that contains the name of the network library used to establish a connection to the SQL Server.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.NetworkLibrary" /> property, or <see langword="String.Empty" /> if none has been supplied.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This property corresponds to the "Network Library", "network", and "net" keys within the connection string.
-
- Supported values for this property include dbnmpntw (Named Pipes), dbmsrpcn (Multiprotocol), dbmsadsn (AppleTalk), dbmsgnet (VIA), dbmslpcn (Shared Memory) and dbmsspxn (IPX/SPX), and dbmssocn (TCP/IP). The corresponding network DLL must be installed on the system to which you connect. If you do not specify a network and you use a local server (for example, "." or "(local)"), Shared Memory is used.
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">To set the value to null, use <see cref="F:System.DBNull.Value" />.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.PacketSize">
- <summary>Gets or sets the size in bytes of the network packets used to communicate with an instance of SQL Server.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.PacketSize" /> property, or 8000 if none has been supplied.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This property corresponds to the "Packet Size" key within the connection string.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Password">
- <summary>Gets or sets the password for the SQL Server account.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Password" /> property, or <see langword="String.Empty" /> if none has been supplied.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">The password was incorrectly set to null. See code sample below.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.PersistSecurityInfo">
- <summary>Gets or sets a Boolean value that indicates if security-sensitive information, such as the password, is not returned as part of the connection if the connection is open or has ever been in an open state.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.PersistSecurityInfo" /> property, or <see langword="false" /> if none has been supplied.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This property corresponds to the "Persist Security Info" and "persistsecurityinfo" keys within the connection string.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Pooling">
- <summary>Gets or sets a Boolean value that indicates whether the connection will be pooled or explicitly opened every time that the connection is requested.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Pooling" /> property, or <see langword="true" /> if none has been supplied.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This property corresponds to the "Pooling" key within the connection string.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Replication">
- <summary>Gets or sets a Boolean value that indicates whether replication is supported using the connection.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Replication" /> property, or false if none has been supplied.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This property corresponds to the "Replication" key within the connection string.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.TransactionBinding">
- <summary>Gets or sets a string value that indicates how the connection maintains its association with an enlisted <see langword="System.Transactions" /> transaction.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.TransactionBinding" /> property, or <see langword="String.Empty" /> if none has been supplied.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The Transaction Binding keywords in a <xref:Microsoft.Data.SqlClient.SqlConnection.ConnectionString%2A> control how a <xref:Microsoft.Data.SqlClient.SqlConnection> binds to an enlisted <xref:System.Transactions.Transaction>.
-
- The following table shows the possible values for the <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.TransactionBinding%2A> property:
-
- |Value|Description|
- |-----------|-----------------|
- |Implicit Unbind|The default. Causes the connection to detach from the transaction when it ends. After detaching, additional requests on the connection are performed in autocommit mode. The <xref:System.Transactions.Transaction.Current%2A> property is not checked when executing requests while the transaction is active. After the transaction has ended, additional requests are performed in autocommit mode.|
- |Explicit Unbind|Causes the connection to remain attached to the transaction until the connection is closed or until <xref:Microsoft.Data.SqlClient.SqlConnection.EnlistTransaction%2A> is called with a `null` (`Nothing` in Visual Basic) value. An <xref:System.InvalidOperationException> is thrown if <xref:System.Transactions.Transaction.Current%2A> is not the enlisted transaction or if the enlisted transaction is not active. This behavior enforces the strict scoping rules required for <xref:System.Transactions.TransactionScope> support.|
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.TypeSystemVersion">
- <summary>Gets or sets a string value that indicates the type system the application expects.</summary><value>The following table shows the possible values for the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.TypeSystemVersion" /> property:
-
- <list type="table"><listheader><term> Value
-
- </term><description> Description
-
- </description></listheader><item><term> SQL Server 2005
-
- </term><description> Uses the SQL Server 2005 type system. No conversions are made for the current version of ADO.NET.
-
- </description></item><item><term> SQL Server 2008
-
- </term><description> Uses the SQL Server 2008 type system.
-
- </description></item><item><term> Latest
-
- </term><description> Use the latest version than this client-server pair can handle. This will automatically move forward as the client and server components are upgraded.
-
- </description></item></list></value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The `TypeSystemVersion` property can be used to specify a down-level version of SQL Server for applications written against that version. This avoids possible problems with incompatible types in a newer version of SQL Server that may cause the application to break.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.UserID">
- <summary>Gets or sets the user ID to be used when connecting to SQL Server.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.UserID" /> property, or <see langword="String.Empty" /> if none has been supplied.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This property corresponds to the "User ID", "user", and "uid" keys within the connection string.
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">To set the value to null, use <see cref="F:System.DBNull.Value" />.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.UserInstance">
- <summary>Gets or sets a value that indicates whether to redirect the connection from the default SQL Server Express instance to a runtime-initiated instance running under the account of the caller.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.UserInstance" /> property, or <see langword="False" /> if none has been supplied.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This property corresponds to the "User Instance" key within the connection string.
-
- > [!NOTE]
- > This feature is available only with the SQL Server Express Edition. For more information on user instances, see [SQL Server Express User Instances](~/docs/framework/data/adonet/sql/sql-server-express-user-instances.md).
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">To set the value to null, use <see cref="F:System.DBNull.Value" />.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.WorkstationID">
- <summary>Gets or sets the name of the workstation connecting to SQL Server.</summary><value>The value of the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.WorkstationID" /> property, or <see langword="String.Empty" /> if none has been supplied.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This property corresponds to the "Workstation ID" and "wsid" keys within the connection string.
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">To set the value to null, use <see cref="F:System.DBNull.Value" />.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.IsFixedSize">
- <summary>Gets a value that indicates whether the <see cref="T:Microsoft.Data.SqlClient.SqlConnectionStringBuilder" /> has a fixed size.</summary><value>
- <see langword="true" /> in every case, because the <see cref="T:Microsoft.Data.SqlClient.SqlConnectionStringBuilder" /> supplies a fixed-size collection of key/value pairs.</value><remarks>To be added.</remarks><related type="Article" href="https://msdn.microsoft.com/library/745c5f95-2f02-4674-b378-6d51a7ec2490">Working with Connection Strings</related><related type="Article" href="~/docs/framework/data/adonet/ado-net-overview.md">ADO.NET Overview</related>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Keys">
- <summary>Gets an <see cref="T:System.Collections.ICollection" /> that contains the keys in the <see cref="T:Microsoft.Data.SqlClient.SqlConnectionStringBuilder" />.</summary><value>An <see cref="T:System.Collections.ICollection" /> that contains the keys in the <see cref="T:Microsoft.Data.SqlClient.SqlConnectionStringBuilder" />.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><altmember cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Values" /><altmember cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Item(System.String)" />
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Values">
- <summary>Gets an <see cref="T:System.Collections.ICollection" /> that contains the values in the <see cref="T:Microsoft.Data.SqlClient.SqlConnectionStringBuilder" />.</summary><value>An <see cref="T:System.Collections.ICollection" /> that contains the values in the <see cref="T:Microsoft.Data.SqlClient.SqlConnectionStringBuilder" />.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><altmember cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Keys" />
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Clear">
- <summary>Clears the contents of the <see cref="T:Microsoft.Data.SqlClient.SqlConnectionStringBuilder" /> instance.</summary><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.ContainsKey(System.String)">
- <param name="keyword">The key to locate in the <see cref="T:Microsoft.Data.SqlClient.SqlConnectionStringBuilder" />.</param><summary>Determines whether the <see cref="T:Microsoft.Data.SqlClient.SqlConnectionStringBuilder" /> contains a specific key.</summary><returns>true if the <see cref="T:Microsoft.Data.SqlClient.SqlConnectionStringBuilder" /> contains an element that has the specified key; otherwise, false.</returns><remarks>
- <format type="text/markdown"><]
-
- The example displays the following output in the console window:
-
- ```
- Connection string = Data Source=(local);Initial Catalog=AdventureWorks;Integrated Security=True
- True
- True
- True
- False
- ```
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">
- <paramref name="keyword" /> is null (<see langword="Nothing" /> in Visual Basic)</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.ConvertToColumnEncryptionSetting(System.String,System.Object)">
- <summary>
- Convert to SqlConnectionColumnEncryptionSetting.
- </summary>
- <param name="keyword"></param>
- <param name="value"></param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.ConvertToAttestationProtocol(System.String,System.Object)">
- <summary>
- Convert to SqlConnectionAttestationProtocol
- </summary>
- <param name="keyword"></param>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Remove(System.String)">
- <param name="keyword">The key of the key/value pair to be removed from the connection string in this <see cref="T:Microsoft.Data.SqlClient.SqlConnectionStringBuilder" />.</param><summary>Removes the entry with the specified key from the <see cref="T:Microsoft.Data.SqlClient.SqlConnectionStringBuilder" /> instance.</summary><returns>
- <see langword="true" /> if the key existed within the connection string and was removed; <see langword="false" /> if the key did not exist.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Because the **Remove** method returns a value that indicates its success, it is not required to look for a key before trying to remove the key/value pair from the <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder> instance. Because the <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder> maintains a fixed-size collection of key/value pairs, calling the <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Remove%2A> method simply resets the value of the key/value pair back to its default value.
-
- Because the collection of keys supported by the <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder> is fixed, every item within the collection has a known default value. The following table lists the keys, and the value for each when the <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder> is first initialized, or after the <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Remove%2A> method has been called.
-
- |Key|Default value|
- |---------|-------------------|
- |Application Name|".Net SqlClient Data Provider"|
- |Asynchronous Processing|False|
- |AttachDBFilename|Empty string|
- |Connection Timeout|15|
- |Context Connection|False|
- |Current Language|Empty string|
- |Data Source|Empty string|
- |Encrypt|False|
- |Enlist|True|
- |Failover Partner|Empty string|
- |Initial Catalog|Empty string|
- |Integrated Security|False|
- |Load Balance Timeout|0|
- |Max Pool Size|100|
- |Min Pool Size|0|
- |MultipleActiveResultSets|False|
- |Network Library|Empty string|
- |Packet Size|8000|
- |Password|Empty string|
- |Persist Security Info|False|
- |Pooling|True|
- |Replication|False|
- |Transaction Binding|Implicit Unbind|
- |User ID|Empty string|
- |User Instance|False|
- |Workstation ID|Empty string|
-
-
-
- ## Examples
- The following example converts an existing connection string from using Windows Authentication to using integrated security. The example works by removing the user name and password from the connection string, and then setting the <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.IntegratedSecurity%2A> property of the <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder> object.
-
- > [!NOTE]
- > This example includes a password to demonstrate how <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder> works with connection strings. In your applications, we recommend that you use Windows Authentication. If you must use a password, do not include a hard-coded password in your application.
-
- [!code-csharp[SqlConnectionStringBuilder_Remove#1](~/../sqlclient/doc/samples/SqlConnectionStringBuilder_Remove.cs#1)]
-
- The example displays the following text in the console window:
-
- ```
- Original: Data Source=(local);Initial Catalog=AdventureWorks;User ID=ab;Password= a1Pass@@11
- Modified: Data Source=(local);Initial Catalog=AdventureWorks;Integrated Security=True
- Database = AdventureWorks
- ```
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">
- <paramref name="keyword" /> is null (<see langword="Nothing" /> in Visual Basic)</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.ShouldSerialize(System.String)">
- <param name="keyword">The key to locate in the <see cref="T:Microsoft.Data.SqlClient.SqlConnectionStringBuilder" />.</param><summary>Indicates whether the specified key exists in this <see cref="T:Microsoft.Data.SqlClient.SqlConnectionStringBuilder" /> instance.</summary><returns>
- <see langword="true" /> if the <see cref="T:Microsoft.Data.SqlClient.SqlConnectionStringBuilder" /> contains an entry with the specified key; otherwise, <see langword="false" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This method behaves identically to the <xref:System.Data.Common.DbConnectionStringBuilder.ContainsKey%2A> method.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.TryGetValue(System.String,System.Object@)">
- <param name="keyword">The key of the item to retrieve.</param><param name="value">The value corresponding to <paramref name="keyword" />.</param><summary>Retrieves a value corresponding to the supplied key from this <see cref="T:Microsoft.Data.SqlClient.SqlConnectionStringBuilder" />.</summary><returns>
- <see langword="true" /> if <paramref name="keyword" /> was found within the connection string; otherwise, <see langword="false" />.</returns><remarks>
- <format type="text/markdown"><]
-
- The sample displays the following results:
-
- ```
- Data Source=(local)
- Trusted_Connection=True
- Unable to retrieve value for 'InvalidKey'
- Unable to retrieve value for null key.
- ```
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">
- <paramref name="keyword" /> contains a null value (<see langword="Nothing" /> in Visual Basic).</exception>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlCredential">
- <summary>
- <see cref="T:Microsoft.Data.SqlClient.SqlCredential" /> provides a more secure way to specify the password for a login attempt using SQL Server Authentication.
-
- <see cref="T:Microsoft.Data.SqlClient.SqlCredential" /> is comprised of a user id and a password that will be used for SQL Server Authentication. The password in a <see cref="T:Microsoft.Data.SqlClient.SqlCredential" /> object is of type <see cref="T:System.Security.SecureString" />.
-
- <see cref="T:Microsoft.Data.SqlClient.SqlCredential" /> cannot be inherited.
-
- Windows Authentication (<see langword="Integrated Security = true" />) remains the most secure way to log in to a SQL Server database.</summary><remarks>
- <format type="text/markdown"><.
-
- An <xref:System.InvalidOperationException> exception will be raised if a non-null <xref:Microsoft.Data.SqlClient.SqlCredential> object is used in a connection with any of the following connection string keywords:
-
- - `Integrated Security = true`
-
- - `Password`
-
- - `User ID`
-
- - `Context Connection = true`
-
- The following sample connects to a SQL Server database using <xref:Microsoft.Data.SqlClient.SqlConnection.Credential%2A>:
-
- ```
- // change connection string in the APP.CONFIG file
- <connectionStrings>
- <add name="MyConnString"
- connectionString="Initial Catalog=myDB;Server=myServer"
- providerName="Microsoft.Data.SqlClient" />
- </connectionStrings>
-
- // then use the following snippet:
- using System.Configuration;
-
- System.Windows.Controls.TextBox txtUserId = new System.Windows.Controls.TextBox();
- System.Windows.Controls.PasswordBox txtPwd = new System.Windows.Controls.PasswordBox();
-
- Configuration config = Configuration.WebConfigurationManager.OpenWebConfiguration(Null);
- ConnectionStringSettings connString = config.ConnectionStrings.ConnectionString["MyConnString"];
-
- using (SqlConnection conn = new SqlConnection(connString.ConnectionString))
- {
- SecureString pwd = txtPwd.SecurePassword;
- pwd.MakeReadOnly();
- SqlCredential cred = new SqlCredential(txtUserId.Text, pwd);
- conn.Credential = cred;
- conn.Open();
- }
- ```
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCredential.#ctor(System.String,System.Security.SecureString)">
- <param name="userId">The user id.</param><param name="password">The password; a <see cref="T:System.Security.SecureString" /> value marked as read-only. Passing a read/write <see cref="T:System.Security.SecureString" /> parameter will raise an <see cref="T:System.ArgumentException" />.</param><summary>Creates an object of type <see cref="T:Microsoft.Data.SqlClient.SqlCredential" />.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The constructor does not accept null parameters. A <xref:System.String.Empty> value is allowed. An attempt to pass a null parameter in the constructor will raise an <xref:System.ArgumentNullException> exception.
-
- ]]></format>
- </remarks><related type="Article" href="~/docs/framework/data/adonet/ado-net-overview.md">ADO.NET Overview</related>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCredential.UserId">
- <summary>Gets the user ID component of the <see cref="T:Microsoft.Data.SqlClient.SqlCredential" /> object.</summary><value>The user ID component of the <see cref="T:Microsoft.Data.SqlClient.SqlCredential" /> object.</value><remarks>To be added.</remarks><related type="Article" href="~/docs/framework/data/adonet/ado-net-overview.md">ADO.NET Overview</related>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCredential.Password">
- <summary>Gets the password component of the <see cref="T:Microsoft.Data.SqlClient.SqlCredential" /> object.</summary><value>The password component of the <see cref="T:Microsoft.Data.SqlClient.SqlCredential" /> object.</value><remarks>To be added.</remarks><related type="Article" href="~/docs/framework/data/adonet/ado-net-overview.md">ADO.NET Overview</related>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlDataAdapter">
- <summary>Represents a set of data commands and a database connection that are used to fill the <see cref="T:System.Data.DataSet" /> and update a SQL Server database. This class cannot be inherited.</summary><remarks>
- <format type="text/markdown"><.
-
- <xref:Microsoft.Data.SqlClient.SqlDataAdapter> is used in conjunction with <xref:Microsoft.Data.SqlClient.SqlConnection> and <xref:Microsoft.Data.SqlClient.SqlCommand> to increase performance when connecting to a SQL Server database.
-
- > [!NOTE]
- > If you are using SQL Server stored procedures to edit or delete data using a `DataAdapter`, make sure that you do not use SET NOCOUNT ON in the stored procedure definition. This causes the rows affected count returned to be zero, which the `DataAdapter` interprets as a concurrency conflict. In this event, a <xref:System.Data.DBConcurrencyException> will be thrown.
-
- The <xref:Microsoft.Data.SqlClient.SqlDataAdapter> also includes the <xref:Microsoft.Data.SqlClient.SqlDataAdapter.SelectCommand%2A>, <xref:Microsoft.Data.SqlClient.SqlDataAdapter.InsertCommand%2A>, <xref:Microsoft.Data.SqlClient.SqlDataAdapter.DeleteCommand%2A>, <xref:Microsoft.Data.SqlClient.SqlDataAdapter.UpdateCommand%2A>, and <xref:System.Data.Common.DataAdapter.TableMappings%2A> properties to facilitate the loading and updating of data.
-
- When an instance of <xref:Microsoft.Data.SqlClient.SqlDataAdapter> is created, the read/write properties are set to initial values. For a list of these values, see the <xref:Microsoft.Data.SqlClient.SqlDataAdapter> constructor.
-
- The <xref:Microsoft.Data.SqlClient.SqlDataAdapter.InsertCommand%2A>, <xref:Microsoft.Data.SqlClient.SqlDataAdapter.DeleteCommand%2A>, and <xref:Microsoft.Data.SqlClient.SqlDataAdapter.UpdateCommand%2A> are generic templates that are automatically filled with individual values from every modified row through the parameters mechanism.
-
- For every column that you propagate to the data source on <xref:System.Data.Common.DbDataAdapter.Update%2A>, a parameter should be added to the `InsertCommand`, `UpdateCommand`, or `DeleteCommand`. The <xref:System.Data.Common.DbParameter.SourceColumn%2A> property of the <xref:System.Data.Common.DbParameter> object should be set to the name of the column. This setting indicates that the value of the parameter is not set manually, but is taken from the particular column in the currently processed row.
-
- > [!NOTE]
- > An <xref:System.InvalidOperationException> will occur if the <xref:System.Data.Common.DbDataAdapter.Fill%2A> method is called and the table contains a user-defined type that is not available on the client computer. For more information, see [CLR User-Defined Types](/sql/relational-databases/clr-integration-database-objects-user-defined-types/clr-user-defined-types).
-
-
-
- ## Examples
- The following example uses the <xref:Microsoft.Data.SqlClient.SqlCommand>, <xref:Microsoft.Data.SqlClient.SqlDataAdapter>, and <xref:Microsoft.Data.SqlClient.SqlConnection> to select records from a database and populate a <xref:System.Data.DataSet> with the selected rows. The filled <xref:System.Data.DataSet> is then returned. To accomplish this, the method is passed an initialized <xref:System.Data.DataSet>, a connection string, and a query string that is a Transact-SQL SELECT statement.
-
- [!code-csharp[SqlDataAdapter_SelectCommand Example#1](~/../sqlclient/doc/samples/SqlDataAdapter_SelectCommand.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataAdapter.#ctor">
- <summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlDataAdapter" /> class.</summary><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataAdapter.#ctor(Microsoft.Data.SqlClient.SqlCommand)">
- <param name="selectCommand">A <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> that is a Transact-SQL SELECT statement or stored procedure and is set as the <see cref="P:Microsoft.Data.SqlClient.SqlDataAdapter.SelectCommand" /> property of the <see cref="T:Microsoft.Data.SqlClient.SqlDataAdapter" />.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlDataAdapter" /> class with the specified <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> as the <see cref="P:Microsoft.Data.SqlClient.SqlDataAdapter.SelectCommand" /> property.</summary><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataAdapter.#ctor(System.String,System.String)">
- <param name="selectCommandText">A <see cref="T:System.String" /> that is a Transact-SQL SELECT statement or stored procedure to be used by the <see cref="P:Microsoft.Data.SqlClient.SqlDataAdapter.SelectCommand" /> property of the <see cref="T:Microsoft.Data.SqlClient.SqlDataAdapter" />.</param><param name="selectConnectionString">The connection string. If your connection string does not use <see langword="Integrated Security = true" />, you can use <see cref="M:Microsoft.Data.SqlClient.SqlDataAdapter.#ctor(System.String,Microsoft.Data.SqlClient.SqlConnection)" /> and <see cref="T:Microsoft.Data.SqlClient.SqlCredential" /> to pass the user ID and password more securely than by specifying the user ID and password as text in the connection string.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlDataAdapter" /> class with a <see cref="P:Microsoft.Data.SqlClient.SqlDataAdapter.SelectCommand" /> and a connection string.</summary><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataAdapter.#ctor(System.String,Microsoft.Data.SqlClient.SqlConnection)">
- <param name="selectCommandText">A <see cref="T:System.String" /> that is a Transact-SQL SELECT statement or stored procedure to be used by the <see cref="P:Microsoft.Data.SqlClient.SqlDataAdapter.SelectCommand" /> property of the <see cref="T:Microsoft.Data.SqlClient.SqlDataAdapter" />.</param><param name="selectConnection">A <see cref="T:Microsoft.Data.SqlClient.SqlConnection" /> that represents the connection. If your connection string does not use <see langword="Integrated Security = true" />, you can use <see cref="T:Microsoft.Data.SqlClient.SqlCredential" /> to pass the user ID and password more securely than by specifying the user ID and password as text in the connection string.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlDataAdapter" /> class with a <see cref="P:Microsoft.Data.SqlClient.SqlDataAdapter.SelectCommand" /> and a <see cref="T:Microsoft.Data.SqlClient.SqlConnection" /> object.</summary><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDataAdapter.DeleteCommand">
- <summary>Gets or sets a Transact-SQL statement or stored procedure to delete records from the data set.</summary><value>A <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> used during <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> to delete records in the database that correspond to deleted rows in the <see cref="T:System.Data.DataSet" />.</value><remarks>
- <format type="text/markdown"><.
-
- When <xref:Microsoft.Data.SqlClient.SqlDataAdapter.DeleteCommand%2A> is assigned to a previously created <xref:Microsoft.Data.SqlClient.SqlCommand>, the <xref:Microsoft.Data.SqlClient.SqlCommand> is not cloned. The <xref:Microsoft.Data.SqlClient.SqlDataAdapter.DeleteCommand%2A> maintains a reference to the previously created <xref:Microsoft.Data.SqlClient.SqlCommand> object.
-
- For every column that you propagate to the data source on <xref:System.Data.Common.DbDataAdapter.Update%2A>, a parameter should be added to the `InsertCommand`, `UpdateCommand`, or `DeleteCommand`. The `SourceColumn` property of the parameter should be set to the name of the column. This indicates that the value of the parameter is not set manually, but is taken from the particular column in the currently processed row.
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlDataAdapter> and sets the <xref:Microsoft.Data.SqlClient.SqlDataAdapter.SelectCommand%2A>, <xref:Microsoft.Data.SqlClient.SqlDataAdapter.InsertCommand%2A>, <xref:Microsoft.Data.SqlClient.SqlDataAdapter.UpdateCommand%2A>, and <xref:Microsoft.Data.SqlClient.SqlDataAdapter.DeleteCommand%2A> properties. It assumes you have already created a <xref:Microsoft.Data.SqlClient.SqlConnection> object.
-
- [!code-csharp[SqlDataAdapter#1](~/../sqlclient/doc/samples/SqlDataAdapter.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDataAdapter.System#Data#IDbDataAdapter#DeleteCommand">
- <summary>For a description of this member, see <see cref="P:System.Data.IDbDataAdapter.DeleteCommand" />.</summary><value>An <see cref="T:System.Data.IDbCommand" /> that is used during <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> to delete records in the data source for deleted rows in the data set.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This member is an explicit interface member implementation. It can be used only when the <xref:Microsoft.Data.SqlClient.SqlDataAdapter> instance is cast to an <xref:System.Data.IDbDataAdapter> interface.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDataAdapter.InsertCommand">
- <summary>Gets or sets a Transact-SQL statement or stored procedure to insert new records into the data source.</summary><value>A <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> used during <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> to insert records into the database that correspond to new rows in the <see cref="T:System.Data.DataSet" />.</value><remarks>
- <format type="text/markdown"><.
-
- When <xref:Microsoft.Data.SqlClient.SqlDataAdapter.InsertCommand%2A> is assigned to a previously created <xref:Microsoft.Data.SqlClient.SqlCommand>, the <xref:Microsoft.Data.SqlClient.SqlCommand> is not cloned. The <xref:Microsoft.Data.SqlClient.SqlDataAdapter.InsertCommand%2A> maintains a reference to the previously created <xref:Microsoft.Data.SqlClient.SqlCommand> object.
-
- If execution of this command returns rows, these rows can be added to the <xref:System.Data.DataSet> depending on how you set the **UpdatedRowSource** property of the <xref:Microsoft.Data.SqlClient.SqlCommand> object.
-
- For every column that you propagate to the data source on <xref:System.Data.Common.DbDataAdapter.Update%2A>, a parameter should be added to `InsertCommand`, `UpdateCommand`, or `DeleteCommand`. The `SourceColumn` property of the parameter should be set to the name of the column. This indicates that the value of the parameter is not set manually, but is taken from the particular column in the currently processed row.
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlDataAdapter> and sets the <xref:Microsoft.Data.SqlClient.SqlDataAdapter.SelectCommand%2A>, <xref:Microsoft.Data.SqlClient.SqlDataAdapter.InsertCommand%2A>, <xref:Microsoft.Data.SqlClient.SqlDataAdapter.UpdateCommand%2A>, and <xref:Microsoft.Data.SqlClient.SqlDataAdapter.DeleteCommand%2A> properties. It assumes you have already created a <xref:Microsoft.Data.SqlClient.SqlConnection> object.
-
- [!code-csharp[SqlDataAdapter#1](~/../sqlclient/doc/samples/SqlDataAdapter.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDataAdapter.System#Data#IDbDataAdapter#InsertCommand">
- <summary>For a description of this member, see <see cref="P:System.Data.IDbDataAdapter.InsertCommand" />.</summary><value>An <see cref="T:System.Data.IDbCommand" /> that is used during <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> to insert records in the data source for new rows in the data set.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This member is an explicit interface member implementation. It can be used only when the <xref:Microsoft.Data.SqlClient.SqlDataAdapter> instance is cast to an <xref:System.Data.IDbDataAdapter> interface.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDataAdapter.SelectCommand">
- <summary>Gets or sets a Transact-SQL statement or stored procedure used to select records in the data source.</summary><value>A <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> used during <see cref="M:System.Data.Common.DbDataAdapter.Fill(System.Data.DataSet)" /> to select records from the database for placement in the <see cref="T:System.Data.DataSet" />.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDataAdapter.System#Data#IDbDataAdapter#SelectCommand">
- <summary>For a description of this member, see <see cref="P:System.Data.IDbDataAdapter.SelectCommand" />.</summary><value>An <see cref="T:System.Data.IDbCommand" /> that is used during <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> to select records from data source for placement in the data set.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This member is an explicit interface member implementation. It can be used only when the <xref:Microsoft.Data.SqlClient.SqlDataAdapter> instance is cast to an <xref:System.Data.IDbDataAdapter> interface.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDataAdapter.UpdateBatchSize">
- <summary>Gets or sets the number of rows that are processed in each round-trip to the server.</summary><value>The number of rows to process per-batch.
-
- <list type="table"><listheader><term> Value is
-
- </term><description> Effect
-
- </description></listheader><item><term> 0
-
- </term><description> There is no limit on the batch size.
-
- </description></item><item><term> 1
-
- </term><description> Disables batch updating.
-
- </description></item><item><term> >1
-
- </term><description> Changes are sent using batches of <see cref="P:Microsoft.Data.SqlClient.SqlDataAdapter.UpdateBatchSize" /> operations at a time.
-
- </description></item></list>
- When setting this to a value other than 1, all the commands associated with the <see cref="T:Microsoft.Data.SqlClient.SqlDataAdapter" /> have to have their **UpdatedRowSource** property set to <see langword="None" /> or <see langword="OutputParameters" />. An exception is thrown otherwise.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Gets or sets a value that enables or disables batch processing support, and specifies the number of commands that can be executed in a batch.
-
- Use the <xref:Microsoft.Data.SqlClient.SqlDataAdapter.UpdateBatchSize%2A> property to update a data source with changes from a <xref:System.Data.DataSet>. This can increase application performance by reducing the number of round-trips to the server.
-
- Executing an extremely large batch could decrease performance. Therefore, you should test for the optimum batch size setting before implementing your application.
-
- An <xref:System.ArgumentOutOfRangeException> is thrown if the value is set to a number less than zero.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDataAdapter.UpdateCommand">
- <summary>Gets or sets a Transact-SQL statement or stored procedure used to update records in the data source.</summary><value>A <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> used during <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> to update records in the database that correspond to modified rows in the <see cref="T:System.Data.DataSet" />.</value><remarks>
- <format type="text/markdown"><.
-
- When <xref:Microsoft.Data.SqlClient.SqlDataAdapter.UpdateCommand%2A> is assigned to a previously created <xref:Microsoft.Data.SqlClient.SqlCommand>, the <xref:Microsoft.Data.SqlClient.SqlCommand> is not cloned. The <xref:Microsoft.Data.SqlClient.SqlDataAdapter.UpdateCommand%2A> maintains a reference to the previously created <xref:Microsoft.Data.SqlClient.SqlCommand> object.
-
- > [!NOTE]
- > If execution of this command returns rows, the updated rows may be merged with the <xref:System.Data.DataSet> depending on how you set the **UpdatedRowSource** property of the <xref:Microsoft.Data.SqlClient.SqlCommand> object.
-
- For every column that you propagate to the data source on <xref:System.Data.Common.DbDataAdapter.Update%2A>, a parameter should be added to `InsertCommand`, `UpdateCommand`, or `DeleteCommand`.
-
- The `SourceColumn` property of the parameter should be set to the name of the column. This indicates that the value of the parameter is not set manually, but taken from the particular column in the currently processed row.
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlDataAdapter> and sets the <xref:Microsoft.Data.SqlClient.SqlDataAdapter.SelectCommand%2A>, <xref:Microsoft.Data.SqlClient.SqlDataAdapter.InsertCommand%2A>, <xref:Microsoft.Data.SqlClient.SqlDataAdapter.UpdateCommand%2A> and <xref:Microsoft.Data.SqlClient.SqlDataAdapter.DeleteCommand%2A> properties. It assumes you have already created a <xref:Microsoft.Data.SqlClient.SqlConnection> object.
-
- [!code-csharp[SqlDataAdapter#1](~/../sqlclient/doc/samples/SqlDataAdapter.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDataAdapter.System#Data#IDbDataAdapter#UpdateCommand">
- <summary>For a description of this member, see <see cref="P:System.Data.IDbDataAdapter.UpdateCommand" />.</summary><value>An <see cref="T:System.Data.IDbCommand" /> that is used during <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> to update records in the data source for modified rows in the data set.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This member is an explicit interface member implementation. It can be used only when the <xref:Microsoft.Data.SqlClient.SqlDataAdapter> instance is cast to an <xref:System.Data.IDbDataAdapter> interface.
-
- ]]></format>
- </remarks>
- </member>
- <member name="E:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdated">
- <summary>Occurs during <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> after a command is executed against the data source. The attempt to update is made, so the event fires.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- When using <xref:System.Data.Common.DbDataAdapter.Update%2A>, there are two events that occur per data row updated. The order of execution is as follows:
-
- 1. The values in the <xref:System.Data.DataRow> are moved to the parameter values.
-
- 2. The <xref:System.Data.Common.DbDataAdapter.OnRowUpdating%2A> event is raised.
-
- 3. The command executes.
-
- 4. If the command is set to `FirstReturnedRecord`, the first returned result is placed in the <xref:System.Data.DataRow>.
-
- 5. If there are output parameters, they are placed in the <xref:System.Data.DataRow>.
-
- 6. The <xref:System.Data.Common.DbDataAdapter.OnRowUpdated%2A> event is raised.
-
- 7. <xref:System.Data.DataRow.AcceptChanges%2A> is called.
-
-
-
- ## Examples
- The following example shows how to use both the <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdating> and <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdated> events.
-
- The <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdating> event returns this output:
-
- event args: (command=Microsoft.Data.SqlClient.SqlCommand commandType=2 status=0)
-
- The <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdated> event returns this output:
-
- event args: (command=Microsoft.Data.SqlClient.SqlCommand commandType=2 recordsAffected=1 row=System.Data.DataRow[37] status=0)
-
- [!code-csharp[SqlDataAdapter_RowUpdated Example#1](~/../sqlclient/doc/samples/SqlDataAdapter_RowUpdated.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="E:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdating">
- <summary>Occurs during <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> before a command is executed against the data source. The attempt to update is made, so the event fires.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- When using <xref:System.Data.Common.DbDataAdapter.Update%2A>, there are two events that occur per data row updated. The order of execution is as follows:
-
- 1. The values in the <xref:System.Data.DataRow> are moved to the parameter values.
-
- 2. The <xref:System.Data.Common.DbDataAdapter.OnRowUpdating%2A> event is raised.
-
- 3. The command executes.
-
- 4. If the command is set to `FirstReturnedRecord`, the first returned result is placed in the <xref:System.Data.DataRow>.
-
- 5. If there are output parameters, they are placed in the <xref:System.Data.DataRow>.
-
- 6. The <xref:System.Data.Common.DbDataAdapter.OnRowUpdated%2A> event is raised.
-
- 7. <xref:System.Data.DataRow.AcceptChanges%2A> is called.
-
-
-
- ## Examples
- The following example shows how to use both the <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdating> and <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdated> events.
-
- The <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdating> event returns this output:
-
- event args: (command=Microsoft.Data.SqlClient.SqlCommand commandType=2 status=0)
-
- The <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdated> event returns this output:
-
- event args: (command=Microsoft.Data.SqlClient.SqlCommand commandType=2 recordsAffected=1 row=System.Data.DataRow[37] status=0)
-
- [!code-csharp[SqlDataAdapter_RowUpdated Example#1](~/../sqlclient/doc/samples/SqlDataAdapter_RowUpdated.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataAdapter.AddToBatch(System.Data.IDbCommand)">
- <param name="command">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataAdapter.ClearBatch">
- <summary>To be added.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataAdapter.System#ICloneable#Clone">
- <summary>For a description of this member, see <see cref="M:System.ICloneable.Clone" />.</summary><returns>A new object that is a copy of the current instance.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This member is an explicit interface member implementation. It can be used only when the <xref:Microsoft.Data.SqlClient.SqlDataAdapter> instance is cast to an <xref:System.ICloneable> interface.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataAdapter.CreateRowUpdatedEvent(System.Data.DataRow,System.Data.IDbCommand,System.Data.StatementType,System.Data.Common.DataTableMapping)">
- <param name="dataRow">To be added.</param><param name="command">To be added.</param><param name="statementType">To be added.</param><param name="tableMapping">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataAdapter.CreateRowUpdatingEvent(System.Data.DataRow,System.Data.IDbCommand,System.Data.StatementType,System.Data.Common.DataTableMapping)">
- <param name="dataRow">To be added.</param><param name="command">To be added.</param><param name="statementType">To be added.</param><param name="tableMapping">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataAdapter.ExecuteBatch">
- <summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataAdapter.GetBatchedParameter(System.Int32,System.Int32)">
- <param name="commandIdentifier">To be added.</param><param name="parameterIndex">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataAdapter.GetBatchedRecordsAffected(System.Int32,System.Int32@,System.Exception@)">
- <param name="commandIdentifier">To be added.</param><param name="recordsAffected">To be added.</param><param name="error">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataAdapter.InitializeBatching">
- <summary>To be added.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataAdapter.OnRowUpdated(System.Data.Common.RowUpdatedEventArgs)">
- <param name="value">To be added.</param><summary>To be added.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataAdapter.OnRowUpdating(System.Data.Common.RowUpdatingEventArgs)">
- <param name="value">To be added.</param><summary>To be added.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataAdapter.TerminateBatching">
- <summary>To be added.</summary><remarks>To be added.</remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlDataReader">
- <summary>Provides a way of reading a forward-only stream of rows from a SQL Server database. This class cannot be inherited.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- To create a <xref:Microsoft.Data.SqlClient.SqlDataReader>, you must call the <xref:Microsoft.Data.SqlClient.SqlCommand.ExecuteReader%2A> method of the <xref:Microsoft.Data.SqlClient.SqlCommand> object, instead of directly using a constructor.
-
- While the <xref:Microsoft.Data.SqlClient.SqlDataReader> is being used, the associated <xref:Microsoft.Data.SqlClient.SqlConnection> is busy serving the <xref:Microsoft.Data.SqlClient.SqlDataReader>, and no other operations can be performed on the <xref:Microsoft.Data.SqlClient.SqlConnection> other than closing it. This is the case until the <xref:Microsoft.Data.SqlClient.SqlDataReader.Close%2A> method of the <xref:Microsoft.Data.SqlClient.SqlDataReader> is called. For example, you cannot retrieve output parameters until after you call <xref:Microsoft.Data.SqlClient.SqlDataReader.Close%2A>.
-
- Changes made to a result set by another process or thread while data is being read may be visible to the user of the `SqlDataReader`. However, the precise behavior is timing dependent.
-
- <xref:Microsoft.Data.SqlClient.SqlDataReader.IsClosed%2A> and <xref:Microsoft.Data.SqlClient.SqlDataReader.RecordsAffected%2A> are the only properties that you can call after the <xref:Microsoft.Data.SqlClient.SqlDataReader> is closed. Although the <xref:Microsoft.Data.SqlClient.SqlDataReader.RecordsAffected%2A> property may be accessed while the <xref:Microsoft.Data.SqlClient.SqlDataReader> exists, always call <xref:Microsoft.Data.SqlClient.SqlDataReader.Close%2A> before returning the value of <xref:Microsoft.Data.SqlClient.SqlDataReader.RecordsAffected%2A> to guarantee an accurate return value.
-
- When using sequential access (<xref:System.Data.CommandBehavior.SequentialAccess?displayProperty=nameWithType>), an <xref:System.InvalidOperationException> will be raised if the <xref:Microsoft.Data.SqlClient.SqlDataReader> position is advanced and another read operation is attempted on the previous column.
-
- > [!NOTE]
- > For optimal performance, <xref:Microsoft.Data.SqlClient.SqlDataReader> avoids creating unnecessary objects or making unnecessary copies of data. Therefore, multiple calls to methods such as <xref:Microsoft.Data.SqlClient.SqlDataReader.GetValue%2A> return a reference to the same object. Use caution if you are modifying the underlying value of the objects returned by methods such as <xref:Microsoft.Data.SqlClient.SqlDataReader.GetValue%2A>.
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection>, a <xref:Microsoft.Data.SqlClient.SqlCommand>, and a <xref:Microsoft.Data.SqlClient.SqlDataReader>. The example reads through the data, writing it out to the console window. The code then closes the <xref:Microsoft.Data.SqlClient.SqlDataReader>. The <xref:Microsoft.Data.SqlClient.SqlConnection> is closed automatically at the end of the `using` code block.
-
- [!code-csharp[SqlDataReader_Read Example#1](~/../sqlclient/doc/samples/SqlDataReader_Read.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDataReader.Connection">
- <summary>Gets the <see cref="T:Microsoft.Data.SqlClient.SqlConnection" /> associated with the <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />.</summary><value>The <see cref="T:Microsoft.Data.SqlClient.SqlConnection" /> associated with the <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDataReader.SensitivityClassification">
- <summary>Gets the <see cref="T:Microsoft.Data.SqlClient.DataClassification.SensitivityClassification" /> information with the <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />.</summary><value>The <see cref="T:Microsoft.Data.SqlClient.DataClassification.SensitivityClassification" /> associated with the <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDataReader.Depth">
- <summary>Gets a value that indicates the depth of nesting for the current row.</summary><value>The depth of nesting for the current row.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The outermost table has a depth of zero. The .NET Framework Data Provider for SQL Server does not support nesting and always returns zero.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDataReader.FieldCount">
- <summary>Gets the number of columns in the current row.</summary><value>When not positioned in a valid recordset, 0; otherwise the number of columns in the current row. The default is -1.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Executing a query that, by its nature, does not return rows (such as a DELETE query), sets <xref:Microsoft.Data.SqlClient.SqlDataReader.FieldCount%2A> to 0. However. this should not be confused with a query that returns 0 rows (such as SELECT * FROM *table* WHERE 1 = 2) in which case <xref:Microsoft.Data.SqlClient.SqlDataReader.FieldCount%2A> returns the number of columns in the table, including hidden fields. Use <xref:Microsoft.Data.SqlClient.SqlDataReader.VisibleFieldCount%2A> to exclude hidden fields.
-
- ]]></format>
- </remarks><exception cref="T:System.NotSupportedException">There is no current connection to an instance of SQL Server.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDataReader.HasRows">
- <summary>Gets a value that indicates whether the <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" /> contains one or more rows.</summary><value>
- <see langword="true" /> if the <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" /> contains one or more rows; otherwise <see langword="false" />.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDataReader.IsClosed">
- <summary>Retrieves a Boolean value that indicates whether the specified <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" /> instance has been closed.</summary><value>
- <see langword="true" /> if the specified <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" /> instance is closed; otherwise <see langword="false" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- It is not possible to read from a <xref:Microsoft.Data.SqlClient.SqlDataReader> instance that is closed.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDataReader.RecordsAffected">
- <summary>Gets the number of rows changed, inserted, or deleted by execution of the Transact-SQL statement.</summary><value>The number of rows changed, inserted, or deleted; 0 if no rows were affected or the statement failed; and -1 for SELECT statements.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The value of this property is cumulative. For example, if two records are inserted in batch mode, the value of `RecordsAffected` will be two.
-
- <xref:Microsoft.Data.SqlClient.SqlDataReader.IsClosed%2A> and <xref:Microsoft.Data.SqlClient.SqlDataReader.RecordsAffected%2A> are the only properties that you can call after the <xref:Microsoft.Data.SqlClient.SqlDataReader> is closed.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDataReader.VisibleFieldCount">
- <summary>Gets the number of fields in the <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" /> that are not hidden.</summary><value>The number of fields that are not hidden.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This value is used to determine how many fields in the <xref:Microsoft.Data.SqlClient.SqlDataReader> are visible. For example, a SELECT on a partial primary key returns the remaining parts of the key as hidden fields. The hidden fields are always appended behind the visible fields.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDataReader.Item(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column in its native format given the column ordinal.</summary><value>The value of the specified column in its native format.</value><remarks>To be added.</remarks><exception cref="T:System.IndexOutOfRangeException">The index passed was outside the range of 0 through <see cref="P:System.Data.IDataRecord.FieldCount" />.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDataReader.Item(System.String)">
- <param name="name">The column name.</param><summary>Gets the value of the specified column in its native format given the column name.</summary><value>The value of the specified column in its native format.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- A case-sensitive lookup is performed first. If it fails, a second case-insensitive search is made (a case-insensitive comparison is done using the database collation). Unexpected results can occur when comparisons are affected by culture-specific casing rules. For example, in Turkish, the following example yields the wrong results because the file system in Turkish does not use linguistic casing rules for the letter 'i' in "file".
-
- This method is kana-width insensitive.
-
- ]]></format>
- </remarks><exception cref="T:System.IndexOutOfRangeException">No column with the specified name was found.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.Close">
- <summary>Closes the <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" /> object.</summary><remarks>
- <format type="text/markdown">< block.
-
- The `Close` method populates the values for output parameters, return values and `RecordsAffected` on the <xref:Microsoft.Data.SqlClient.SqlDataReader> by consuming any pending results. This may be a long operation depending on the amount of data to be consumed. If output values, return values, and `RecordsAffected` are not important to your application, the time to close may be shortened by calling the <xref:Microsoft.Data.SqlClient.SqlCommand.Cancel%2A> method of the associated <xref:Microsoft.Data.SqlClient.SqlCommand> object before the `Close` method is called.
-
- > [!CAUTION]
- > Do not call `Close` or `Dispose` on a Connection, a DataReader, or any other managed object in the `Finalize` method of your class. In a finalizer, you should only release unmanaged resources that your class owns directly. If your class does not own any unmanaged resources, do not include a `Finalize` method in your class definition. For more information, see [Garbage Collection](~/docs/standard/garbage-collection/index.md).
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection>, a <xref:Microsoft.Data.SqlClient.SqlCommand>, and a <xref:Microsoft.Data.SqlClient.SqlDataReader>. The example reads through the data, writing it out to the console window. The code then closes the <xref:Microsoft.Data.SqlClient.SqlDataReader>. The <xref:Microsoft.Data.SqlClient.SqlConnection> is closed automatically at the end of the `using` code block.
-
- [!code-csharp[SqlDataReader_Close Example#1](~/../sqlclient/doc/samples/SqlDataReader_Close.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetDataTypeName(System.Int32)">
- <param name="i">The zero-based ordinal position of the column to find.</param><summary>Gets a string representing the data type of the specified column.</summary><returns>The string representing the data type of the specified column.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Returns the name of the back-end data type.
-
- `numeric` is a synonym in SQL Server for the `decimal` data type. `GetDataTypeName` will return "decimal" for a column defined as either decimal or numeric.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetEnumerator">
- <summary>Returns an <see cref="T:System.Collections.IEnumerator" /> that iterates through the <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />.</summary><returns>An <see cref="T:System.Collections.IEnumerator" /> for the <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Although you can use this method to retrieve an explicit enumerator, in languages that support a `foreach` construct, it is simpler to use the looping construct directly in order to iterate through the rows in the data reader.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetFieldType(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the <see cref="T:System.Type" /> that is the data type of the object.</summary><returns>The <see cref="T:System.Type" /> that is the data type of the object. If the type does not exist on the client, in the case of a User-Defined Type (UDT) returned from the database, **GetFieldType** returns null.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetName(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the name of the specified column.</summary><returns>The name of the specified column.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetProviderSpecificFieldType(System.Int32)">
- <param name="i">An <see cref="T:System.Int32" /> representing the column ordinal.</param><summary>Gets an <see langword="Object" /> that is a representation of the underlying provider-specific field type.</summary><returns>Gets an <see cref="T:System.Object" /> that is a representation of the underlying provider-specific field type.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetOrdinal(System.String)">
- <param name="name">The name of the column.</param><summary>Gets the column ordinal, given the name of the column.</summary><returns>The zero-based column ordinal.</returns><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><exception cref="T:System.IndexOutOfRangeException">The name specified is not a valid column name.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetProviderSpecificValue(System.Int32)">
- <param name="i">An <see cref="T:System.Int32" /> representing the column ordinal.</param><summary>Gets an <see langword="Object" /> that is a representation of the underlying provider specific value.</summary><returns>An <see cref="T:System.Object" /> that is a representation of the underlying provider specific value.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetProviderSpecificValues(System.Object[])">
- <param name="values">An array of <see cref="T:System.Object" /> into which to copy the column values.</param><summary>Gets an array of objects that are a representation of the underlying provider specific values.</summary><returns>The array of objects that are a representation of the underlying provider specific values.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetSchemaTable">
- <summary>Returns a <see cref="T:System.Data.DataTable" /> that describes the column metadata of the <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />.</summary><returns>A <see cref="T:System.Data.DataTable" /> that describes the column metadata.</returns><remarks>
- <format type="text/markdown"><.|
- |DataTypeName|Returns a string representing the data type of the specified column.|
- |IsAliased|`true`: The column name is an alias.<br /><br /> `false`: The column name is not an alias.|
- |IsAutoIncrement|`true`: The column assigns values to new rows in fixed increments.<br /><br /> `false`: The column does not assign values to new rows in fixed increments. The default of this column is `false`.|
- |IsColumnSet|`true`: The column is a sparse column that is a member of a column set.|
- |IsExpression|`true`: The column is an expression.<br /><br /> `false`: The column is not an expression.|
- |IsHidden|`true`: The column is hidden.<br /><br /> `false`: The column is not hidden.|
- |IsIdentity|`true`: The column is an identity column.<br /><br /> `false`: The column is not an identity column.|
- |IsKey|`true`: The column is one of a set of columns in the rowset that, taken together, uniquely identify the row. The set of columns with `IsKey` set to `true` must uniquely identify a row in the rowset. There is no requirement that this set of columns is a minimal set of columns. This set of columns may be generated from a base table primary key, a unique constraint or a unique index.<br /><br /> `false`: The column is not required to uniquely identify the row.|
- |IsLong|`true`: The column contains a Binary Long Object (BLOB) that contains very long data. The definition of very long data is provider-specific.<br /><br /> `false`: The column does not contain a Binary Long Object (BLOB) that contains very long data.|
- |IsReadOnly|`true`: The column cannot be modified.<br /><br /> `false`: The column can be modified.|
- |IsRowVersion|`true`: The column contains a persistent row identifier that cannot be written to, and has no meaningful value except to identity the row.<br /><br /> `false`: The column does not contain a persistent row identifier that cannot be written to, and has no meaningful value except to identity the row.|
- |IsUnique|`true`: Column is of type `timestamp`.<br /><br /> `false`: Column is not of type `timestamp`.|
- |NonVersionedProviderType|The type of the column irrespective of the current `Type System Version` specified in the connection string. The returned value is from the <xref:System.Data.SqlDbType> enumeration.|
- |NumericPrecision|If `ProviderType` is a numeric data type, this is the maximum precision of the column. The precision depends on the definition of the column. If `ProviderType` is not a numeric data type, this is 255.|
- |NumericScale|If `ProviderType` is DBTYPE_DECIMAL or DBTYPE_NUMERIC, the number of digits to the right of the decimal point. Otherwise, this is 255.|
- |ProviderSpecificDataType|Returns the provider-specific data type of the column based on the `Type System Version` keyword in the connection string.|
- |ProviderType|The indicator of the column's data type. If the data type of the column varies from row to row, this must be Object. This column cannot contain a null value.|
- |UdtAssemblyQualifiedName|If the column is a user-defined type (UDT), this is the qualified name of the UDT's assembly as per <xref:System.Type.AssemblyQualifiedName%2A>. If the column is not a UDT, this is null.|
- |XmlSchemaCollectionDatabase|The name of the database where the schema collection for this XML instance is located, if the row contains information about an XML column. This value is `null` (`Nothing` in Visual Basic) if the collection is defined within the current database. It is also null if there is no schema collection, in which case the `XmlSchemaCollectionName` and `XmlSchemaCollectionOwningSchema` columns are also null.|
- |XmlSchemaCollectionName|The name of the schema collection for this XML instance, if the row contains information about an XML column. This value is `null` (`Nothing` in Visual Basic) if there is no associated schema collection. If the value is null, the `XmlSchemaCollectionDatabase` and `XmlSchemaCollectionOwningSchema` columns are also null.|
- |XmlSchemaCollectionOwningSchema|The owning relational schema where the schema collection for this XML instance is located, if the row contains information about an XML column. This value is `null` (`Nothing` in Visual Basic) if the collection is defined within the current database. It is also null if there is no schema collection, in which case the `XmlSchemaCollectionDatabase` and `XmlSchemaCollectionName` columns are also null.|
-
- > [!NOTE]
- > To make sure that metadata columns return the correct information, you must call <xref:Microsoft.Data.SqlClient.SqlCommand.ExecuteReader%2A> with the `behavior` parameter set to `KeyInfo`. Otherwise, some of the columns in the schema table may return default, null, or incorrect data.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">The <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" /> is closed.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetBoolean(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a Boolean.</summary><returns>The value of the column.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a Boolean, or an exception is generated.
-
- Call <xref:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull%2A> to check for null values before calling this method.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">The specified cast is not valid.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetXmlReader(System.Int32)">
- <param name="i">The value of the specified column.</param><summary>Retrieves data of type XML as an <see cref="T:System.Xml.XmlReader" />.</summary><returns>The returned object.</returns><remarks>
- <format type="text/markdown"><.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">The connection drops or is closed during the data retrieval.
-
- The <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" /> is closed during the data retrieval.
-
- There is no data ready to be read (for example, the first <see cref="M:Microsoft.Data.SqlClient.SqlDataReader.Read" /> hasn't been called, or returned false).
-
- Trying to read a previously read column in sequential mode.
-
- There was an asynchronous operation in progress. This applies to all Get* methods when running in sequential mode, as they could be called while reading a stream.</exception><exception cref="T:System.IndexOutOfRangeException">Trying to read a column that does not exist.</exception><exception cref="T:System.InvalidCastException">The returned type was not xml.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetStream(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Retrieves binary, image, varbinary, UDT, and variant data types as a <see cref="T:System.IO.Stream" />.</summary><returns>A stream object.</returns><remarks>
- <format type="text/markdown"><.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">The connection drops or is closed during the data retrieval.
-
- The <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" /> is closed during the data retrieval.
-
- There is no data ready to be read (for example, the first <see cref="M:Microsoft.Data.SqlClient.SqlDataReader.Read" /> hasn't been called, or returned false).
-
- Tried to read a previously-read column in sequential mode.
-
- There was an asynchronous operation in progress. This applies to all Get* methods when running in sequential mode, as they could be called while reading a stream.</exception><exception cref="T:System.IndexOutOfRangeException">Trying to read a column that does not exist.</exception><exception cref="T:System.InvalidCastException">The returned type was not one of the types below:
-
- - binary
-
- - image
-
- - varbinary
-
- - udt</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetByte(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a byte.</summary><returns>The value of the specified column as a byte.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a byte.
-
- Call <xref:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull%2A> to check for null values before calling this method.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">The specified cast is not valid.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetBytes(System.Int32,System.Int64,System.Byte[],System.Int32,System.Int32)">
- <param name="i">The zero-based column ordinal.</param><param name="dataIndex">The index within the field from which to begin the read operation.</param><param name="buffer">The buffer into which to read the stream of bytes.</param><param name="bufferIndex">The index within the <paramref name="buffer" /> where the write operation is to start.</param><param name="length">The maximum length to copy into the buffer.</param><summary>Reads a stream of bytes from the specified column offset into the buffer an array starting at the given buffer offset.</summary><returns>The actual number of bytes read.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- <xref:Microsoft.Data.SqlClient.SqlDataReader.GetBytes%2A> returns the number of available bytes in the field. Most of the time this is the exact length of the field. However, the number returned may be less than the true length of the field if `GetBytes` has already been used to obtain bytes from the field. This may be the case, for example, if the <xref:Microsoft.Data.SqlClient.SqlDataReader> is reading a large data structure into a buffer. For more information, see the `SequentialAccess` setting for <xref:System.Data.CommandBehavior>.
-
- If you pass a buffer that is `null`, <xref:Microsoft.Data.SqlClient.SqlDataReader.GetBytes%2A> returns the length of the entire field in bytes, not the remaining size based on the buffer offset parameter.
-
- No conversions are performed; therefore, the data retrieved must already be a byte array.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetTextReader(System.Int32)">
- <param name="i">The column to be retrieved.</param><summary>Retrieves Char, NChar, NText, NVarChar, text, varChar, and Variant data types as a <see cref="T:System.IO.TextReader" />.</summary><returns>The returned object.</returns><remarks>
- <format type="text/markdown"><.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">The connection drops or is closed during the data retrieval.
-
- The <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" /> is closed during the data retrieval.
-
- There is no data ready to be read (for example, the first <see cref="M:Microsoft.Data.SqlClient.SqlDataReader.Read" /> hasn't been called, or returned false).
-
- Tried to read a previously-read column in sequential mode.
-
- There was an asynchronous operation in progress. This applies to all Get* methods when running in sequential mode, as they could be called while reading a stream.</exception><exception cref="T:System.IndexOutOfRangeException">Trying to read a column that does not exist.</exception><exception cref="T:System.InvalidCastException">The returned type was not one of the types below:
-
- - char
-
- - nchar
-
- - ntext
-
- - nvarchar
-
- - text
-
- - varchar</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetChar(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a single character.</summary><returns>The value of the specified column.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Not supported for <xref:Microsoft.Data.SqlClient>.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">The specified cast is not valid.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetChars(System.Int32,System.Int64,System.Char[],System.Int32,System.Int32)">
- <param name="i">The zero-based column ordinal.</param><param name="dataIndex">The index within the field from which to begin the read operation.</param><param name="buffer">The buffer into which to read the stream of bytes.</param><param name="bufferIndex">The index within the <paramref name="buffer" /> where the write operation is to start.</param><param name="length">The maximum length to copy into the buffer.</param><summary>Reads a stream of characters from the specified column offset into the buffer as an array starting at the given buffer offset.</summary><returns>The actual number of characters read.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- <xref:Microsoft.Data.SqlClient.SqlDataReader.GetChars%2A> returns the number of available characters in the field. Frequently this is the exact length of the field. However, the number returned may be less than the true length of the field if `GetChars` has already been used to obtain characters from the field. This may be the case, for example, if the <xref:Microsoft.Data.SqlClient.SqlDataReader> is reading a large data structure into a buffer. For more information, see the `SequentialAccess` setting for <xref:System.Data.CommandBehavior>.
-
- The actual number of characters read can be less than the requested length, if the end of the field is reached. If you pass a buffer that is `null`, <xref:Microsoft.Data.SqlClient.SqlDataReader.GetChars%2A> returns the length of the entire field in characters, not the remaining size based on the buffer offset parameter.
-
- No conversions are performed; therefore. the data retrieved must already be a character array.
-
- > [!NOTE]
- > The <xref:Microsoft.Data.SqlClient.SqlDataReader.GetChars%2A> method returns 0 when `dataIndex` is negative.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.System#Data#IDataRecord#GetData(System.Int32)">
- <param name="i">A column ordinal.</param><summary>Returns an <see cref="T:System.Data.IDataReader" /> for the specified column ordinal.</summary><returns>The <see cref="T:System.Data.IDataReader" /> instance for the specified column ordinal.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This member is an explicit interface member implementation. It can be used only when the <xref:Microsoft.Data.SqlClient.SqlDataReader> instance is cast to an <xref:System.Data.IDataRecord> interface.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetDateTime(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a <see cref="T:System.DateTime" /> object.</summary><returns>The value of the specified column.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a <xref:System.DateTime> object.
-
- Call <xref:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull%2A> to check for null values before calling this method.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">The specified cast is not valid.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetDecimal(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a <see cref="T:System.Decimal" /> object.</summary><returns>The value of the specified column.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a <xref:System.Decimal> object.
-
- Call <xref:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull%2A> to check for null values before calling this method.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">The specified cast is not valid.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetDouble(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a double-precision floating point number.</summary><returns>The value of the specified column.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed. Therefore, the data retrieved must already be a double-precision floating point number.
-
- Call <xref:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull%2A> to check for null values before calling this method.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">The specified cast is not valid.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetFloat(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a single-precision floating point number.</summary><returns>The value of the specified column.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed. Therefore, the data retrieved must already be a single-precision floating point number.
-
- Call <xref:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull%2A> to check for null values before calling this method.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">The specified cast is not valid.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetGuid(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a globally unique identifier (GUID).</summary><returns>The value of the specified column.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a GUID.
-
- Call <xref:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull%2A> to check for null values before calling this method.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">The specified cast is not valid.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetInt16(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a 16-bit signed integer.</summary><returns>The value of the specified column.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a 16-bit signed integer.
-
- Call <xref:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull%2A> to check for null values before calling this method.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">The specified cast is not valid.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetInt32(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a 32-bit signed integer.</summary><returns>The value of the specified column.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a 32-bit signed integer.
-
- Call <xref:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull%2A> to check for null values before calling this method.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">The specified cast is not valid.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetInt64(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a 64-bit signed integer.</summary><returns>The value of the specified column.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a 64-bit signed integer.
-
- Call <xref:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull%2A> to check for null values before calling this method.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">The specified cast is not valid.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetSqlBoolean(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a <see cref="T:System.Data.SqlTypes.SqlBoolean" />.</summary><returns>The value of the column.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a Boolean or an exception is generated.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetSqlBinary(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a <see cref="T:System.Data.SqlTypes.SqlBinary" />.</summary><returns>The value of the column expressed as a <see cref="T:System.Data.SqlTypes.SqlBinary" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore the data retrieved must already be a binary structure or an exception is generated.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetSqlByte(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a <see cref="T:System.Data.SqlTypes.SqlByte" />.</summary><returns>The value of the column expressed as a <see cref="T:System.Data.SqlTypes.SqlByte" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore the data retrieved must already be a byte, or an exception is generated.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetSqlBytes(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as <see cref="T:System.Data.SqlTypes.SqlBytes" />.</summary><returns>The value of the column expressed as a <see cref="T:System.Data.SqlTypes.SqlBytes" />.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetSqlChars(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as <see cref="T:System.Data.SqlTypes.SqlChars" />.</summary><returns>The value of the column expressed as a <see cref="T:System.Data.SqlTypes.SqlChars" />.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetSqlDateTime(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a <see cref="T:System.Data.SqlTypes.SqlDateTime" />.</summary><returns>The value of the column expressed as a <see cref="T:System.Data.SqlTypes.SqlDateTime" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a date/time value, or an exception is generated.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetSqlDecimal(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a <see cref="T:System.Data.SqlTypes.SqlDecimal" />.</summary><returns>The value of the column expressed as a <see cref="T:System.Data.SqlTypes.SqlDecimal" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a decimal value, or an exception is generated.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetSqlGuid(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a <see cref="T:System.Data.SqlTypes.SqlGuid" />.</summary><returns>The value of the column expressed as a <see cref="T:System.Data.SqlTypes.SqlGuid" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a GUID, or an exception is generated.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetSqlDouble(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a <see cref="T:System.Data.SqlTypes.SqlDouble" />.</summary><returns>The value of the column expressed as a <see cref="T:System.Data.SqlTypes.SqlDouble" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a double-precision floating-point number, or an exception is generated.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetSqlInt16(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a <see cref="T:System.Data.SqlTypes.SqlInt16" />.</summary><returns>The value of the column expressed as a <see cref="T:System.Data.SqlTypes.SqlInt16" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a 16-bit signed integer, or an exception is generated.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetSqlInt32(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a <see cref="T:System.Data.SqlTypes.SqlInt32" />.</summary><returns>The value of the column expressed as a <see cref="T:System.Data.SqlTypes.SqlInt32" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore the data retrieved must already be a 32-bit signed integer, or an exception is generated.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetSqlInt64(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a <see cref="T:System.Data.SqlTypes.SqlInt64" />.</summary><returns>The value of the column expressed as a <see cref="T:System.Data.SqlTypes.SqlInt64" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a 64-bit signed integer, or an exception is generated.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetSqlMoney(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a <see cref="T:System.Data.SqlTypes.SqlMoney" />.</summary><returns>The value of the column expressed as a <see cref="T:System.Data.SqlTypes.SqlMoney" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a decimal value, or an exception is generated.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetSqlSingle(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a <see cref="T:System.Data.SqlTypes.SqlSingle" />.</summary><returns>The value of the column expressed as a <see cref="T:System.Data.SqlTypes.SqlSingle" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a single precision floating point number, or an exception is generated.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetSqlString(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a <see cref="T:System.Data.SqlTypes.SqlString" />.</summary><returns>The value of the column expressed as a <see cref="T:System.Data.SqlTypes.SqlString" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a string, or an exception is generated.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetSqlXml(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as an XML value.</summary><returns>A <see cref="T:System.Data.SqlTypes.SqlXml" /> value that contains the XML stored within the corresponding field.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be an XML value.
-
- Call <xref:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull%2A> to check for null values before calling this method.
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentOutOfRangeException">The index passed was outside the range of 0 to <see cref="P:System.Data.DataTableReader.FieldCount" /> - 1</exception><exception cref="T:System.InvalidOperationException">An attempt was made to read or access columns in a closed <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" />.</exception><exception cref="T:System.InvalidCastException">The retrieved data is not compatible with the <see cref="T:System.Data.SqlTypes.SqlXml" /> type.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetSqlValue(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Returns the data value in the specified column as a SQL Server type.</summary><returns>The value of the column expressed as a <see cref="T:System.Data.SqlDbType" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- <xref:Microsoft.Data.SqlClient.SqlDataReader.GetSqlValue%2A> returns data using the native SQL Server types. To retrieve data using the .NET Framework types, see <xref:Microsoft.Data.SqlClient.SqlDataReader.GetValue%2A>.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetSqlValues(System.Object[])">
- <param name="values">An array of <see cref="T:System.Object" /> into which to copy the values. The column values are expressed as SQL Server types.</param><summary>Fills an array of <see cref="T:System.Object" /> that contains the values for all the columns in the record, expressed as SQL Server types.</summary><returns>An integer indicating the number of columns copied.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Returns the values for all the columns in the record in a single call, using the SQL type system instead of the CLR type system. The length of the <xref:System.Object> array does not need to match the number of columns in the record. You can pass an <xref:System.Object> array that contains fewer than the number of columns contained in the record. Only the amount of data the <xref:System.Object> array holds is copied to the array, starting at the column with ordinal 0. You can also pass an <xref:System.Object> array whose length is more than the number of columns contained in the resulting row. Any remaining columns are untouched.
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">
- <paramref name="values" /> is null.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetString(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column as a string.</summary><returns>The value of the specified column.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a string.
-
- Call <xref:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull%2A> to check for null values before calling this method.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">The specified cast is not valid.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetFieldValue``1(System.Int32)">
- <typeparam name="T">The type of the value to be returned.</typeparam><param name="i">The column to be retrieved.</param><summary>Synchronously gets the value of the specified column as a type. <see cref="M:Microsoft.Data.SqlClient.SqlDataReader.GetFieldValueAsync``1(System.Int32,System.Threading.CancellationToken)" /> is the asynchronous version of this method.</summary><returns>The returned type object.</returns><remarks>
- <format type="text/markdown"><.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">The connection drops or is closed during the data retrieval.
-
- The <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" /> is closed during the data retrieval.
-
- There is no data ready to be read (for example, the first <see cref="M:Microsoft.Data.SqlClient.SqlDataReader.Read" /> hasn't been called, or returned false).
-
- Tried to read a previously-read column in sequential mode.
-
- There was an asynchronous operation in progress. This applies to all Get* methods when running in sequential mode, as they could be called while reading a stream.</exception><exception cref="T:System.IndexOutOfRangeException">Trying to read a column that does not exist.</exception><exception cref="T:System.Data.SqlTypes.SqlNullValueException">The value of the column was null (<see cref="M:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull(System.Int32)" /> == <see langword="true" />), retrieving a non-SQL type.</exception><exception cref="T:System.InvalidCastException">
- <typeparamref name="T" /> doesn't match the type returned by SQL Server or cannot be cast.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetValue(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets the value of the specified column in its native format.</summary><returns>This method returns <see cref="T:System.DBNull" /> for null database columns.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- <xref:Microsoft.Data.SqlClient.SqlDataReader.GetValue%2A> returns data using the .NET Framework types.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetTimeSpan(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Retrieves the value of the specified column as a <see cref="T:System.TimeSpan" /> object.</summary><returns>The value of the specified column.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a <xref:System.TimeSpan> object.
-
- Call <xref:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull%2A> to check for null values before calling this method.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">The specified cast is not valid.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetDateTimeOffset(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Retrieves the value of the specified column as a <see cref="T:System.DateTimeOffset" /> object.</summary><returns>The value of the specified column.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- No conversions are performed; therefore, the data retrieved must already be a <xref:System.DateTimeOffset> object.
-
- Call <xref:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull%2A> to check for null values before calling this method.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">The specified cast is not valid.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetValues(System.Object[])">
- <param name="values">An array of <see cref="T:System.Object" /> into which to copy the attribute columns.</param><summary>Populates an array of objects with the column values of the current row.</summary><returns>The number of instances of <see cref="T:System.Object" /> in the array.</returns><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull(System.Int32)">
- <param name="i">The zero-based column ordinal.</param><summary>Gets a value that indicates whether the column contains non-existent or missing values.</summary><returns>
- <see langword="true" /> if the specified column value is equivalent to <see cref="T:System.DBNull" />; otherwise <see langword="false" />.</returns><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.IsCommandBehavior(System.Data.CommandBehavior)">
- <param name="condition">A <see cref="T:System.Data.CommandBehavior" /> enumeration.</param><summary>Determines whether the specified <see cref="T:System.Data.CommandBehavior" /> matches that of the <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" /> .</summary><returns>
- <see langword="true" /> if the specified <see cref="T:System.Data.CommandBehavior" /> is true, <see langword="false" /> otherwise.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.NextResult">
- <summary>Advances the data reader to the next result, when reading the results of batch Transact-SQL statements.</summary><returns>
- <see langword="true" /> if there are more result sets; otherwise <see langword="false" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Used to process multiple results, which can be generated by executing batch Transact-SQL statements.
-
- By default, the data reader is positioned on the first result.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.Read">
- <summary>Advances the <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" /> to the next record.</summary><returns>
- <see langword="true" /> if there are more rows; otherwise <see langword="false" />.</returns><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><exception cref="T:Microsoft.Data.SqlClient.SqlException">SQL Server returned an error while executing the command text.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.NextResultAsync(System.Threading.CancellationToken)">
- <param name="cancellationToken">The cancellation instruction.</param><summary>An asynchronous version of <see cref="M:Microsoft.Data.SqlClient.SqlDataReader.NextResult" />, which advances the data reader to the next result, when reading the results of batch Transact-SQL statements.
-
- The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object.</summary><returns>A task representing the asynchronous operation.</returns><remarks>
- <format type="text/markdown"><.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">Calling <see cref="M:Microsoft.Data.SqlClient.SqlDataReader.NextResultAsync(System.Threading.CancellationToken)" /> more than once for the same instance before task completion.
-
- <see langword="Context Connection=true" /> is specified in the connection string.</exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">SQL Server returned an error while executing the command text.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.ReadAsync(System.Threading.CancellationToken)">
- <param name="cancellationToken">The cancellation instruction.</param><summary>An asynchronous version of <see cref="M:Microsoft.Data.SqlClient.SqlDataReader.Read" />, which advances the <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" /> to the next record.
-
- The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object.</summary><returns>A task representing the asynchronous operation.</returns><remarks>
- <format type="text/markdown"><.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">Calling <see cref="M:Microsoft.Data.SqlClient.SqlDataReader.ReadAsync(System.Threading.CancellationToken)" /> more than once for the same instance before task completion.
-
- <see langword="Context Connection=true" /> is specified in the connection string.</exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">SQL Server returned an error while executing the command text.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.IsDBNullAsync(System.Int32,System.Threading.CancellationToken)">
- <param name="i">The zero-based column to be retrieved.</param><param name="cancellationToken">The cancellation instruction, which propagates a notification that operations should be canceled. This does not guarantee the cancellation. A setting of <see langword="CancellationToken.None" /> makes this method equivalent to <see cref="M:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull(System.Int32)" />. The returned task must be marked as cancelled.</param><summary>An asynchronous version of <see cref="M:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull(System.Int32)" />, which gets a value that indicates whether the column contains non-existent or missing values.
-
- The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object.</summary><returns>
- <see langword="true" /> if the specified column value is equivalent to <see langword="DBNull" /> otherwise <see langword="false" />.</returns><remarks>
- <format type="text/markdown"><.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">The connection drops or is closed during the data retrieval.
-
- The <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" /> is closed during the data retrieval.
-
- There is no data ready to be read (for example, the first <see cref="M:Microsoft.Data.SqlClient.SqlDataReader.Read" /> hasn't been called, or returned false).
-
- Trying to read a previously read column in sequential mode.
-
- There was an asynchronous operation in progress. This applies to all Get* methods when running in sequential mode, as they could be called while reading a stream.
-
- <see langword="Context Connection=true" /> is specified in the connection string.</exception><exception cref="T:System.IndexOutOfRangeException">Trying to read a column that does not exist.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDataReader.GetFieldValueAsync``1(System.Int32,System.Threading.CancellationToken)">
- <typeparam name="T">The type of the value to be returned.</typeparam><param name="i">The column to be retrieved.</param><param name="cancellationToken">The cancellation instruction, which propagates a notification that operations should be canceled. This does not guarantee the cancellation. A setting of <see langword="CancellationToken.None" /> makes this method equivalent to <see cref="M:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull(System.Int32)" />. The returned task must be marked as cancelled.</param><summary>Asynchronously gets the value of the specified column as a type. <see cref="M:Microsoft.Data.SqlClient.SqlDataReader.GetFieldValue``1(System.Int32)" /> is the synchronous version of this method.</summary><returns>The returned type object.</returns><remarks>
- <format type="text/markdown"><.
-
- ]]></format>
- </remarks><exception cref="T:System.InvalidOperationException">The connection drops or is closed during the data retrieval.
-
- The <see cref="T:Microsoft.Data.SqlClient.SqlDataReader" /> is closed during the data retrieval.
-
- There is no data ready to be read (for example, the first <see cref="M:Microsoft.Data.SqlClient.SqlDataReader.Read" /> hasn't been called, or returned false).
-
- Tried to read a previously-read column in sequential mode.
-
- There was an asynchronous operation in progress. This applies to all Get* methods when running in sequential mode, as they could be called while reading a stream.
-
- <see langword="Context Connection=true" /> is specified in the connection string.</exception><exception cref="T:System.IndexOutOfRangeException">Trying to read a column that does not exist.</exception><exception cref="T:System.Data.SqlTypes.SqlNullValueException">The value of the column was null (<see cref="M:Microsoft.Data.SqlClient.SqlDataReader.IsDBNull(System.Int32)" /> == <see langword="true" />), retrieving a non-SQL type.</exception><exception cref="T:System.InvalidCastException">
- <typeparamref name="T" /> doesn't match the type returned by SQL Server or cannot be cast.</exception>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlDependency">
- <summary>The <see cref="T:Microsoft.Data.SqlClient.SqlDependency" /> object represents a query notification dependency between an application and an instance of SQL Server. An application can create a <see cref="T:Microsoft.Data.SqlClient.SqlDependency" /> object and register to receive notifications via the <see cref="T:Microsoft.Data.SqlClient.OnChangeEventHandler" /> event handler.</summary><remarks>
- <format type="text/markdown"><.
-
- > [!NOTE]
- > <xref:Microsoft.Data.SqlClient.SqlDependency> was designed to be used in ASP.NET or middle-tier services where there is a relatively small number of servers having dependencies active against the database. It was not designed for use in client applications, where hundreds or thousands of client computers would have <xref:Microsoft.Data.SqlClient.SqlDependency> objects set up for a single database server. If you are developing an application where you need reliable sub-second notifications when data changes, review the sections [Planning an Efficient Query Notifications Strategy](https://docs.microsoft.com/previous-versions/sql/sql-server-2008-r2/ms187528(v=sql.105)#planning-an-efficient-query-notifications-strategy) and [Alternatives to Query Notifications](https://docs.microsoft.com/previous-versions/sql/sql-server-2008-r2/ms187528(v=sql.105)#alternatives-to-query-notifications) in the [Planning for Notifications](https://docs.microsoft.com/previous-versions/sql/sql-server-2008-r2/ms187528(v%3dsql.105)) article.
-
- For more information, see [Query Notifications in SQL Server](~/docs/framework/data/adonet/sql/query-notifications-in-sql-server.md) and [Building Notification Solutions](https://docs.microsoft.com/previous-versions/sql/sql-server-2005/ms171065(v%3dsql.90)).
-
- > [!NOTE]
- > The <xref:Microsoft.Data.SqlClient.SqlDependency.OnChange> event may be generated on a different thread from the thread that initiated command execution.
-
- Query notifications are supported only for SELECT statements that meet a list of specific requirements.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDependency.#ctor">
- <summary>Creates a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlDependency" /> class with the default settings.</summary><remarks>
- <format type="text/markdown">< and [Working with Query Notifications](/sql/connect/oledb/features/working-with-query-notifications).
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDependency.#ctor(Microsoft.Data.SqlClient.SqlCommand)">
- <param name="command">The <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object to associate with this <see cref="T:Microsoft.Data.SqlClient.SqlDependency" /> object. The constructor will set up a <see cref="T:Microsoft.Data.Sql.SqlNotificationRequest" /> object and bind it to the command.</param><summary>Creates a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlDependency" /> class and associates it with the <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> parameter.</summary><remarks>
- <format type="text/markdown">< and [Working with Query Notifications](/sql/connect/oledb/features/working-with-query-notifications).
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">The <paramref name="command" /> parameter is NULL.</exception><exception cref="T:System.InvalidOperationException">The <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object already has a <see cref="T:Microsoft.Data.Sql.SqlNotificationRequest" /> object assigned to its <see cref="P:Microsoft.Data.SqlClient.SqlCommand.Notification" /> property, and that <see cref="T:Microsoft.Data.Sql.SqlNotificationRequest" /> is not associated with this dependency.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDependency.#ctor(Microsoft.Data.SqlClient.SqlCommand,System.String,System.Int32)">
- <param name="command">The <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object to associate with this <see cref="T:Microsoft.Data.SqlClient.SqlDependency" /> object. The constructor sets up a <see cref="T:Microsoft.Data.Sql.SqlNotificationRequest" /> object and bind it to the command.</param><param name="options">The notification request options to be used by this dependency. <see langword="null" /> to use the default service.</param><param name="timeout">The time-out for this notification in seconds. The default is 0, indicating that the server's time-out should be used.</param><summary>Creates a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlDependency" /> class, associates it with the <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> parameter, and specifies notification options and a time-out value.</summary><remarks>
- <format type="text/markdown">< and [Working with Query Notifications](/sql/connect/oledb/features/working-with-query-notifications).
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">The <paramref name="command" /> parameter is NULL.</exception><exception cref="T:System.ArgumentOutOfRangeException">The time-out value is less than zero.</exception><exception cref="T:System.InvalidOperationException">The <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object already has a <see cref="T:Microsoft.Data.Sql.SqlNotificationRequest" /> object assigned to its <see cref="P:Microsoft.Data.SqlClient.SqlCommand.Notification" /> property and that <see cref="T:Microsoft.Data.Sql.SqlNotificationRequest" /> is not associated with this dependency.
-
- An attempt was made to create a **SqlDependency** instance from within SQLCLR.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDependency.HasChanges">
- <summary>Gets a value that indicates whether one of the result sets associated with the dependency has changed.</summary><value>A Boolean value indicating whether one of the result sets has changed.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- If you are not using the <xref:Microsoft.Data.SqlClient.SqlDependency.OnChange> event, you can check the <xref:Microsoft.Data.SqlClient.SqlDependency.HasChanges%2A> property to determine if the query results have changed.
-
- The <xref:Microsoft.Data.SqlClient.SqlDependency.HasChanges%2A> property does not necessarily imply a change in the data. Other circumstances, such as time-out expired and failure to set the notification request, also generate a change event.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlDependency.Id">
- <summary>Gets a value that uniquely identifies this instance of the <see cref="T:Microsoft.Data.SqlClient.SqlDependency" /> class.</summary><value>A string representation of a GUID that is generated for each instance of the <see cref="T:Microsoft.Data.SqlClient.SqlDependency" /> class.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlDependency.Id%2A> property is used to uniquely identify a given <xref:Microsoft.Data.SqlClient.SqlDependency> instance.
-
- ]]></format>
- </remarks>
- </member>
- <member name="E:Microsoft.Data.SqlClient.SqlDependency.OnChange">
- <summary>Occurs when a notification is received for any of the commands associated with this <see cref="T:Microsoft.Data.SqlClient.SqlDependency" /> object.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- <xref:Microsoft.Data.SqlClient.SqlDependency.OnChange> occurs when the results for the associated command change. If you are not using <xref:Microsoft.Data.SqlClient.SqlDependency.OnChange>, you can check the <xref:Microsoft.Data.SqlClient.SqlDependency.HasChanges%2A> property to determine whether the query results have changed.
-
- The <xref:Microsoft.Data.SqlClient.SqlDependency.OnChange> event does not necessarily imply a change in the data. Other circumstances, such as time-out expired and failure to set the notification request, also generate <xref:Microsoft.Data.SqlClient.SqlDependency.OnChange>.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDependency.AddCommandDependency(Microsoft.Data.SqlClient.SqlCommand)">
- <param name="command">A <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object containing a statement that is valid for notifications.</param><summary>Associates a <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object with this <see cref="T:Microsoft.Data.SqlClient.SqlDependency" /> instance.</summary><remarks>
- <format type="text/markdown">< and [Working with Query Notifications](/sql/connect/oledb/features/working-with-query-notifications).
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">The <paramref name="command" /> parameter is null.</exception><exception cref="T:System.InvalidOperationException">The <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> object already has a <see cref="T:Microsoft.Data.Sql.SqlNotificationRequest" /> object assigned to its <see cref="P:Microsoft.Data.SqlClient.SqlCommand.Notification" /> property, and that <see cref="T:Microsoft.Data.Sql.SqlNotificationRequest" /> is not associated with this dependency.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDependency.Start(System.String)">
- <param name="connectionString">The connection string for the instance of SQL Server from which to obtain change notifications.</param><summary>Starts the listener for receiving dependency change notifications from the instance of SQL Server specified by the connection string.</summary><returns>
- <see langword="true" /> if the listener initialized successfully; <see langword="false" /> if a compatible listener already exists.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This method starts the listener for the <xref:System.AppDomain> for receiving dependency notifications from the instance of SQL Server specified by the `connectionString` parameter. This method may be called more than once with different connection strings for multiple servers.
-
- For additional remarks, see <xref:Microsoft.Data.SqlClient.SqlDependency.Start%2A>.
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">The <paramref name="connectionString" /> parameter is NULL.</exception><exception cref="T:System.InvalidOperationException">The <paramref name="connectionString" /> parameter is the same as a previous call to this method, but the parameters are different.
-
- The method was called from within the CLR.</exception><exception cref="T:System.Security.SecurityException">The caller does not have the required <see cref="T:Microsoft.Data.SqlClient.SqlClientPermission" /> code access security (CAS) permission.</exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">A subsequent call to the method has been made with an equivalent <paramref name="connectionString" /> parameter with a different user, or a user that does not default to the same schema.
-
- Also, any underlying **SqlClient** exceptions.</exception><altmember cref="P:Microsoft.Data.SqlClient.SqlConnection.ConnectionString" />
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDependency.Start(System.String,System.String)">
- <param name="connectionString">The connection string for the instance of SQL Server from which to obtain change notifications.</param><param name="queue">An existing SQL Server Service Broker queue to be used. If <see langword="null" />, the default queue is used.</param><summary>Starts the listener for receiving dependency change notifications from the instance of SQL Server specified by the connection string using the specified SQL Server Service Broker queue.</summary><returns>
- <see langword="true" /> if the listener initialized successfully; <see langword="false" /> if a compatible listener already exists.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This method starts the listener for the <xref:System.AppDomain> for receiving dependency notifications from the instance of SQL Server specified by the `connectionString` parameter. This method may be called more than once with different connection strings for multiple servers.
-
- If no queue name is specified, <xref:Microsoft.Data.SqlClient.SqlDependency> creates a temporary queue and service in the server that is used for the entire process, even if the process involves more than one <xref:System.AppDomain>. The queue and service are automatically removed upon application shutdown.
-
- For additional remarks, see <xref:Microsoft.Data.SqlClient.SqlDependency.Start%2A>.
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">The <paramref name="connectionString" /> parameter is NULL.</exception><exception cref="T:System.InvalidOperationException">The <paramref name="connectionString" /> parameter is the same as a previous call to this method, but the parameters are different.
-
- The method was called from within the CLR.</exception><exception cref="T:System.Security.SecurityException">The caller does not have the required <see cref="T:Microsoft.Data.SqlClient.SqlClientPermission" /> code access security (CAS) permission.</exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">A subsequent call to the method has been made with an equivalent <paramref name="connectionString" /> parameter but a different user, or a user that does not default to the same schema.
-
- Also, any underlying **SqlClient** exceptions.</exception><altmember cref="P:Microsoft.Data.SqlClient.SqlConnection.ConnectionString" />
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDependency.Stop(System.String)">
- <param name="connectionString">Connection string for the instance of SQL Server that was used in a previous <see cref="M:Microsoft.Data.SqlClient.SqlDependency.Start(System.String)" /> call.</param><summary>Stops a listener for a connection specified in a previous <see cref="o:Microsoft.Data.SqlClient.SqlDependency.Start" /> call.</summary><returns>
- <see langword="true" /> if the listener was completely stopped; <see langword="false" /> if the <see cref="T:System.AppDomain" /> was unbound from the listener, but there are is at least one other <see cref="T:System.AppDomain" /> using the same listener.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlDependency.Stop%2A> method must be called for each <xref:Microsoft.Data.SqlClient.SqlDependency.Start%2A> call. A given listener only shuts down fully when it receives the same number of <xref:Microsoft.Data.SqlClient.SqlDependency.Stop%2A> requests as <xref:Microsoft.Data.SqlClient.SqlDependency.Start%2A> requests.
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">The <paramref name="connectionString" /> parameter is NULL.</exception><exception cref="T:System.InvalidOperationException">The method was called from within SQLCLR.</exception><exception cref="T:System.Security.SecurityException">The caller does not have the required <see cref="T:Microsoft.Data.SqlClient.SqlClientPermission" /> code access security (CAS) permission.</exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">An underlying **SqlClient** exception occurred.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlDependency.Stop(System.String,System.String)">
- <param name="connectionString">Connection string for the instance of SQL Server that was used in a previous <see cref="M:Microsoft.Data.SqlClient.SqlDependency.Start(System.String,System.String)" /> call.</param><param name="queue">The SQL Server Service Broker queue that was used in a previous <see cref="M:Microsoft.Data.SqlClient.SqlDependency.Start(System.String,System.String)" /> call.</param><summary>Stops a listener for a connection specified in a previous <see cref="o:Microsoft.Data.SqlClient.SqlDependency.Start" /> call.</summary><returns>
- <see langword="true" /> if the listener was completely stopped; <see langword="false" /> if the <see cref="T:System.AppDomain" /> was unbound from the listener, but there is at least one other <see cref="T:System.AppDomain" /> using the same listener.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlDependency.Stop%2A> method must be called for each <xref:Microsoft.Data.SqlClient.SqlDependency.Start%2A> call. A given listener only shuts down fully when it receives the same number of <xref:Microsoft.Data.SqlClient.SqlDependency.Stop%2A> requests as <xref:Microsoft.Data.SqlClient.SqlDependency.Start%2A> requests.
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">The <paramref name="connectionString" /> parameter is NULL.</exception><exception cref="T:System.InvalidOperationException">The method was called from within SQLCLR.</exception><exception cref="T:System.Security.SecurityException">The caller does not have the required <see cref="T:Microsoft.Data.SqlClient.SqlClientPermission" /> code access security (CAS) permission.</exception><exception cref="T:Microsoft.Data.SqlClient.SqlException">And underlying **SqlClient** exception occurred.</exception>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlEnclaveAttestationParameters">
- <summary>Encapsulates the information SqlClient sends to SQL Server to initiate the process of attesting and creating a secure session with the enclave, SQL Server uses for computations on columns protected using Always Encrypted.</summary><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlEnclaveAttestationParameters.Protocol">
- <summary>Gets the enclave attestation protocol identifier.</summary><value>The enclave attestation protocol identifier.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlEnclaveAttestationParameters.ClientDiffieHellmanKey">
- <summary>Gets a Diffie-Hellman algorithm that encapsulates a key pair that SqlClient uses to establish a secure session with the enclave.</summary><value>The Diffie-Hellman algorithm.</value><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlEnclaveAttestationParameters.GetInput">
- <summary>Gets the information used to initiate the process of attesting the enclave. The format and the content of this information is specific to the attestation protocol.</summary><returns>The information required by SQL Server to execute attestation protocol identified by EnclaveAttestationProtocols.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlEnclaveAttestationParameters.Clone(System.Byte[])">
- <summary>
- Deep copy the array into a new array
- </summary>
- <param name="arrayToClone"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlEnclaveAttestationParameters.#ctor(System.Int32,System.Byte[],System.Security.Cryptography.ECDiffieHellmanCng)">
- <param name="protocol">The enclave attestation protocol.</param><param name="input">The input of the enclave attestation protocol.</param><param name="clientDiffieHellmanKey">A Diffie-Hellman algorithm that encapsulates a client-side key pair.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlEnclaveAttestationParameters" /> class.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentNullException">
- <paramref name="clientDiffieHellmanKey" /> is <see langword="null" />.</exception>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlEnclaveSession">
- <summary>Encapsulates the state of a secure session between SqlClient and an enclave inside SQL Server, which can be used for computations on encrypted columns protected with Always Encrypted.</summary><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlEnclaveSession.SessionId">
- <summary>Gets the session ID.</summary><value>The session ID.</value><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlEnclaveSession.GetSessionKey">
- <summary>Gets the symmetric key that SqlClient uses to encrypt all the information it sends to the enclave using the session.</summary><returns>The symmetric key.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlEnclaveSession.Clone(System.Byte[])">
- <summary>
- Deep copy the array into a new array
- </summary>
- <param name="arrayToClone"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlEnclaveSession.#ctor(System.Byte[],System.Int64)">
- <param name="sessionKey">The symmetric key used to encrypt all the information sent using the session.</param><param name="sessionId">The session ID.</param><summary>Instantiates a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlEnclaveSession" /> class.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentNullException">
- <paramref name="sessionKey" /> is <see langword="null" />.</exception><exception cref="T:System.ArgumentException">
- <paramref name="sessionKey" /> has zero length.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.MetaType.AssertIsUserDefinedTypeInstance(System.Object,System.String)">
- <summary>
- Assert that the supplied object is an instance of a SQL User-Defined Type (UDT).
- </summary>
- <param name="sqlValue">Object instance to be tested.</param>
- <param name="failedAssertMessage"></param>
- <remarks>
- This method is only compiled with debug builds, and it a helper method for the GetComValueFromSqlVariant method defined in this class.
-
- The presence of the SqlUserDefinedTypeAttribute on the object's type
- is used to determine if the object is a UDT instance (if present it is a UDT, else it is not).
- </remarks>
- <exception cref="T:System.NullReferenceException">
- If sqlValue is null. Callers must ensure the object is non-null.
- </exception>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlError">
- <summary>Collects information relevant to a warning or error returned by SQL Server.</summary><remarks>
- <format type="text/markdown"><. For more information about severity levels, see [Database Engine Error Severities](https://msdn.microsoft.com/library/ms164086.aspx).
-
-
-
- ## Examples
- The following example displays each <xref:Microsoft.Data.SqlClient.SqlError> within the <xref:Microsoft.Data.SqlClient.SqlErrorCollection> collection.
-
- [!code-csharp[SqlError_ToString Example#1](~/../sqlclient/doc/samples/SqlError_ToString.cs#1)]
-
- ]]></format>
- </remarks><altmember cref="T:Microsoft.Data.SqlClient.SqlErrorCollection" /><altmember cref="T:Microsoft.Data.SqlClient.SqlException" />
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlError.ToString">
- <summary>Gets the complete text of the error message.</summary><returns>The complete text of the error.</returns><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlError.Source">
- <summary>Gets the name of the provider that generated the error.</summary><value>The name of the provider that generated the error.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlError.Number">
- <summary>Gets a number that identifies the type of error.</summary><value>The number that identifies the type of error.</value><remarks>
- <format type="text/markdown"><.
-
-
-
- ## Examples
- The following example displays each <xref:Microsoft.Data.SqlClient.SqlError> within the <xref:Microsoft.Data.SqlClient.SqlErrorCollection> collection.
-
- [!code-csharp[SqlError.State Example#1](~/../sqlclient/doc/samples/SqlError_State.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlError.State">
- <summary>Some error messages can be raised at multiple points in the code for the Database Engine. For example, an 1105 error can be raised for several different conditions. Each specific condition that raises an error assigns a unique state code.</summary><value>The state code.</value><remarks>
- <format type="text/markdown"><.
-
-
-
- ## Examples
- The following example displays each <xref:Microsoft.Data.SqlClient.SqlError> within the <xref:Microsoft.Data.SqlClient.SqlErrorCollection> collection.
-
- [!code-csharp[SqlError.State Example#1](~/../sqlclient/doc/samples/SqlError_State.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlError.Class">
- <summary>Gets the severity level of the error returned from SQL Server.</summary><value>A value from 1 to 25 that indicates the severity level of the error. The default is 0.</value><remarks>
- <format type="text/markdown"><.
-
-
-
- ## Examples
- The following example displays each <xref:Microsoft.Data.SqlClient.SqlError> within the <xref:Microsoft.Data.SqlClient.SqlErrorCollection> collection.
-
- [!code-csharp[SqlError_State Example#1](~/../sqlclient/doc/samples/SqlError_State.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlError.Server">
- <summary>Gets the name of the instance of SQL Server that generated the error.</summary><value>The name of the instance of SQL Server.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlError.Message">
- <summary>Gets the text describing the error.</summary><value>The text describing the error. For more information on errors generated by SQL Server, see <see href="/sql/relational-databases/errors-events/database-engine-events-and-errors">Database Engine Events and Errors</see>.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlError.Procedure">
- <summary>Gets the name of the stored procedure or remote procedure call (RPC) that generated the error.</summary><value>The name of the stored procedure or RPC. For more information on errors generated by SQL Server, see <see href="/sql/relational-databases/errors-events/database-engine-events-and-errors">Database Engine Events and Errors</see>.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlError.LineNumber">
- <summary>Gets the line number within the Transact-SQL command batch or stored procedure that contains the error.</summary><value>The line number within the Transact-SQL command batch or stored procedure that contains the error.</value><remarks>
- <format type="text/markdown"><.
-
-
-
- ## Examples
- The following example displays each <xref:Microsoft.Data.SqlClient.SqlError> within the <xref:Microsoft.Data.SqlClient.SqlErrorCollection> collection.
-
- [!code-csharp[SqlError.State Example#1](~/../sqlclient/doc/samples/SqlError_State.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlErrorCollection">
- <summary>Collects all errors generated by the .NET Framework Data Provider for SQL Server. This class cannot be inherited.</summary><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><altmember cref="T:Microsoft.Data.SqlClient.SqlError" /><altmember cref="T:Microsoft.Data.SqlClient.SqlException" />
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlErrorCollection.CopyTo(System.Array,System.Int32)">
- <param name="array">The <see cref="T:System.Array" /> to copy elements into.</param><param name="index">The index from which to start copying into the <paramref name="array" /> parameter.</param><summary>Copies the elements of the <see cref="T:Microsoft.Data.SqlClient.SqlErrorCollection" /> collection into an <see cref="T:System.Array" />, starting at the specified index.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">The sum of <paramref name="index" /> and the number of elements in the <see cref="T:Microsoft.Data.SqlClient.SqlErrorCollection" /> collection is greater than the <see cref="P:System.Array.Length" /> of the <see cref="T:System.Array" />.</exception><exception cref="T:System.ArgumentNullException">The <paramref name="array" /> is <see langword="null" />.</exception><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="index" /> is not valid for <paramref name="array" />.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlErrorCollection.CopyTo(Microsoft.Data.SqlClient.SqlError[],System.Int32)">
- <param name="array">The <see cref="T:Microsoft.Data.SqlClient.SqlErrorCollection" /> to copy the elements into.</param><param name="index">The index from which to start copying into the <paramref name="array" /> parameter.</param><summary>Copies the elements of the <see cref="T:Microsoft.Data.SqlClient.SqlErrorCollection" /> collection into a <see cref="T:Microsoft.Data.SqlClient.SqlErrorCollection" />, starting at the specified index.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">The sum of <paramref name="index" /> and the number of elements in the <see cref="T:Microsoft.Data.SqlClient.SqlErrorCollection" /> collection is greater than the length of the <see cref="T:Microsoft.Data.SqlClient.SqlErrorCollection" />.</exception><exception cref="T:System.ArgumentNullException">The <paramref name="array" /> is <see langword="null" />.</exception><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="index" /> is not valid for <paramref name="array" />.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlErrorCollection.Count">
- <summary>Gets the number of errors in the collection.</summary><value>The total number of errors in the collection.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlErrorCollection.System#Collections#ICollection#SyncRoot">
- <summary>For a description of this member, see <see cref="P:System.Collections.ICollection.SyncRoot" />.</summary><value>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This member is an explicit interface member implementation. It can be used only when the <xref:Microsoft.Data.SqlClient.SqlErrorCollection> instance is cast to an <xref:System.Collections.ICollection> interface.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlErrorCollection.System#Collections#ICollection#IsSynchronized">
- <summary>For a description of this member, see <see cref="P:System.Collections.ICollection.IsSynchronized" />.</summary><value>
- <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This member is an explicit interface member implementation. It can be used only when the <xref:Microsoft.Data.SqlClient.SqlErrorCollection> instance is cast to an <xref:System.Collections.ICollection> interface.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlErrorCollection.Item(System.Int32)">
- <param name="index">The zero-based index of the error to retrieve.</param><summary>Gets the error at the specified index.</summary><value>A <see cref="T:Microsoft.Data.SqlClient.SqlError" /> that contains the error at the specified index.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><exception cref="T:System.IndexOutOfRangeException">Index parameter is outside array bounds.</exception><altmember cref="P:Microsoft.Data.SqlClient.SqlErrorCollection.Count" />
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlErrorCollection.GetEnumerator">
- <summary>Returns an enumerator that iterates through the <see cref="T:Microsoft.Data.SqlClient.SqlErrorCollection" />.</summary><returns>An <see cref="T:System.Collections.IEnumerator" /> for the <see cref="T:Microsoft.Data.SqlClient.SqlErrorCollection" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Enumerators can be used to read the data in a collection, but they cannot be used to modify the underlying collection.
-
- ]]></format>
- </remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlException">
- <summary>The exception that is thrown when SQL Server returns a warning or error. This class cannot be inherited.</summary><remarks>
- <format type="text/markdown"><. The <xref:Microsoft.Data.SqlClient.SqlException> class maps to SQL Server severity.
-
- The following is general information on handling exceptions. Your code should catch exceptions to prevent the application from crashing and to allow displaying a relevant error message to the user. You can use database transactions to ensure that the data is consistent regardless of what happens in the client application (including a crash). Features like System.Transaction.TransactionScope or the BeginTransaction method (in System.Data.OleDb.OleDbConnection, System.Data.ODBC.ODBCConnection, and Microsoft.Data.SqlClient.SqlConnection) ensure consistent data regardless of exceptions raised by a provider. Transactions can fail, so catch failures and retry the transaction.
-
- Note that beginning with .NET Framework 4.5, <xref:Microsoft.Data.SqlClient.SqlException> can return an inner <xref:System.ComponentModel.Win32Exception>.
-
- The exception class of a .NET Framework data provider reports provider-specific errors. For example System.Data.Odbc has OdbcException, System.Data.OleDb has OleDbException, and Microsoft.Data.SqlClient has SqlException. For the best level of error detail, catch these exceptions and use the members of these exception classes to get details of the error.
-
- In addition to the provider-specific errors, .NET Framework data provider types can raise .NET Framework exceptions such as System.OutOfMemoryException and System.Threading.ThreadAbortException. Recovery from these exceptions may not be possible.
-
- Bad input can cause a .NET Framework data provider type to raise an exception such as System.ArgumentException or System.IndexOutOfRangeException. Calling a method at the wrong time can raise System.InvalidOperationException.
-
- So, in general, write an exception handler that catches any provider specific exceptions as well as exceptions from the common language runtime. These can be layered as follows:
-
- ```csharp
- try {
- // code here
- }
- catch (SqlException odbcEx) {
- // Handle more specific SqlException exception here.
- }
- catch (Exception ex) {
- // Handle generic ones here.
- }
-
- ```
-
- Or:
-
- ```csharp
- try {
- // code here
- }
- catch (Exception ex) {
- if (ex is SqlException) {
- // Handle more specific SqlException exception here.
- }
- else {
- // Handle generic ones here.
- }
- }
-
- ```
-
- It is also possible for a .NET Framework data provider method call to fail on a thread pool thread with no user code on the stack. In this case, and when using asynchronous method calls, you must register the <xref:System.AppDomain.UnhandledException> event to handle those exceptions and avoid application crash.
-
-
-
- ## Examples
- The following example generates a <xref:Microsoft.Data.SqlClient.SqlException> and then displays the exception.
-
- [!code-csharp[SqlException_Errors1 Example#1](~/../sqlclient/doc/samples/SqlException_Errors1.cs#1)]
-
- ]]></format>
- </remarks><altmember cref="T:Microsoft.Data.SqlClient.SqlError" /><altmember cref="T:Microsoft.Data.SqlClient.SqlErrorCollection" />
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
- <param name="si">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param><param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param><summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- `GetObjectData` sets a `SerializationInfo` with all the exception object data targeted for serialization. During deserialization, the exception is reconstituted from the `SerializationInfo` transmitted over the stream.
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">The <paramref name="si" /> parameter is a null reference (<see langword="Nothing" /> in Visual Basic).</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlException.Errors">
- <summary>Gets a collection of one or more <see cref="T:Microsoft.Data.SqlClient.SqlError" /> objects that give detailed information about exceptions generated by the .NET Framework Data Provider for SQL Server.</summary><value>The collected instances of the <see cref="T:Microsoft.Data.SqlClient.SqlError" /> class.</value><remarks>
- <format type="text/markdown"><.
-
-
-
- ## Examples
- The following example displays each <xref:Microsoft.Data.SqlClient.SqlError> within the <xref:Microsoft.Data.SqlClient.SqlErrorCollection> collection.
-
- [!code-csharp[SqlError_ToString Example#1](~/../sqlclient/doc/samples/SqlError_ToString.cs#1)]
-
- ]]></format>
- </remarks><altmember cref="T:Microsoft.Data.SqlClient.SqlErrorCollection" /><altmember cref="T:Microsoft.Data.SqlClient.SqlError" />
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlException.ClientConnectionId">
- <summary>Represents the client connection ID. For more information, see <see href="https://docs.microsoft.com/dotnet/framework/data/adonet/data-tracing">Data Tracing in ADO.NET</see>.</summary><value>The client connection ID.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- For a code sample, see <xref:Microsoft.Data.SqlClient.SqlException.ToString%2A>.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlException.Class">
- <summary>Gets the severity level of the error returned from the .NET Framework Data Provider for SQL Server.</summary><value>A value from 1 to 25 that indicates the severity level of the error.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Number" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Source" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.State" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Server" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Procedure" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.LineNumber" />
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlException.LineNumber">
- <summary>Gets the line number within the Transact-SQL command batch or stored procedure that generated the error.</summary><value>The line number within the Transact-SQL command batch or stored procedure that generated the error.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Number" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Source" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.State" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Class" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Server" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Procedure" />
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlException.Number">
- <summary>Gets a number that identifies the type of error.</summary><value>The number that identifies the type of error.</value><remarks>
- <format type="text/markdown"><.
-
-
-
- ## Examples
- The following example displays each <xref:Microsoft.Data.SqlClient.SqlError> within the <xref:Microsoft.Data.SqlClient.SqlErrorCollection> collection.
-
- [!code-csharp[SqlException_Errors2 Example#1](~/../sqlclient/doc/samples/SqlException_Errors2.cs#1)]
-
- ]]></format>
- </remarks><altmember cref="P:Microsoft.Data.SqlClient.SqlException.State" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Class" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Source" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Server" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Procedure" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.LineNumber" />
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlException.Procedure">
- <summary>Gets the name of the stored procedure or remote procedure call (RPC) that generated the error.</summary><value>The name of the stored procedure or RPC.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Number" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.State" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Class" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Server" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Source" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.LineNumber" />
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlException.Server">
- <summary>Gets the name of the computer that is running an instance of SQL Server that generated the error.</summary><value>The name of the computer running an instance of SQL Server.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Number" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.State" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Source" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Class" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Procedure" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.LineNumber" />
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlException.State">
- <summary>Gets a numeric error code from SQL Server that represents an error, warning or "no data found" message. For more information about how to decode these values, see <see href="/sql/relational-databases/errors-events/database-engine-events-and-errors">Database Engine Events and Errors</see>.</summary><value>The number representing the error code.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Number" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Class" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Source" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Server" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Procedure" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.LineNumber" />
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlException.Source">
- <summary>Gets the name of the provider that generated the error.</summary><value>The name of the provider that generated the error.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Number" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.State" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Class" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Server" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.Procedure" /><altmember cref="P:Microsoft.Data.SqlClient.SqlException.LineNumber" />
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlException.ToString">
- <summary>Returns a string that represents the current <see cref="T:Microsoft.Data.SqlClient.SqlException" /> object, and includes the client connection ID (for more information, see <see cref="P:Microsoft.Data.SqlClient.SqlException.ClientConnectionId" />).</summary><returns>A string that represents the current <see cref="T:Microsoft.Data.SqlClient.SqlException" /> object.<see cref="T:System.String" />.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Examples
- The following C# example shows how a connection attempt to a valid server but non-existent database causes a <xref:Microsoft.Data.SqlClient.SqlException>, which includes the client connection ID:
-
- ```csharp
- using Microsoft.Data.SqlClient;
- using System;
-
- public class A {
- public static void Main() {
- SqlConnection connection = new SqlConnection();
- connection.ConnectionString = "Data Source=a_valid_server;Initial Catalog=Northwinda;Integrated Security=true";
- try {
- connection.Open();
- }
- catch (SqlException p) {
- Console.WriteLine("{0}", p.ClientConnectionId);
- Console.WriteLine("{0}", p.ToString());
- }
- connection.Close();
- }
- }
- ```
-
- The following Visual Basic sample is functionally equivalent to the previous (C#) sample:
-
- ```vb
- Imports Microsoft.Data.SqlClient
- Imports System
-
- Module Module1
-
- Sub Main()
- Dim connection As New SqlConnection()
- connection.ConnectionString = "Data Source=a_valid_server;Initial Catalog=Northwinda;Integrated Security=true"
- Try
- connection.Open()
- Catch p As SqlException
- Console.WriteLine("{0}", p.ClientConnectionId)
- Console.WriteLine("{0}", p.ToString())
- End Try
- connection.Close()
- End Sub
-
- End Module
- ```
-
- ]]></format>
- </remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlInfoMessageEventArgs">
- <summary>Provides data for the <see cref="E:Microsoft.Data.SqlClient.SqlConnection.InfoMessage" /> event.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlConnection.InfoMessage> event contains a <xref:Microsoft.Data.SqlClient.SqlErrorCollection> collection which contains the warnings sent from the server.
-
- An <xref:Microsoft.Data.SqlClient.SqlConnection.InfoMessage> event is generated when a SQL Server message with a severity level of 10 or less occurs.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlInfoMessageEventArgs.Errors">
- <summary>Gets the collection of warnings sent from the server.</summary><value>The collection of warnings sent from the server.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlInfoMessageEventArgs.Message">
- <summary>Gets the full text of the error sent from the database.</summary><value>The full text of the error.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This is a wrapper for the <xref:Microsoft.Data.SqlClient.SqlError.Message%2A> property of the first <xref:Microsoft.Data.SqlClient.SqlError> in the <xref:Microsoft.Data.SqlClient.SqlInfoMessageEventArgs.Errors%2A> collection.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlInfoMessageEventArgs.Source">
- <summary>Gets the name of the object that generated the error.</summary><value>The name of the object that generated the error.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This is a wrapper for the <xref:Microsoft.Data.SqlClient.SqlError.Source%2A> property of the first <xref:Microsoft.Data.SqlClient.SqlError> in the <xref:Microsoft.Data.SqlClient.SqlInfoMessageEventArgs.Errors%2A> collection.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlInfoMessageEventArgs.ToString">
- <summary>Retrieves a string representation of the <see cref="E:Microsoft.Data.SqlClient.SqlConnection.InfoMessage" /> event.</summary><returns>A string representing the <see cref="E:Microsoft.Data.SqlClient.SqlConnection.InfoMessage" /> event.</returns><remarks>To be added.</remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlInfoMessageEventHandler">
- <param name="sender">The source of the event.</param><param name="e">A <see cref="T:Microsoft.Data.SqlClient.SqlInfoMessageEventArgs" /> object that contains the event data.</param><summary>Represents the method that will handle the <see cref="E:Microsoft.Data.SqlClient.SqlConnection.InfoMessage" /> event of a <see cref="T:Microsoft.Data.SqlClient.SqlConnection" />.</summary><remarks>
- <format type="text/markdown"><.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlInternalConnectionSmi.UnbindOnTransactionCompletion">
- <summary>
- Get boolean that specifies whether an enlisted transaction can be unbound from
- the connection when that transaction completes.
- </summary>
- <value>
- True if the connection string property "TransactionBinding" is set to TransactionBindingEnum.ImplicitUnbind;
- otherwise, false.
- </value>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlInternalConnectionTds.UnbindOnTransactionCompletion">
- <summary>
- Get boolean that specifies whether an enlisted transaction can be unbound from
- the connection when that transaction completes.
- </summary>
- <value>
- This override always returns false.
- </value>
- <remarks>
- The SqlInternalConnectionTds.CheckEnlistedTransactionBinding method handles implicit unbinding for disposed transactions.
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlInternalConnectionTds.CheckEnlistedTransactionBinding">
- <summary>
- Validate the enlisted transaction state, taking into consideration the ambient transaction and transaction unbinding mode.
- If there is no enlisted transaction, this method is a nop.
- </summary>
- <remarks>
- <para>
- This method must be called while holding a lock on the SqlInternalConnection instance,
- to ensure we don't accidentally execute after the transaction has completed on a different thread,
- causing us to unwittingly execute in auto-commit mode.
- </para>
-
- <para>
- When using Explicit transaction unbinding,
- verify that the enlisted transaction is active and equal to the current ambient transaction.
- </para>
-
- <para>
- When using Implicit transaction unbinding,
- verify that the enlisted transaction is active.
- If it is not active, and the transaction object has been diposed, unbind from the transaction.
- If it is not active and not disposed, throw an exception.
- </para>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlInternalConnectionTds.OnFedAuthInfo(Microsoft.Data.SqlClient.SqlFedAuthInfo)">
- <summary>
- Generates (if appropriate) and sends a Federated Authentication Access token to the server, using the Federated Authentication Info.
- </summary>
- <param name="fedAuthInfo">Federated Authentication Info.</param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlInternalConnectionTds.TryGetFedAuthTokenLocked(Microsoft.Data.SqlClient.SqlFedAuthInfo,Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContext,Microsoft.Data.SqlClient.SqlFedAuthToken@)">
- <summary>
- Tries to acquire a lock on the authentication context. If successful in acquiring the lock, gets a new token and assigns it in the out parameter. Else returns false.
- </summary>
- <param name="fedAuthInfo">Federated Authentication Info</param>
- <param name="dbConnectionPoolAuthenticationContext">Authentication Context cached in the connection pool.</param>
- <param name="fedAuthToken">Out parameter, carrying the token if we acquired a lock and got the token.</param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlInternalConnectionTds.GetFedAuthToken(Microsoft.Data.SqlClient.SqlFedAuthInfo)">
- <summary>
- Get the Federated Authentication Token.
- </summary>
- <param name="fedAuthInfo">Information obtained from server as Federated Authentication Info.</param>
- <returns>SqlFedAuthToken</returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlNotificationEventArgs">
- <summary>Represents the set of arguments passed to the notification event handler.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlNotificationEventArgs.#ctor(Microsoft.Data.SqlClient.SqlNotificationType,Microsoft.Data.SqlClient.SqlNotificationInfo,Microsoft.Data.SqlClient.SqlNotificationSource)">
- <param name="type">
- <see cref="T:Microsoft.Data.SqlClient.SqlNotificationType" /> value that indicates whether this notification is generated because of an actual change, or by the subscription.</param><param name="info">
- <see cref="T:Microsoft.Data.SqlClient.SqlNotificationInfo" /> value that indicates the reason for the notification event. This may occur because the data in the store actually changed, or the notification became invalid (for example, it timed out).</param><param name="source">
- <see cref="T:Microsoft.Data.SqlClient.SqlNotificationSource" /> value that indicates the source that generated the notification.</param><summary>Creates a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlNotificationEventArgs" /> object.</summary><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlNotificationEventArgs.Type">
- <summary>Gets a value that indicates whether this notification is generated because of an actual change, or by the subscription.</summary><value>A value indicating whether the notification was generated by a change or a subscription.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlNotificationEventArgs.Info">
- <summary>Gets a value that indicates the reason for the notification event, such as a row in the database being modified or a table being truncated.</summary><value>The notification event reason.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This event may occur because the data in the store actually changed, or the notification is no longer valid (for example, it timed out).
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlNotificationEventArgs.Source">
- <summary>Gets a value that indicates the source that generated the notification, such as a change to the query data or the database's state.</summary><value>The source of the notification.</value><remarks>To be added.</remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlNotificationInfo">
- <summary>This enumeration provides additional information about the different notifications that can be received by the dependency event handler.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlNotificationInfo> enumeration is referenced by an instance of the <xref:Microsoft.Data.SqlClient.SqlNotificationEventArgs> class.
-
- ]]></format>
- </remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationInfo.Truncate">
- <summary>One or more tables were truncated.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationInfo.Insert">
- <summary>Data was changed by an INSERT statement.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationInfo.Update">
- <summary>Data was changed by an UPDATE statement.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationInfo.Delete">
- <summary>Data was changed by a DELETE statement.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationInfo.Drop">
- <summary>An underlying object related to the query was dropped.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationInfo.Alter">
- <summary>An underlying server object related to the query was modified.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationInfo.Restart">
- <summary>The server was restarted (notifications are sent during restart.).</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationInfo.Error">
- <summary>An internal server error occurred.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationInfo.Query">
- <summary>A SELECT statement that cannot be notified or was provided.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationInfo.Invalid">
- <summary>A statement was provided that cannot be notified (for example, an UPDATE statement).</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationInfo.Options">
- <summary>The SET options were not set appropriately at subscription time.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationInfo.Isolation">
- <summary>The statement was executed under an isolation mode that was not valid (for example, Snapshot).</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationInfo.Expired">
- <summary>The <see langword="SqlDependency" /> object has expired.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationInfo.Resource">
- <summary>Fires as a result of server resource pressure.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationInfo.PreviousFire">
- <summary>A previous statement has caused query notifications to fire under the current transaction.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationInfo.TemplateLimit">
- <summary>The subscribing query causes the number of templates on one of the target tables to exceed the maximum allowable limit.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationInfo.Merge">
- <summary>Used to distinguish the server-side cause for a query notification firing.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationInfo.Unknown">
- <summary>Used when the info option sent by the server was not recognized by the client.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationInfo.AlreadyChanged">
- <summary>The <see langword="SqlDependency" /> object already fired, and new commands cannot be added to it.</summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlNotificationSource">
- <summary>Indicates the source of the notification received by the dependency event handler.</summary><remarks>
- <format type="text/markdown">< and [Working with Query Notifications](/sql/connect/oledb/features/working-with-query-notifications).
-
- ]]></format>
- </remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationSource.Data">
- <summary>Data has changed; for example, an insert, update, delete, or truncate operation occurred.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationSource.Timeout">
- <summary>The subscription time-out expired.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationSource.Object">
- <summary>A database object changed; for example, an underlying object related to the query was dropped or modified.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationSource.Database">
- <summary>The database state changed; for example, the database related to the query was dropped or detached.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationSource.System">
- <summary>A system-related event occurred. For example, there was an internal error, the server was restarted, or resource pressure caused the invalidation.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationSource.Statement">
- <summary>The Transact-SQL statement is not valid for notifications; for example, a SELECT statement that could not be notified or a non-SELECT statement was executed.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationSource.Environment">
- <summary>The run-time environment was not compatible with notifications; for example, the isolation level was set to snapshot, or one or more SET options are not compatible.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationSource.Execution">
- <summary>A run-time error occurred during execution.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationSource.Owner">
- <summary>Internal only; not intended to be used in your code.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationSource.Unknown">
- <summary>Used when the source option sent by the server was not recognized by the client.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationSource.Client">
- <summary>A client-initiated notification occurred, such as a client-side time-out or as a result of attempting to add a command to a dependency that has already fired.</summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlNotificationType">
- <summary>Describes the different notification types that can be received by an <see cref="T:Microsoft.Data.SqlClient.OnChangeEventHandler" /> event handler through the <see cref="T:Microsoft.Data.SqlClient.SqlNotificationEventArgs" /> parameter.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlNotificationType> enumeration is referenced by an instance of the <xref:Microsoft.Data.SqlClient.SqlNotificationEventArgs> class. This information is provided when a notification event is fired with the <xref:Microsoft.Data.SqlClient.SqlDependency> class.
-
- ]]></format>
- </remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationType.Change">
- <summary>Data on the server being monitored changed. Use the <see cref="T:Microsoft.Data.SqlClient.SqlNotificationInfo" /> item to determine the details of the change.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationType.Subscribe">
- <summary>There was a failure to create a notification subscription. Use the <see cref="T:Microsoft.Data.SqlClient.SqlNotificationEventArgs" /> object's <see cref="T:Microsoft.Data.SqlClient.SqlNotificationInfo" /> item to determine the cause of the failure.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlNotificationType.Unknown">
- <summary>Used when the type option sent by the server was not recognized by the client.</summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlParameter">
- <summary>Represents a parameter to a <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> and optionally its mapping to <see cref="T:System.Data.DataSet" /> columns. This class cannot be inherited. For more information on parameters, see [Configuring Parameters and Parameter Data Types](~/docs/framework/data/adonet/configuring-parameters-and-parameter-data-types.md).</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Parameter names are not case sensitive.
-
- > [!NOTE]
- > Nameless, also called ordinal, parameters are not supported by the .NET Framework Data Provider for SQL Server.
-
- For more information, along with additional sample code demonstrating how to use parameters, see [Commands and Parameters](~/docs/framework/data/adonet/commands-and-parameters.md).
-
-
-
- ## Examples
- The following example creates multiple instances of <xref:Microsoft.Data.SqlClient.SqlParameter> through the <xref:Microsoft.Data.SqlClient.SqlParameterCollection> collection within the <xref:Microsoft.Data.SqlClient.SqlDataAdapter>. These parameters are used to select data from the data source and put the data in the <xref:System.Data.DataSet>. This example assumes that a <xref:System.Data.DataSet> and a <xref:Microsoft.Data.SqlClient.SqlDataAdapter> have already been created by using the appropriate schema, commands, and connection. For more information and additional examples on using parameters, see [Retrieving and Modifying Data in ADO.NET](~/docs/framework/data/adonet/retrieving-and-modifying-data.md) and [Configuring Parameters and Parameter Data Types](~/docs/framework/data/adonet/configuring-parameters-and-parameter-data-types.md).
-
- [!code-csharp[SqlParameterCollection_Add6](~/../sqlclient/doc/samples/SqlParameterCollection_Add6.cs#1)]
-
- ]]></format>
- </remarks><altmember cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /><altmember cref="T:Microsoft.Data.SqlClient.SqlCommand" />
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlParameter._columnEncryptionCipherMetadata">
- <summary>
- Column Encryption Cipher Related Metadata.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.CipherMetadata">
- <summary>
- Get or set the encryption related metadata of this SqlParameter.
- Should be set to a non-null value only once.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.HasReceivedMetadata">
- <summary>
- Indicates if the parameter encryption metadata received by sp_describe_parameter_encryption.
- For unencrypted parameters, the encryption metadata should still be sent (and will indicate
- that no encryption is needed).
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.NormalizationRuleVersion">
- <summary>
- Returns the normalization rule version number as a byte
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameter.#ctor">
- <summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> class.</summary><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameter.#ctor(System.String,System.Data.SqlDbType,System.Int32,System.Data.ParameterDirection,System.Boolean,System.Byte,System.Byte,System.String,System.Data.DataRowVersion,System.Object)">
- <param name="parameterName">The name of the parameter to map.</param><param name="dbType">One of the <see cref="T:System.Data.SqlDbType" /> values.</param><param name="size">The length of the parameter.</param><param name="direction">One of the <see cref="T:System.Data.ParameterDirection" /> values.</param><param name="isNullable">
- <see langword="true" /> if the value of the field can be null; otherwise, <see langword="false" />.</param><param name="precision">The total number of digits to the left and right of the decimal point to which <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" /> is resolved.</param><param name="scale">The total number of decimal places to which <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" /> is resolved.</param><param name="sourceColumn">The name of the source column (<see cref="P:Microsoft.Data.SqlClient.SqlParameter.SourceColumn" />) if this <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> is used in a call to <see cref="o:System.Data.Common.DbDataAdapter.Update" />.</param><param name="sourceVersion">One of the <see cref="T:System.Data.DataRowVersion" /> values.</param><param name="value">An <see cref="T:System.Object" /> that is the value of the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" />.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> class that uses the parameter name, the type of the parameter, the size of the parameter, a <see cref="T:System.Data.ParameterDirection" />, the precision of the parameter, the scale of the parameter, the source column, a <see cref="T:System.Data.DataRowVersion" /> to use, and the value of the parameter.</summary><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">The value supplied in the <paramref name="dbType" /> parameter is an invalid back-end data type.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameter.#ctor(System.String,System.Data.SqlDbType,System.Int32,System.Data.ParameterDirection,System.Byte,System.Byte,System.String,System.Data.DataRowVersion,System.Boolean,System.Object,System.String,System.String,System.String)">
- <param name="parameterName">The name of the parameter to map.</param><param name="dbType">One of the <see cref="T:System.Data.SqlDbType" /> values.</param><param name="size">The length of the parameter.</param><param name="direction">One of the <see cref="T:System.Data.ParameterDirection" /> values.</param><param name="precision">The total number of digits to the left and right of the decimal point to which <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" /> is resolved.</param><param name="scale">The total number of decimal places to which <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" /> is resolved.</param><param name="sourceColumn">The name of the source column (<see cref="P:Microsoft.Data.SqlClient.SqlParameter.SourceColumn" />) if this <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> is used in a call to <see cref="o:System.Data.Common.DbDataAdapter.Update" />.</param><param name="sourceVersion">One of the <see cref="T:System.Data.DataRowVersion" /> values.</param><param name="sourceColumnNullMapping">
- <see langword="true" /> if the source column is nullable; <see langword="false" /> if it is not.</param><param name="value">An <see cref="T:System.Object" /> that is the value of the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" />.</param><param name="xmlSchemaCollectionDatabase">The name of the database where the schema collection for this XML instance is located.</param><param name="xmlSchemaCollectionOwningSchema">The owning relational schema where the schema collection for this XML instance is located.</param><param name="xmlSchemaCollectionName">The name of the schema collection for this parameter.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> class that uses the parameter name, the type of the parameter, the length of the parameter the direction, the precision, the scale, the name of the source column, one of the <see cref="T:System.Data.DataRowVersion" /> values, a Boolean for source column mapping, the value of the <see langword="SqlParameter" />, the name of the database where the schema collection for this XML instance is located, the owning relational schema where the schema collection for this XML instance is located, and the name of the schema collection for this parameter.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlParameter.Size%2A> and <xref:Microsoft.Data.SqlClient.SqlParameter.Precision%2A> are inferred from the value of the `dbType` parameter if they are not explicitly set in the `size` and `precision` parameters.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameter.#ctor(System.String,System.Data.SqlDbType)">
- <param name="parameterName">The name of the parameter to map.</param><param name="dbType">One of the <see cref="T:System.Data.SqlDbType" /> values.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> class that uses the parameter name and the data type.</summary><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">The value supplied in the <paramref name="dbType" /> parameter is an invalid back-end data type.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameter.#ctor(System.String,System.Object)">
- <param name="parameterName">The name of the parameter to map.</param><param name="value">An <see cref="T:System.Object" /> that is the value of the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" />.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> class that uses the parameter name and a value of the new <see cref="T:Microsoft.Data.SqlClient.SqlParameter" />.</summary><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameter.#ctor(System.String,System.Data.SqlDbType,System.Int32)">
- <param name="parameterName">The name of the parameter to map.</param><param name="dbType">One of the <see cref="T:System.Data.SqlDbType" /> values.</param><param name="size">The length of the parameter.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> class that uses the parameter name, the <see cref="T:System.Data.SqlDbType" />, and the size.</summary><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">The value supplied in the <paramref name="dbType" /> parameter is an invalid back-end data type.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameter.#ctor(System.String,System.Data.SqlDbType,System.Int32,System.String)">
- <param name="parameterName">The name of the parameter to map.</param><param name="dbType">One of the <see cref="T:System.Data.SqlDbType" /> values.</param><param name="size">The length of the parameter.</param><param name="sourceColumn">The name of the source column (<see cref="P:Microsoft.Data.SqlClient.SqlParameter.SourceColumn" />) if this <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> is used in a call to <see cref="o:System.Data.Common.DbDataAdapter.Update" />.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> class that uses the parameter name, the <see cref="T:System.Data.SqlDbType" />, the size, and the source column name.</summary><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">The value supplied in the <paramref name="dbType" /> parameter is an invalid back-end data type.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.CompareInfo">
- <summary>Gets or sets the <see cref="T:System.Globalization.CompareInfo" /> object that defines how string comparisons should be performed for this parameter.</summary><value>A <see cref="T:System.Globalization.CompareInfo" /> object that defines string comparison for this parameter.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.XmlSchemaCollectionDatabase">
- <summary>Gets the name of the database where the schema collection for this XML instance is located.</summary><value>The name of the database where the schema collection for this XML instance is located.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This value is null (`Nothing` in Microsoft Visual Basic) if the collection is defined within the current database. It is also null if there is no schema collection, in which case <xref:Microsoft.Data.SqlClient.SqlParameter.XmlSchemaCollectionName%2A> and <xref:Microsoft.Data.SqlClient.SqlParameter.XmlSchemaCollectionOwningSchema%2A> are also null.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.XmlSchemaCollectionOwningSchema">
- <summary>The owning relational schema where the schema collection for this XML instance is located.</summary><value>The owning relational schema for this XML instance.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This value is null (`Nothing` in Microsoft Visual Basic) if the collection is defined within the current database. It is also null if there is no schema collection, in which case <xref:Microsoft.Data.SqlClient.SqlParameter.XmlSchemaCollectionDatabase%2A> and <xref:Microsoft.Data.SqlClient.SqlParameter.XmlSchemaCollectionName%2A> are also null.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.XmlSchemaCollectionName">
- <summary>Gets the name of the schema collection for this XML instance.</summary><value>The name of the schema collection for this XML instance.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This value is null (`Nothing` in Microsoft Visual Basic) if there is no associated schema collection. If the value is null, then <xref:Microsoft.Data.SqlClient.SqlParameter.XmlSchemaCollectionDatabase%2A> and <xref:Microsoft.Data.SqlClient.SqlParameter.XmlSchemaCollectionOwningSchema%2A> are also null.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.ForceColumnEncryption">
- <summary>Enforces encryption of a parameter when using <see href="https://docs.microsoft.com/sql/relational-databases/security/encryption/always-encrypted-database-engine">Always Encrypted</see>. If SQL Server informs the driver that the parameter does not need to be encrypted, the query using the parameter will fail. This property provides additional protection against security attacks that involve a compromised SQL Server providing incorrect encryption metadata to the client, which may lead to data disclosure.</summary><value>
- <see langword="true" /> if the parameter has a force column encryption; otherwise, <see langword="false" />.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.DbType">
- <summary>Gets or sets the <see cref="T:System.Data.SqlDbType" /> of the parameter.</summary><value>One of the <see cref="T:System.Data.SqlDbType" /> values. The default is <see langword="NVarChar" />.</value><remarks>
- <format type="text/markdown"><.
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlParameter> and sets some of its properties.
-
- [!code-csharp[SqlParameter_IsNullable Example#1](~/../sqlclient/doc/samples/SqlParameter_IsNullable.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameter.ResetDbType">
- <summary>Resets the type associated with this <see cref="T:Microsoft.Data.SqlClient.SqlParameter" />.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- When executing a command that includes parameter values, code can either set the type of a parameter explicitly, or the parameter can infer its type from its value. Calling this method resets the parameter so that it can again infer its type from the value passed in the parameter. Calling this method affects both the <xref:Microsoft.Data.SqlClient.SqlParameter.DbType%2A> and <xref:Microsoft.Data.SqlClient.SqlParameter.SqlDbType%2A> properties of the <xref:Microsoft.Data.SqlClient.SqlParameter>.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.LocaleId">
- <summary>Gets or sets the locale identifier that determines conventions and language for a particular region.</summary><value>The locale identifier associated with the parameter.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The locale identifies conventions and language for a particular geographical region. The codepage used to encode a specific string (the character set) is based on the locale used by that string or the environment that produced it. This property sets (for input parameters) or gets (for output parameters) the locale to be attached to a string when exchanging data with the server. This property is typically used together with the <xref:Microsoft.Data.SqlClient.SqlParameter.CompareInfo%2A> property.
-
- ```csharp
- static void CreateSqlParameterLocaleId(){
- SqlParameter parameter = new SqlParameter("pName", SqlDbType.VarChar);
- parameter.LocaleId = 1033; // English - United States
- }
- ```
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameter.GetMetadataForTypeInfo">
- <summary>
- Get SMI Metadata to write out type_info stream.
- </summary>
- <returns></returns>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.ParameterName">
- <summary>Gets or sets the name of the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" />.</summary><value>The name of the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" />. The default is an empty string.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.Precision">
- <summary>Gets or sets the maximum number of digits used to represent the <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" /> property.</summary><value>The maximum number of digits used to represent the <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" /> property. The default value is 0. This indicates that the data provider sets the precision for <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlParameter.Precision%2A> property is used by parameters that have a <xref:System.Data.SqlDbType> of `Decimal`.
-
- You do not need to specify values for the <xref:Microsoft.Data.SqlClient.SqlParameter.Precision%2A> and <xref:Microsoft.Data.SqlClient.SqlParameter.Scale%2A> properties for input parameters, as they can be inferred from the parameter value. `Precision` and `Scale` are required for output parameters and for scenarios where you need to specify complete metadata for a parameter without indicating a value, such as specifying a null value with a specific precision and scale.
-
- > [!NOTE]
- > Use of this property to coerce data passed to the database is not supported. To round, truncate, or otherwise coerce data before passing it to the database, use the <xref:System.Math> class that is part of the `System` namespace prior to assigning a value to the parameter's `Value` property.
-
- > [!NOTE]
- > Microsoft .NET Framework data providers that are included with the .NET Framework version 1.0 do not verify the <xref:Microsoft.Data.SqlClient.SqlParameter.Precision%2A> or <xref:Microsoft.Data.SqlClient.SqlParameter.Scale%2A> of <xref:System.Decimal> parameter values. This can cause truncated data being inserted at the data source. If you are using .NET Framework version 1.0, validate the <xref:Microsoft.Data.SqlClient.SqlParameter.Precision%2A> and <xref:Microsoft.Data.SqlClient.SqlParameter.Scale%2A> of <xref:System.Decimal> values before setting the parameter value. When you use .NET Framework version 1.1 or a later version, an exception is thrown if a <xref:System.Decimal> parameter value is set with an invalid <xref:Microsoft.Data.SqlClient.SqlParameter.Precision%2A>. <xref:Microsoft.Data.SqlClient.SqlParameter.Scale%2A> values that exceed the <xref:System.Decimal> parameter scale are still truncated.
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlParameter> and sets some of its properties.
-
- [!code-csharp[SqlParameter_Precision Example#1](~/../sqlclient/doc/samples/SqlParameter_Precision.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.Scale">
- <summary>Gets or sets the number of decimal places to which <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" /> is resolved.</summary><value>The number of decimal places to which <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" /> is resolved. The default is 0.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlParameter.Scale%2A> property is used by parameters that have a <xref:System.Data.SqlDbType> of `Decimal`.
-
- > [!WARNING]
- > Data may be truncated if the <xref:Microsoft.Data.SqlClient.SqlParameter.Scale%2A> property is not explicitly specified and the data on the server does not fit in scale 0 (the default).
-
- You do not need to specify values for the <xref:Microsoft.Data.SqlClient.SqlParameter.Precision%2A> and <xref:Microsoft.Data.SqlClient.SqlParameter.Scale%2A> properties for input parameters, as they can be inferred from the parameter value. `Precision` and `Scale` are required for output parameters and for scenarios where you need to specify complete metadata for a parameter without indicating a value, such as specifying a null value with a specific precision and scale.
-
- > [!NOTE]
- > Use of this property to coerce data passed to the database is not supported. To round, truncate, or otherwise coerce data before passing it to the database, use the <xref:System.Math> class that is part of the `System` namespace prior to assigning a value to the parameter's `Value` property.
-
- > [!NOTE]
- > .NET Framework data providers that are included with the .NET Framework version 1.0 do not verify the <xref:Microsoft.Data.SqlClient.SqlParameter.Precision%2A> or <xref:Microsoft.Data.SqlClient.SqlParameter.Scale%2A> of <xref:System.Decimal> parameter values. This can cause truncated data to be inserted at the data source. If you are using .NET Framework version 1.0, validate the <xref:Microsoft.Data.SqlClient.SqlParameter.Precision%2A> and <xref:Microsoft.Data.SqlClient.SqlParameter> of <xref:System.Decimal> values before setting the parameter value. <xref:Microsoft.Data.SqlClient.SqlParameter.Scale%2A> values that exceed the <xref:System.Decimal> parameter scale are still truncated.
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlParameter> and sets some of its properties.
-
- [!code-csharp[SqlParameter#4](~/../sqlclient/doc/samples/SqlParameter.cs#4)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.SqlDbType">
- <summary>Gets or sets the <see cref="T:System.Data.SqlDbType" /> of the parameter.</summary><value>One of the <see cref="T:System.Data.SqlDbType" /> values. The default is <see langword="NVarChar" />.</value><remarks>
- <format type="text/markdown"><.
-
- For information about streaming, see [SqlClient Streaming Support](~/docs/framework/data/adonet/sqlclient-streaming-support.md).
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameter.ResetSqlDbType">
- <summary>Resets the type associated with this <see cref="T:Microsoft.Data.SqlClient.SqlParameter" />.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- When executing a command that includes parameter values, code can either set the type of a parameter explicitly, or the parameter can infer its type from its value. Calling this method resets the parameter so that it can again infer its type from the value passed in the parameter. Calling this method affects both the <xref:Microsoft.Data.SqlClient.SqlParameter.DbType%2A> and <xref:Microsoft.Data.SqlClient.SqlParameter.SqlDbType%2A> properties of the <xref:Microsoft.Data.SqlClient.SqlParameter>.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.SqlValue">
- <summary>Gets or sets the value of the parameter as an SQL type.</summary><value>An <see cref="T:System.Object" /> that is the value of the parameter, using SQL types. The default value is null.</value><remarks>
- <format type="text/markdown"><.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.UdtTypeName">
- <summary>Gets or sets a <see langword="string" /> that represents a user-defined type as a parameter.</summary><value>A <see langword="string" /> that represents the fully qualified name of a user-defined type in the database.</value><remarks>
- <format type="text/markdown"><.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.TypeName">
- <summary>Gets or sets the type name for a table-valued parameter.</summary><value>The type name of the specified table-valued parameter.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.Value">
- <summary>Gets or sets the value of the parameter.</summary><value>An <see cref="T:System.Object" /> that is the value of the parameter. The default value is null.</value><remarks>
- <format type="text/markdown"><.
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlParameter> and sets some of its properties.
-
- [!code-csharp[SqlParameter#8](~/../sqlclient/doc/samples/SqlParameter.cs#8)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameter.System#ICloneable#Clone">
- <summary>For a description of this member, see <see cref="M:System.ICloneable.Clone" />.</summary><returns>A new <see cref="T:System.Object" /> that is a copy of this instance.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This member is an explicit interface member implementation. It can be used only when the <xref:Microsoft.Data.SqlClient.SqlParameter> instance is cast to an <xref:System.ICloneable> interface.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.Direction">
- <summary>Gets or sets a value that indicates whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter.</summary><value>One of the <see cref="T:System.Data.ParameterDirection" /> values. The default is <see langword="Input" />.</value><remarks>
- <format type="text/markdown"><
-
- [DataAdapter Parameters](~/docs/framework/data/adonet/dataadapter-parameters.md)
-
- [SQL Server and ADO.NET](~/docs/framework/data/adonet/sql/index.md)
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">The property was not set to one of the valid <see cref="T:System.Data.ParameterDirection" /> values.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.IsNullable">
- <summary>Gets or sets a value that indicates whether the parameter accepts null values. <see cref="P:Microsoft.Data.SqlClient.SqlParameter.IsNullable" /> is not used to validate the parameter's value and will not prevent sending or receiving a null value when executing a command.</summary><value>
- <see langword="true" /> if null values are accepted; otherwise, <see langword="false" />. The default is <see langword="false" />.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.Offset">
- <summary>Gets or sets the offset to the <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" /> property.</summary><value>The offset to the <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" />. The default is 0.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.Size">
- <summary>Gets or sets the maximum size, in bytes, of the data within the column.</summary><value>The maximum size, in bytes, of the data within the column. The default value is inferred from the parameter value.</value><remarks>
- <format type="text/markdown"><.
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlParameter> and sets some of its properties.
-
- [!code-csharp[SqlParameter#5](~/../sqlclient/doc/samples/SqlParameter.cs#5)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.SourceColumn">
- <summary>Gets or sets the name of the source column mapped to the <see cref="T:System.Data.DataSet" /> and used for loading or returning the <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" /></summary><value>The name of the source column mapped to the <see cref="T:System.Data.DataSet" />. The default is an empty string.</value><remarks>
- <format type="text/markdown">< and [Updating Data Sources with DataAdapters](~/docs/framework/data/adonet/updating-data-sources-with-dataadapters.md).
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlParameter> and sets some of its properties.
-
- [!code-csharp[SqlParameter#6](~/../sqlclient/doc/samples/SqlParameter.cs#6)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.SourceColumnNullMapping">
- <summary>Sets or gets a value which indicates whether the source column is nullable. This allows <see cref="T:Microsoft.Data.SqlClient.SqlCommandBuilder" /> to correctly generate Update statements for nullable columns.</summary><value>
- <see langword="true" /> if the source column is nullable; <see langword="false" /> if it is not.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- <xref:Microsoft.Data.SqlClient.SqlParameter.SourceColumnNullMapping%2A> is used by the <xref:Microsoft.Data.SqlClient.SqlCommandBuilder> to correctly generate update commands when dealing with nullable columns. Generally, use of <xref:Microsoft.Data.SqlClient.SqlParameter.SourceColumnNullMapping%2A> is limited to developers inheriting from <xref:Microsoft.Data.SqlClient.SqlCommandBuilder>.
-
- <xref:System.Data.Common.DbCommandBuilder> uses this property to determine whether the source column is nullable, and sets this property to `true` if it is nullable, and `false` if it is not. When <xref:Microsoft.Data.SqlClient.SqlCommandBuilder> is generating its Update statement, it examines the <xref:Microsoft.Data.SqlClient.SqlParameter.SourceColumnNullMapping%2A> for each parameter. If the property is `true`, <xref:Microsoft.Data.SqlClient.SqlCommandBuilder> generates a WHERE clauses like the following (in this query expression, "FieldName" represents the name of the field):
-
- ```
- ((@IsNull_FieldName = 1 AND FieldName IS NULL) OR
- (FieldName = @Original_FieldName))
- ```
-
- If <xref:Microsoft.Data.SqlClient.SqlParameter.SourceColumnNullMapping%2A> for the field is false, <xref:Microsoft.Data.SqlClient.SqlCommandBuilder> generates the following WHERE clause:
-
- ```
- FieldName = @OriginalFieldName
- ```
-
- In addition, @IsNull_FieldName contains 1 if the source field contains null, and 0 if it does not. This mechanism allows for a performance optimization in SQL Server, and provides for common code that works across multiple providers.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameter.SourceVersion">
- <summary>Gets or sets the <see cref="T:System.Data.DataRowVersion" /> to use when you load <see cref="P:Microsoft.Data.SqlClient.SqlParameter.Value" /></summary><value>One of the <see cref="T:System.Data.DataRowVersion" /> values. The default is <see langword="Current" />.</value><remarks>
- <format type="text/markdown"><]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameter.ToString">
- <summary>Gets a string that contains the <see cref="P:Microsoft.Data.SqlClient.SqlParameter.ParameterName" />.</summary><returns>A string that contains the <see cref="P:Microsoft.Data.SqlClient.SqlParameter.ParameterName" />.</returns><remarks>To be added.</remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlParameterCollection">
- <summary>Represents a collection of parameters associated with a <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> and their respective mappings to columns in a <see cref="T:System.Data.DataSet" />. This class cannot be inherited.</summary><remarks>
- <format type="text/markdown"><.
- ## Examples
- The following example creates multiple instances of <xref:Microsoft.Data.SqlClient.SqlParameter> through the <xref:Microsoft.Data.SqlClient.SqlParameterCollection> collection. The parameters are used to select data within the data source and populate the <xref:System.Data.DataSet>. This code assumes that a <xref:System.Data.DataSet> and a <xref:Microsoft.Data.SqlClient.SqlDataAdapter> have already been created with the appropriate schema, commands, and connection.
- [!code-csharp[SqlParameterCollection_Add6 Example#1](~/../sqlclient/doc/samples/SqlParameterCollection_Add6.cs#1)]
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameterCollection.Item(System.Int32)">
- <param name="index">The zero-based index of the parameter to retrieve.</param><summary>Gets the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> at the specified index.</summary><value>The <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> at the specified index.</value><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks><exception cref="T:System.IndexOutOfRangeException">The specified index does not exist.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameterCollection.Item(System.String)">
- <param name="parameterName">The name of the parameter to retrieve.</param><summary>Gets the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> with the specified name.</summary><value>The <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> with the specified name.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The `parameterName` is used to look up the index value in the underlying <xref:Microsoft.Data.SqlClient.SqlParameterCollection>. If the `parameterName` is not valid, an <xref:System.IndexOutOfRangeException> will be thrown.
- ]]></format>
- </remarks><exception cref="T:System.IndexOutOfRangeException">The specified <paramref name="parameterName" /> is not valid.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.Add(Microsoft.Data.SqlClient.SqlParameter)">
- <param name="value">The <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> to add to the collection.</param><summary>Adds the specified <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> object to the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</summary><returns>A new <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> object.</returns><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">The <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> specified in the <paramref name="value" /> parameter is already added to this or another <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</exception><exception cref="T:System.InvalidCastException">The parameter passed was not a <see cref="T:Microsoft.Data.SqlClient.SqlParameter" />.</exception><exception cref="T:System.ArgumentNullException">The <paramref name="value" /> parameter is null.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.Add(System.String,System.Object)">
- <param name="parameterName">The name of the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> to add to the collection.</param><param name="value">A <see cref="T:System.Object" />.</param><summary>Adds the specified <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> object to the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</summary><returns>A new <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> object.
- Use caution when you are using this overload of the <see langword="SqlParameterCollection.Add" /> method to specify integer parameter values. Because this overload takes a <paramref name="value" /> of type <see cref="T:System.Object" />, you must convert the integral value to an <see cref="T:System.Object" /> type when the value is zero, as the following C# example demonstrates.
- ```
- parameters.Add("@pname", Convert.ToInt32(0));
- ```
- If you do not perform this conversion, the compiler assumes that you are trying to call the <see langword="SqlParameterCollection.Add" /> (<see langword="string" />, <see langword="SqlDbType" />) overload.</returns><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">The <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> specified in the <paramref name="value" /> parameter is already added to this or another <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</exception><exception cref="T:System.ArgumentNullException">The <paramref name="value" /> parameter is null.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.AddWithValue(System.String,System.Object)">
- <param name="parameterName">The name of the parameter.</param><param name="value">The value to be added. Use <see cref="F:System.DBNull.Value" /> instead of null, to indicate a null value.</param><summary>Adds a value to the end of the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</summary><returns>A <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> object.</returns><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.Add(System.String,System.Data.SqlDbType)">
- <param name="parameterName">The name of the parameter.</param><param name="sqlDbType">One of the <see cref="T:System.Data.SqlDbType" /> values.</param><summary>Adds a <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> to the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> given the parameter name and the data type.</summary><returns>A new <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> object.</returns><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.Add(System.String,System.Data.SqlDbType,System.Int32)">
- <param name="parameterName">The name of the parameter.</param><param name="sqlDbType">The <see cref="T:System.Data.SqlDbType" /> of the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> to add to the collection.</param><param name="size">The size as an <see cref="T:System.Int32" />.</param><summary>Adds a <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> to the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />, given the specified parameter name, <see cref="T:System.Data.SqlDbType" /> and size.</summary><returns>A new <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> object.</returns><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.Add(System.String,System.Data.SqlDbType,System.Int32,System.String)">
- <param name="parameterName">The name of the parameter.</param><param name="sqlDbType">One of the <see cref="T:System.Data.SqlDbType" /> values.</param><param name="size">The column length.</param><param name="sourceColumn">The name of the source column (<see cref="P:Microsoft.Data.SqlClient.SqlParameter.SourceColumn" />) if this <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> is used in a call to <see cref="o:System.Data.Common.DbDataAdapter.Update" />.</param><summary>Adds a <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> to the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> with the parameter name, the data type, and the column length.</summary><returns>A new <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> object.</returns><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.AddRange(Microsoft.Data.SqlClient.SqlParameter[])">
- <param name="values">The <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> values to add.</param><summary>Adds an array of <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> values to the end of the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.Contains(System.String)">
- <param name="value">The <see cref="T:System.String" /> value.</param><summary>Determines whether the specified parameter name is in this <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</summary><returns>
- <see langword="true" /> if the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> contains the value; otherwise, <see langword="false" />.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.Contains(Microsoft.Data.SqlClient.SqlParameter)">
- <param name="value">The <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> value.</param><summary>Determines whether the specified <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> is in this <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</summary><returns>
- <see langword="true" /> if the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> contains the value; otherwise, <see langword="false" />.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.CopyTo(Microsoft.Data.SqlClient.SqlParameter[],System.Int32)">
- <param name="array">The <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> that is the destination of the elements copied from the current <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</param><param name="index">A 32-bit integer that represents the index in the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> at which copying starts.</param><summary>Copies all the elements of the current <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> to the specified <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> starting at the specified destination index.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.IndexOf(Microsoft.Data.SqlClient.SqlParameter)">
- <param name="value">The <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> to find.</param><summary>Gets the location of the specified <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> within the collection.</summary><returns>The zero-based location of the specified <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> that is a <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> within the collection. Returns -1 when the object does not exist in the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.Insert(System.Int32,Microsoft.Data.SqlClient.SqlParameter)">
- <param name="index">The zero-based index at which value should be inserted.</param><param name="value">A <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> object to be inserted in the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</param><summary>Inserts a <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> object into the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> at the specified index.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.Remove(Microsoft.Data.SqlClient.SqlParameter)">
- <param name="value">A <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> object to remove from the collection.</param><summary>Removes the specified <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> from the collection.</summary><remarks>
- <format type="text/markdown"><]
- ]]></format>
- </remarks><exception cref="T:System.InvalidCastException">The parameter is not a <see cref="T:Microsoft.Data.SqlClient.SqlParameter" />.</exception><exception cref="T:System.SystemException">The parameter does not exist in the collection.</exception>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameterCollection.Count">
- <summary>Returns an Integer that contains the number of elements in the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />. Read-only.</summary><value>The number of elements in the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> as an Integer.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameterCollection.IsFixedSize">
- <summary>Gets a value that indicates whether the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> has a fixed size.</summary><value>
- <see langword="true" /> if the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> has a fixed size; otherwise, <see langword="false" />.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameterCollection.IsReadOnly">
- <summary>Gets a value that indicates whether the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> is read-only.</summary><value>
- <see langword="true" /> if the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> is read-only; otherwise, <see langword="false" />.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameterCollection.IsSynchronized">
- <summary>Gets a value that indicates whether the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> is synchronized.</summary><value>
- <see langword="true" /> if the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> is synchronized; otherwise, <see langword="false" />.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlParameterCollection.SyncRoot">
- <summary>Gets an object that can be used to synchronize access to the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</summary><value>An object that can be used to synchronize access to the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</value><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.Add(System.Object)">
- <param name="value">An <see cref="T:System.Object" />.</param><summary>Adds the specified <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> object to the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</summary><returns>The index of the new <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> object.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.AddRange(System.Array)">
- <param name="values">The <see cref="T:System.Array" /> values to add.</param><summary>Adds an array of values to the end of the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.Clear">
- <summary>Removes all the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> objects from the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.Contains(System.Object)">
- <param name="value">The <see cref="T:System.Object" /> value.</param><summary>Determines whether the specified <see cref="T:System.Object" /> is in this <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</summary><returns>
- <see langword="true" /> if the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> contains the value; otherwise, <see langword="false" />.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.CopyTo(System.Array,System.Int32)">
- <param name="array">The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements copied from the current <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</param><param name="index">A 32-bit integer that represents the index in the <see cref="T:System.Array" /> at which copying starts.</param><summary>Copies all the elements of the current <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> to the specified one-dimensional <see cref="T:System.Array" /> starting at the specified destination <see cref="T:System.Array" /> index.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.GetEnumerator">
- <summary>Returns an enumerator that iterates through the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</summary><returns>An <see cref="T:System.Collections.IEnumerator" /> for the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.GetParameter(System.Int32)">
- <param name="index">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.GetParameter(System.String)">
- <param name="parameterName">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.IndexOf(System.String)">
- <param name="parameterName">The case-sensitive name of the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> to find.</param><summary>Gets the location of the specified <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> with the specified name.</summary><returns>The zero-based location of the specified <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> with the specified case-sensitive name. Returns -1 when the object does not exist in the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.IndexOf(System.Object)">
- <param name="value">The <see cref="T:System.Object" /> to find.</param><summary>Gets the location of the specified <see cref="T:System.Object" /> within the collection.</summary><returns>The zero-based location of the specified <see cref="T:System.Object" /> that is a <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> within the collection. Returns -1 when the object does not exist in the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</returns><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.Insert(System.Int32,System.Object)">
- <param name="index">The zero-based index at which value should be inserted.</param><param name="value">An <see cref="T:System.Object" /> to be inserted in the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</param><summary>Inserts an <see cref="T:System.Object" /> into the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> at the specified index.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.Remove(System.Object)">
- <param name="value">The object to remove from the collection.</param><summary>Removes the specified <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> from the collection.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.RemoveAt(System.Int32)">
- <param name="index">The zero-based index of the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> object to remove.</param><summary>Removes the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> from the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> at the specified index.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.RemoveAt(System.String)">
- <param name="parameterName">The name of the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> to remove.</param><summary>Removes the <see cref="T:Microsoft.Data.SqlClient.SqlParameter" /> from the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> at the specified parameter name.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.SetParameter(System.Int32,System.Data.Common.DbParameter)">
- <param name="index">To be added.</param><param name="value">To be added.</param><summary>To be added.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlParameterCollection.SetParameter(System.String,System.Data.Common.DbParameter)">
- <param name="parameterName">To be added.</param><param name="value">To be added.</param><summary>To be added.</summary><remarks>To be added.</remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlQueryMetadataCache">
- <summary>
- <para> Implements a cache of query paramater metadata that is used to avoid the extra roundtrip to the server for every execution of the same query.</para>
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlQueryMetadataCache.GetQueryMetadataIfExists(Microsoft.Data.SqlClient.SqlCommand)">
- <summary>
- <para> Retrieves the query metadata for a specific query from the cache.</para>
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlQueryMetadataCache.AddQueryMetadata(Microsoft.Data.SqlClient.SqlCommand,System.Boolean)">
- <summary>
- <para> Add the metadata for a specific query to the cache.</para>
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlQueryMetadataCache.InvalidateCacheEntry(Microsoft.Data.SqlClient.SqlCommand)">
- <summary>
- <para> Remove the metadata for a specific query from the cache.</para>
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlQueryMetadataCache.IncrementCacheHits">
- <summary>
- Increments the counter for the cache hits in the query metadata cache.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlQueryMetadataCache.IncrementCacheMisses">
- <summary>
- Increments the counter for the cache misses in the query metadata cache.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlQueryMetadataCache.ResetCacheCounts">
- <summary>
- Resets the counters for the cache hits and misses in the query metadata cache.
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlRowUpdatedEventArgs">
- <summary>Provides data for the <see cref="E:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdated" /> event.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdated> event is raised when an <xref:System.Data.Common.DbDataAdapter.Update%2A> to a row is completed.
-
- When using <xref:System.Data.Common.DbDataAdapter.Update%2A>, there are two events that occur for each data row updated. The order of execution is as follows:
-
- 1. The values in the <xref:System.Data.DataRow> are moved to the parameter values.
-
- 2. The <xref:System.Data.Common.DbDataAdapter.OnRowUpdating%2A> event is raised.
-
- 3. The command executes.
-
- 4. If the command is set to `FirstReturnedRecord`, and the first returned result is placed in the <xref:System.Data.DataRow>.
-
- 5. If there are output parameters, they are placed in the <xref:System.Data.DataRow>.
-
- 6. The <xref:System.Data.Common.DbDataAdapter.OnRowUpdated%2A> event is raised.
-
- 7. <xref:System.Data.DataRow.AcceptChanges%2A> is called.
-
-
-
- ## Examples
- The following example shows how to use both the <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdating> and <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdated> events.
-
- The <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdating> event returns this output:
-
- Event Arguments: (command=Microsoft.Data.SqlClient.SqlCommand commandType=2 status=0)
-
- The <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdated> event returns this output:
-
- Event Arguments: (command=Microsoft.Data.SqlClient.SqlCommand commandType=2 recordsAffected=1 row=System.Data.DataRow[37] status=0)
-
- [!code-csharp[SqlDataAdapter_RowUpdated Example#1](~/../sqlclient/doc/samples/SqlDataAdapter_RowUpdated.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlRowUpdatedEventArgs.#ctor(System.Data.DataRow,System.Data.IDbCommand,System.Data.StatementType,System.Data.Common.DataTableMapping)">
- <param name="row">The <see cref="T:System.Data.DataRow" /> sent through an <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />.</param><param name="command">The <see cref="T:System.Data.IDbCommand" /> executed when <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> is called.</param><param name="statementType">One of the <see cref="T:System.Data.StatementType" /> values that specifies the type of query executed.</param><param name="tableMapping">The <see cref="T:System.Data.Common.DataTableMapping" /> sent through an <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlRowUpdatedEventArgs" /> class.</summary><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlRowUpdatedEventArgs.Command">
- <summary>Gets or sets the <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> executed when <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> is called.</summary><value>The <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> executed when <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> is called.</value><remarks>To be added.</remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlRowUpdatedEventHandler">
- <param name="sender">The source of the event.</param><param name="e">The <see cref="T:Microsoft.Data.SqlClient.SqlRowUpdatedEventArgs" /> that contains the event data.</param><summary>Represents the method that will handle the <see cref="E:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdated" /> event of a <see cref="T:Microsoft.Data.SqlClient.SqlDataAdapter" />.</summary><remarks>
- <format type="text/markdown"><.
-
- ]]></format>
- </remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlRowUpdatingEventArgs">
- <summary>Provides data for the <see cref="E:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdating" /> event.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdating> event is raised before an <xref:System.Data.Common.DbDataAdapter.Update%2A> to a row.
-
- When you are using <xref:System.Data.Common.DbDataAdapter.Update%2A>, there are two events that occur for each data row updated. The order of execution is as follows:
-
- 1. The values in the <xref:System.Data.DataRow> are moved to the parameter values.
-
- 2. The <xref:System.Data.Common.DbDataAdapter.OnRowUpdating%2A> event is raised.
-
- 3. The command executes.
-
- 4. If the command is set to `FirstReturnedRecord`, and the first returned result is placed in the <xref:System.Data.DataRow>.
-
- 5. If there are output parameters, they are placed in the <xref:System.Data.DataRow>.
-
- 6. The <xref:System.Data.Common.DbDataAdapter.OnRowUpdated%2A> event is raised.
-
- 7. <xref:System.Data.DataRow.AcceptChanges%2A> is called.
-
-
-
- ## Examples
- The following example shows how to use both the <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdating> and <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdated> events.
-
- The <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdating> event returns this output:
-
- event args: (command=Microsoft.Data.SqlClient.SQLCommand commandType=2 status=0)
-
- The <xref:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdated> event returns this output:
-
- event args: (command=Microsoft.Data.SqlClient.SQLCommand commandType=2 recordsAffected=1 row=System.Data.DataRow[37] status=0)
-
- [!code-csharp[SqlRowUpdatingEventArgs Example#1](~/../sqlclient/doc/samples/SqlRowUpdatingEventArgs.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlRowUpdatingEventArgs.#ctor(System.Data.DataRow,System.Data.IDbCommand,System.Data.StatementType,System.Data.Common.DataTableMapping)">
- <param name="row">The <see cref="T:System.Data.DataRow" /> to <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />.</param><param name="command">The <see cref="T:System.Data.IDbCommand" /> to execute during <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />.</param><param name="statementType">One of the <see cref="T:System.Data.StatementType" /> values that specifies the type of query executed.</param><param name="tableMapping">The <see cref="T:System.Data.Common.DataTableMapping" /> sent through an <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.SqlRowUpdatingEventArgs" /> class.</summary><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlRowUpdatingEventArgs.Command">
- <summary>Gets or sets the <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> to execute when performing the <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />.</summary><value>The <see cref="T:Microsoft.Data.SqlClient.SqlCommand" /> to execute when performing the <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlRowUpdatingEventArgs.BaseCommand">
- <summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlRowUpdatingEventHandler">
- <param name="sender">The source of the event.</param><param name="e">The <see cref="T:Microsoft.Data.SqlClient.SqlRowUpdatingEventArgs" /> that contains the event data.</param><summary>Represents the method that will handle the <see cref="E:Microsoft.Data.SqlClient.SqlDataAdapter.RowUpdating" /> event of a <see cref="T:Microsoft.Data.SqlClient.SqlDataAdapter" />.</summary><remarks>
- <format type="text/markdown"><.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSecurityUtility.GetHMACWithSHA256(System.Byte[],System.Byte[],System.Byte[])">
- <summary>
- Computes a keyed hash of a given text and returns. It fills the buffer "hash" with computed hash value.
- </summary>
- <param name="plainText">Plain text bytes whose hash has to be computed.</param>
- <param name="key">key used for the HMAC</param>
- <param name="hash">Output buffer where the computed hash value is stored. If its less that 64 bytes, the hash is truncated</param>
- <returns>HMAC value</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSecurityUtility.GetSHA256Hash(System.Byte[])">
- <summary>
- Computes SHA256 hash of a given input
- </summary>
- <param name="input">input byte array which needs to be hashed</param>
- <returns>Returns SHA256 hash in a string form</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSecurityUtility.GenerateRandomBytes(System.Byte[])">
- <summary>
- Generates cryptographicall random bytes
- </summary>
- <param name="randomBytes">No of cryptographically random bytes to be generated</param>
- <returns>A byte array containing cryptographically generated random bytes</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSecurityUtility.CompareBytes(System.Byte[],System.Byte[],System.Int32,System.Int32)">
- <summary>
- Compares two byte arrays and returns true if all bytes are equal
- </summary>
- <param name="buffer1">input buffer</param>
- <param name="buffer2">another buffer to be compared against</param>
- <param name="buffer2Index"></param>
- <param name="lengthToCompare"></param>
- <returns>returns true if both the arrays have the same byte values else returns false</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSecurityUtility.GetHexString(System.Byte[])">
- <summary>
- Gets hex representation of byte array.
- <param name="input">input byte array</param>
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSecurityUtility.GetCurrentFunctionName">
- <summary>
- Returns the caller's function name in the format of [ClassName].[FunctionName]
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSecurityUtility.ValidateAndGetEncryptionAlgorithmName(System.Byte,System.String)">
- <summary>
- Return the algorithm name mapped to an Id.
- </summary>
- <param name="cipherAlgorithmId"></param>
- <param name="cipherAlgorithmName"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSecurityUtility.GetRegisteredCipherAlgorithmIds">
- <summary>
- Retrieves a string with comma separated list of registered algorithm Ids (enclosed in quotes).
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSecurityUtility.EncryptWithKey(System.Byte[],Microsoft.Data.SqlClient.SqlCipherMetadata,System.String)">
- <summary>
- Encrypts the plaintext.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSecurityUtility.GetBytesAsString(System.Byte[],System.Boolean,System.Int32)">
- <summary>
- Gets a string with first/last 10 bytes in the buff (useful for exception handling).
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSecurityUtility.DecryptWithKey(System.Byte[],Microsoft.Data.SqlClient.SqlCipherMetadata,System.String)">
- <summary>
- Decrypts the ciphertext.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSecurityUtility.DecryptSymmetricKey(Microsoft.Data.SqlClient.SqlCipherMetadata,System.String)">
- <summary>
- <para> Decrypts the symmetric key and saves it in metadata. In addition, intializes
- the SqlClientEncryptionAlgorithm for rapid decryption.</para>
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSecurityUtility.DecryptSymmetricKey(System.Nullable{Microsoft.Data.SqlClient.SqlTceCipherInfoEntry},System.String,Microsoft.Data.SqlClient.SqlClientSymmetricKey@,System.Nullable{Microsoft.Data.SqlClient.SqlEncryptionKeyInfo}@)">
- <summary>
- Decrypts the symmetric key and saves it in metadata.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSecurityUtility.GetBase64LengthFromByteLength(System.Int32)">
- <summary>
- Calculates the length of the Base64 string used to represent a byte[] with the specified length.
- </summary>
- <param name="byteLength"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSecurityUtility.VerifyColumnMasterKeySignature(System.String,System.String,System.String,System.Boolean,System.Byte[])">
- <summary>
- Verifies Column Master Key Signature.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSequentialStream.SetClosed">
- <summary>
- Forces the stream to act as if it was closed (i.e. CanRead=false and Read() throws)
- This does not actually close the stream, read off the rest of the data or dispose this
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSequentialStream.ValidateReadParameters(System.Byte[],System.Int32,System.Int32)">
- <summary>
- Checks the the parameters passed into a Read() method are valid
- </summary>
- <param name="buffer"></param>
- <param name="offset"></param>
- <param name="count"></param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSequentialStreamSmi.SetClosed">
- <summary>
- Forces the stream to act as if it was closed (i.e. CanRead=false and Read() throws)
- This does not actually close the stream, read off the rest of the data or dispose this
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSequentialTextReader.SetClosed">
- <summary>
- Forces the TextReader to act as if it was closed
- This does not actually close the stream, read off the rest of the data or dispose this
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSequentialTextReader.InternalRead(System.Char[],System.Int32,System.Int32)">
- <summary>
- Performs the actual reading and converting
- NOTE: This assumes that buffer, index and count are all valid, we're not closed (!IsClosed) and that there is data left (IsDataLeft())
- </summary>
- <param name="buffer"></param>
- <param name="index"></param>
- <param name="count"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSequentialTextReader.PrepareByteBuffer(System.Int32,System.Int32@)">
- <summary>
- Creates a byte array large enough to store all bytes for the characters in the current encoding, then fills it with any leftover bytes
- </summary>
- <param name="numberOfChars">Number of characters that are to be read</param>
- <param name="byteBufferUsed">Number of bytes pre-filled by the leftover bytes</param>
- <returns>A byte array of the correct size, pre-filled with leftover bytes</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSequentialTextReader.DecodeBytesToChars(System.Byte[],System.Int32,System.Char[],System.Int32,System.Int32)">
- <summary>
- Decodes the given bytes into characters, and stores the leftover bytes for later use
- </summary>
- <param name="inBuffer">Buffer of bytes to decode</param>
- <param name="inBufferCount">Number of bytes to decode from the inBuffer</param>
- <param name="outBuffer">Buffer to write the characters to</param>
- <param name="outBufferOffset">Offset to start writing to outBuffer at</param>
- <param name="outBufferCount">Maximum number of characters to decode</param>
- <returns>The actual number of characters decoded</returns>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlSequentialTextReader.IsClosed">
- <summary>
- True if this TextReader is supposed to be closed
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlSequentialTextReader.IsDataLeft">
- <summary>
- True if there is data left to read
- </summary>
- <returns></returns>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlSequentialTextReader.HasPeekedChar">
- <summary>
- True if there is a peeked character available
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSequentialTextReader.ValidateReadParameters(System.Char[],System.Int32,System.Int32)">
- <summary>
- Checks the the parameters passed into a Read() method are valid
- </summary>
- <param name="buffer"></param>
- <param name="index"></param>
- <param name="count"></param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSequentialTextReaderSmi.SetClosed">
- <summary>
- Forces the TextReader to act as if it was closed
- This does not actually close the stream, read off the rest of the data or dispose this
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlSequentialTextReaderSmi.IsClosed">
- <summary>
- True if this TextReader is supposed to be closed
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlSequentialTextReaderSmi.HasPeekedChar">
- <summary>
- True if there is a peeked character available
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlSymmetricKeyCache">
- <summary>
- <para> Implements a cache of Symmetric Keys (once they are decrypted).Useful for rapidly decrypting multiple data values.</para>
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlSymmetricKeyCache.GetKey(Microsoft.Data.SqlClient.SqlEncryptionKeyInfo,System.String,Microsoft.Data.SqlClient.SqlClientSymmetricKey@)">
- <summary>
- <para> Retrieves Symmetric Key (in plaintext) given the encryption material.</para>
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlTransaction">
- <summary>Represents a Transact-SQL transaction to be made in a SQL Server database. This class cannot be inherited.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The application creates a <xref:Microsoft.Data.SqlClient.SqlTransaction> object by calling <xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A> on the <xref:Microsoft.Data.SqlClient.SqlConnection> object. All subsequent operations associated with the transaction (for example, committing or aborting the transaction), are performed on the <xref:Microsoft.Data.SqlClient.SqlTransaction> object.
-
- > [!NOTE]
- > `Try`/`Catch` exception handling should always be used when committing or rolling back a <xref:Microsoft.Data.SqlClient.SqlTransaction>. Both <xref:Microsoft.Data.SqlClient.SqlTransaction.Commit%2A> and <xref:Microsoft.Data.SqlClient.SqlTransaction.Rollback%2A> generate an <xref:System.InvalidOperationException> if the connection is terminated or if the transaction has already been rolled back on the server.
-
- For more information on SQL Server transactions, see [Explicit Transactions](https://msdn.microsoft.com/library/ms175127\(SQL.105\).aspx) and [Coding Efficient Transactions](https://msdn.microsoft.com/library/ms187484\(SQL.105\).aspx).
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> and a <xref:Microsoft.Data.SqlClient.SqlTransaction>. It also demonstrates how to use the <xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A>, <xref:Microsoft.Data.SqlClient.SqlTransaction.Commit%2A>, and <xref:Microsoft.Data.SqlClient.SqlTransaction.Rollback%2A> methods. The transaction is rolled back on any error, or if it is disposed without first being committed. `Try`/`Catch` error handling is used to handle any errors when attempting to commit or roll back the transaction.
-
- [!code-csharp[SqlConnection_BeginTransaction Example#1](~/../sqlclient/doc/samples/SqlConnection_BeginTransaction.cs#1)]
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlTransaction.Connection">
- <summary>Gets the <see cref="T:Microsoft.Data.SqlClient.SqlConnection" /> object associated with the transaction, or <see langword="null" /> if the transaction is no longer valid.</summary><value>The <see cref="T:Microsoft.Data.SqlClient.SqlConnection" /> object associated with the transaction.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- A single application may have multiple database connections, each with zero or more transactions. This property lets you determine the connection object associated with a particular transaction created by <xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A>.
-
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlTransaction.DbConnection">
- <summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlTransaction.IsolationLevel">
- <summary>Specifies the <see cref="T:System.Data.IsolationLevel" /> for this transaction.</summary><value>The <see cref="T:System.Data.IsolationLevel" /> for this transaction. The default is <see langword="ReadCommitted" />.</value><remarks>
- <format type="text/markdown"><.
-
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlTransaction.Commit">
- <summary>Commits the database transaction.</summary><remarks>
- <format type="text/markdown"><.
-
- > [!NOTE]
- > `Try`/`Catch` exception handling should always be used when committing or rolling back a <xref:Microsoft.Data.SqlClient.SqlTransaction>. Both `Commit` and <xref:Microsoft.Data.SqlClient.SqlTransaction.Rollback%2A> generates an <xref:System.InvalidOperationException> if the connection is terminated or if the transaction has already been rolled back on the server.
-
- For more information on SQL Server transactions, see [Transactions (Transact-SQL)](/sql/t-sql/language-elements/transactions-transact-sql).
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> and a <xref:Microsoft.Data.SqlClient.SqlTransaction>. It also demonstrates how to use the <xref:Microsoft.Data.SqlClient.SqlTransaction.Commit%2A>, <xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A>, and <xref:Microsoft.Data.SqlClient.SqlTransaction.Rollback%2A> methods. The transaction is rolled back on any error. `Try`/`Catch` error handling is used to handle any errors when attempting to commit or roll back the transaction.
-
- [!code-csharp[SqlConnection_BeginTransaction Example#1](~/../sqlclient/doc/samples/SqlConnection_BeginTransaction.cs#1)]
-
- ]]></format>
- </remarks><exception cref="T:System.Exception">An error occurred while trying to commit the transaction.</exception><exception cref="T:System.InvalidOperationException">The transaction has already been committed or rolled back.
-
- -or-
-
- The connection is broken.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlTransaction.Dispose(System.Boolean)">
- <param name="disposing"><see langword="true" /> to release managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param><summary>Releases the unmanaged resources used and optionally releases the managed resources.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This method calls <xref:System.Data.Common.DbTransaction.Dispose%2A>.
- ]]></format>
- </remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlTransaction.Rollback">
- <summary>Rolls back a transaction from a pending state.</summary><remarks>
- <format type="text/markdown"><.
-
- The transaction can only be rolled back from a pending state (after <xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A> has been called, but before <xref:Microsoft.Data.SqlClient.SqlTransaction.Commit%2A> is called). The transaction is rolled back in the event it is disposed before `Commit` or `Rollback` is called.
-
- > [!NOTE]
- > `Try`/`Catch` exception handling should always be used when rolling back a transaction. A `Rollback` generates an <xref:System.InvalidOperationException> if the connection is terminated or if the transaction has already been rolled back on the server.
-
- For more information on SQL Server transactions, see [Transactions (Transact-SQL)](/sql/t-sql/language-elements/transactions-transact-sql).
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> and a <xref:Microsoft.Data.SqlClient.SqlTransaction>. It also demonstrates how to use the <xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A>, <xref:Microsoft.Data.SqlClient.SqlTransaction.Commit%2A>, and <xref:Microsoft.Data.SqlClient.SqlTransaction.Rollback%2A> methods. The transaction is rolled back on any error. `Try`/`Catch` error handling is used to handle any errors when attempting to commit or roll back the transaction.
-
- [!code-csharp[SqlConnection_BeginTransaction Example#1](~/../sqlclient/doc/samples/SqlConnection_BeginTransaction.cs#1)]
-
- ]]></format>
- </remarks><exception cref="T:System.Exception">An error occurred while trying to commit the transaction.</exception><exception cref="T:System.InvalidOperationException">The transaction has already been committed or rolled back.
-
- -or-
-
- The connection is broken.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlTransaction.Rollback(System.String)">
- <param name="transactionName">The name of the transaction to roll back, or the savepoint to which to roll back.</param><summary>Rolls back a transaction from a pending state, and specifies the transaction or savepoint name.</summary><remarks>
- <format type="text/markdown"><.
-
- The transaction can only be rolled back from a pending state (after <xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A> has been called, but before <xref:Microsoft.Data.SqlClient.SqlTransaction.Commit%2A> is called). The transaction is rolled back if it is disposed before `Commit` or `Rollback` is called.
-
- > [!NOTE]
- > `Try`/`Catch` exception handling should always be used when rolling back a transaction. A `Rollback` generates an <xref:System.InvalidOperationException> if the connection is terminated or if the transaction has already been rolled back on the server.
-
- For more information on SQL Server transactions, see [Transactions (Transact-SQL)](/sql/t-sql/language-elements/transactions-transact-sql).
-
-
-
- ## Examples
- The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> and a <xref:Microsoft.Data.SqlClient.SqlTransaction>. It also demonstrates how to use the <xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A>, <xref:Microsoft.Data.SqlClient.SqlTransaction.Commit%2A>, and <xref:Microsoft.Data.SqlClient.SqlTransaction.Rollback%2A> methods. The transaction is rolled back on any error. `Try`/`Catch` error handling is used to handle any errors when attempting to commit or roll back the transaction.
-
- [!code-csharp[SqlConnection_BeginTransaction2 Example#1](~/../sqlclient/doc/samples/SqlConnection_BeginTransaction2.cs#1)]
-
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">No transaction name was specified.</exception><exception cref="T:System.InvalidOperationException">The transaction has already been committed or rolled back.
-
- -or-
-
- The connection is broken.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlTransaction.Save(System.String)">
- <param name="savePointName">The name of the savepoint.</param><summary>Creates a savepoint in the transaction that can be used to roll back a part of the transaction, and specifies the savepoint name.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- <xref:Microsoft.Data.SqlClient.SqlTransaction.Save%2A> method is equivalent to the Transact-SQL SAVE TRANSACTION statement.
-
- The value used in the `savePoint` parameter can be the same value used in the `transactionName` parameter of some implementations of the <xref:Microsoft.Data.SqlClient.SqlConnection.BeginTransaction%2A> method.
-
- Savepoints offer a mechanism to roll back parts of transactions. You create a savepoint using the <xref:Microsoft.Data.SqlClient.SqlTransaction.Save%2A> method, and then later call the <xref:Microsoft.Data.SqlClient.SqlTransaction.Rollback%2A> method to roll back to the savepoint instead of rolling back to the start of the transaction.
-
- ]]></format>
- </remarks><exception cref="T:System.Exception">An error occurred while trying to commit the transaction.</exception><exception cref="T:System.InvalidOperationException">The transaction has already been committed or rolled back.
-
- -or-
-
- The connection is broken.</exception>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SQL.MultiSubnetFailoverWithFailoverPartner(System.Boolean,Microsoft.Data.SqlClient.SqlInternalConnectionTds)">
- <summary>
- used to block two scenarios if MultiSubnetFailover is true:
- * server-provided failover partner - raising SqlException in this case
- * connection string with failover partner and MultiSubnetFailover=true - rasing argument one in this case with the same message
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SQL.GetSNIErrorMessage(System.Int32)">
- <summary>
- gets a message for SNI error (sniError must be valid, non-zero error code)
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlServerEscapeHelper">
- <summary>
- This class holds helper methods to escape Microsoft SQL Server identifiers, such as table, schema, database or other names
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlServerEscapeHelper.EscapeIdentifier(System.String)">
- <summary>
- Escapes the identifier with square brackets. The input has to be in unescaped form, like the parts received from MultipartIdentifier.ParseMultipartIdentifier.
- </summary>
- <param name="name">name of the identifier, in unescaped form</param>
- <returns>escapes the name with [], also escapes the last close bracket with double-bracket</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlServerEscapeHelper.EscapeIdentifier(System.Text.StringBuilder,System.String)">
- <summary>
- Same as above EscapeIdentifier, except that output is written into StringBuilder
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlServerEscapeHelper.EscapeStringAsLiteral(System.String)">
- <summary>
- Escape a string to be used inside TSQL literal, such as N'somename' or 'somename'
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlServerEscapeHelper.MakeStringLiteral(System.String)">
- <summary>
- Escape a string as a TSQL literal, wrapping it around with single quotes.
- Use this method to escape input strings to prevent SQL injection
- and to get correct behavior for embedded quotes.
- </summary>
- <param name="input">unescaped string</param>
- <returns>escaped and quoted literal string</returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SysTxForGlobalTransactions">
- <summary>
- This class holds methods invoked on System.Transactions through reflection for Global Transactions
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SysTxForGlobalTransactions.EnlistPromotableSinglePhase">
- <summary>
- Enlists the given IPromotableSinglePhaseNotification and Non-MSDTC Promoter type into a transaction
- </summary>
- <returns>The MethodInfo instance to be invoked. Null if the method doesn't exist</returns>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SysTxForGlobalTransactions.SetDistributedTransactionIdentifier">
- <summary>
- Sets the given DistributedTransactionIdentifier for a Transaction instance.
- Needs to be invoked when using a Non-MSDTC Promoter type
- </summary>
- <returns>The MethodInfo instance to be invoked. Null if the method doesn't exist</returns>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SysTxForGlobalTransactions.GetPromotedToken">
- <summary>
- Gets the Promoted Token for a Transaction
- </summary>
- <returns>The MethodInfo instance to be invoked. Null if the method doesn't exist</returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.TdsEnums">
- <devdoc> Class of variables for the Tds connection.
- </devdoc>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlConnectionColumnEncryptionSetting">
- <summary>Note that these settings cannot be used to bypass encryption and gain access to plaintext data. For details, see <see href="https://docs.microsoft.com/sql/relational-databases/security/encryption/always-encrypted-database-engine">Always Encrypted (Database Engine)</see>.</summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlConnectionColumnEncryptionSetting.Disabled">
- <summary>Specifies the connection does not use Always Encrypted. Should be used if no queries sent over the connection access encrypted columns.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlConnectionColumnEncryptionSetting.Enabled">
- <summary>Enables Always Encrypted functionality for the connection. Query parameters that correspond to encrypted columns will be transparently encrypted and query results from encrypted columns will be transparently decrypted.</summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlCommandColumnEncryptionSetting">
- <summary>Note that these settings cannot be used to bypass encryption and gain access to plaintext data. For details, see <see href="https://docs.microsoft.com/sql/relational-databases/security/encryption/always-encrypted-database-engine">Always Encrypted (Database Engine)</see>.
- </summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- - If Always Encrypted is disabled for a query and the query has parameters that need to be encrypted (parameters that correspond to encrypted columns), the query will fail.
- - If Always Encrypted is disabled for a query and the query returns results from encrypted columns, the query will return encrypted values. The encrypted values will have the varbinary datatype.
- ]]></format>
- </remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlCommandColumnEncryptionSetting.UseConnectionSetting">
- <summary>Specifies that the command should default to the Always Encrypted setting in the connection string.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlCommandColumnEncryptionSetting.Enabled">
- <summary>Enables Always Encrypted for the query.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlCommandColumnEncryptionSetting.ResultSetOnly">
- <summary>Specifies that only the results of the command should be processed by the Always Encrypted routine in the driver. Use this value when the command has no parameters that require encryption.</summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlCommandColumnEncryptionSetting.Disabled">
- <summary>Specifies the connection does not use Always Encrypted. Should be used if no queries sent over the connection access encrypted columns.</summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlConnectionAttestationProtocol">
- <summary>
- Specifies a value for Attestation Protocol.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlConnectionAttestationProtocol.NotSpecified">
- <summary>If the attestation protocol is not specified. Use this as default value.</summary><value>0</value>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlConnectionAttestationProtocol.AAS">
- <summary>Attestation portocol for Azure Attestation Service</summary><value>1</value>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlConnectionAttestationProtocol.HGS">
- <summary>Attestation protocol for Host Guardian Service</summary><value>3</value>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlAuthenticationMethod">
- <summary>Describes the different SQL authentication methods that can be used by a client connecting to Azure SQL Database. For details, see <see href="https://docs.microsoft.com/azure/sql-database/sql-database-aad-authentication">Connecting to SQL Database By Using Azure Active Directory Authentication</see>.
- </summary><remarks>To be added.</remarks>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAuthenticationMethod.NotSpecified">
- <summary>The authentication method is not specified.</summary><value>0</value>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAuthenticationMethod.SqlPassword">
- <summary>The authentication method is Sql Password.</summary><value>1</value>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAuthenticationMethod.ActiveDirectoryPassword">
- <summary>The authentication method uses Active Directory Password. Use Active Directory Password to connect to a SQL Database using an Azure AD principal name and password.</summary><value>2</value>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAuthenticationMethod.ActiveDirectoryIntegrated">
- <summary>The authentication method uses Active Directory Integrated. Use Active Directory Integrated to connect to a SQL Database using integrated Windows authentication. Available for .NET Framework applications only.</summary><value>3</value>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlAuthenticationMethod.ActiveDirectoryInteractive">
- <summary>The authentication method uses Active Directory Interactive. Available since the .NET Framework 4.7.2 and for .NET Framework applications only.</summary><value>4</value>
- </member>
- <member name="P:Microsoft.Data.SqlClient.TdsParser.IsColumnEncryptionSupported">
- <summary>
- Get or set if column encryption is supported by the server.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.TdsParser.TceVersionSupported">
- <summary>
- TCE version supported by the server
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.TdsParser.EnclaveType">
- <summary>
- Type of enclave being used by the server
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.TdsParser.IsDataClassificationEnabled">
- <summary>
- Get if data classification is enabled by the server.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.TdsParser.DataClassificationVersion">
- <summary>
- Get or set data classification version. A value of 0 means that sensitivity classification is not enabled.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParser.IsValidTdsToken(System.Byte)">
- <summary>
- Checks if the given token is a valid TDS token
- </summary>
- <param name="token">Token to check</param>
- <returns>True if the token is a valid TDS token, otherwise false</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParser.TryReadCipherInfoEntry(Microsoft.Data.SqlClient.TdsParserStateObject,Microsoft.Data.SqlClient.SqlTceCipherInfoEntry@)">
- <summary>
- <para> Parses the TDS message to read single CIPHER_INFO entry.</para>
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParser.TryProcessCipherInfoTable(Microsoft.Data.SqlClient.TdsParserStateObject,System.Nullable{Microsoft.Data.SqlClient.SqlTceCipherInfoTable}@)">
- <summary>
- <para> Parses the TDS message to read a single CIPHER_INFO table.</para>
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParser.ShouldHonorTceForRead(Microsoft.Data.SqlClient.SqlCommandColumnEncryptionSetting,Microsoft.Data.SqlClient.SqlInternalConnectionTds)">
- <summary>
- Determines if a column value should be transparently decrypted (based on SqlCommand and Connection String settings).
- </summary>
- <returns>true if the value should be transparently decrypted, false otherwise</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParser.TrySkipValue(Microsoft.Data.SqlClient.SqlMetaDataPriv,System.Int32,Microsoft.Data.SqlClient.TdsParserStateObject)">
- <summary>
- This method skips bytes of a single column value from the media. It supports NBCROW and handles all types of values, including PLP and long
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParser.DeserializeUnencryptedValue(Microsoft.Data.SqlClient.SqlBuffer,System.Byte[],Microsoft.Data.SqlClient.SqlMetaDataPriv,Microsoft.Data.SqlClient.TdsParserStateObject,System.Byte)">
- <summary>
- Deserializes the unencrypted bytes into a value based on the target type info.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParser.SendFedAuthToken(Microsoft.Data.SqlClient.SqlFedAuthToken)">
- <summary>
- Send the access token to the server.
- </summary>
- <param name="fedAuthToken">Type encapuslating a Federated Authentication access token.</param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParser.LoadColumnEncryptionKeys(Microsoft.Data.SqlClient._SqlMetaDataSet,System.String)">
- <summary>
- Loads the column encryptions keys into cache. This will read the master key info,
- decrypt the CEK and keep it ready for encryption.
- </summary>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParser.WriteEncryptionEntries(Microsoft.Data.SqlClient.SqlTceCipherInfoTable@,Microsoft.Data.SqlClient.TdsParserStateObject)">
- <summary>
- Writes a single entry of CEK Table into TDS Stream (for bulk copy).
- </summary>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParser.WriteCekTable(Microsoft.Data.SqlClient._SqlMetaDataSet,Microsoft.Data.SqlClient.TdsParserStateObject)">
- <summary>
- Writes a CEK Table (as part of COLMETADATA token) for bulk copy.
- </summary>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParser.WriteTceUserTypeAndTypeInfo(Microsoft.Data.SqlClient.SqlMetaDataPriv,Microsoft.Data.SqlClient.TdsParserStateObject)">
- <summary>
- Writes the UserType and TYPE_INFO values for CryptoMetadata (for bulk copy).
- </summary>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParser.WriteCryptoMetadata(Microsoft.Data.SqlClient._SqlMetaData,Microsoft.Data.SqlClient.TdsParserStateObject)">
- <summary>
- Writes the crypto metadata (as part of COLMETADATA token) for encrypted columns.
- </summary>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParser.ShouldEncryptValuesForBulkCopy">
- <summary>
- Determines if a column value should be encrypted when using BulkCopy (based on connectionstring setting).
- </summary>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParser.EncryptColumnValue(System.Object,Microsoft.Data.SqlClient.SqlMetaDataPriv,System.String,Microsoft.Data.SqlClient.TdsParserStateObject,System.Boolean,System.Boolean)">
- <summary>
- Encrypts a column value (for SqlBulkCopy)
- </summary>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParser.WriteEncryptionMetadata(System.Threading.Tasks.Task,Microsoft.Data.SqlClient.SqlColumnEncryptionInputParameterInfo,Microsoft.Data.SqlClient.TdsParserStateObject)">
- <summary>
- Write parameter encryption metadata and returns a task if necessary.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParser.WriteEncryptionMetadata(Microsoft.Data.SqlClient.SqlColumnEncryptionInputParameterInfo,Microsoft.Data.SqlClient.TdsParserStateObject)">
- <summary>
- Write parameter encryption metadata.
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.FederatedAuthenticationFeatureExtensionData">
- <summary>
- Struct encapsulating the data to be sent to the server as part of Federated Authentication Feature Extension.
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlEncryptionKeyInfo">
- <summary>
- <para> Represents a single encrypted value for a CEK. It contains the encrypted CEK,
- the store type, name,the key path and encryption algorithm.</para>
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlTceCipherInfoEntry">
- <summary>
- <para> Encapsulates one entry in the CipherInfo table sent as part of Colmetadata.
- The same CEK is encrypted multiple times with different master keys (for master key
- rotation scenario) We need to keep all these around until we can resolve the CEK
- using the correct master key.</para>
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlTceCipherInfoEntry._columnEncryptionKeyValues">
- <summary>
- List of Column Encryption Key Information.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlTceCipherInfoEntry._ordinal">
- <summary>
- Key Ordinal.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlTceCipherInfoEntry._databaseId">
- <summary>
- Database ID
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlTceCipherInfoEntry._cekId">
- <summary>
- Cek ID
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlTceCipherInfoEntry._cekVersion">
- <summary>
- Cek Version
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlTceCipherInfoEntry._cekMdVersion">
- <summary>
- Cek MD Version
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlTceCipherInfoEntry.Ordinal">
- <summary>
- Return the ordinal.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlTceCipherInfoEntry.DatabaseId">
- <summary>
- Return the DatabaseID.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlTceCipherInfoEntry.CekId">
- <summary>
- Return the CEK ID.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlTceCipherInfoEntry.CekVersion">
- <summary>
- Return the CEK Version.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlTceCipherInfoEntry.CekMdVersion">
- <summary>
- Return the CEK MD Version.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlTceCipherInfoEntry.ColumnEncryptionKeyValues">
- <summary>
- Return the list of Column Encryption Key Values.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlTceCipherInfoEntry.Add(System.Byte[],System.Int32,System.Int32,System.Int32,System.Byte[],System.String,System.String,System.String)">
- <summary>
- Add an entry to the list of ColumnEncryptionKeyValues.
- </summary>
- <param name="encryptedKey"></param>
- <param name="databaseId"></param>
- <param name="cekId"></param>
- <param name="cekVersion"></param>
- <param name="cekMdVersion"></param>
- <param name="keyPath"></param>
- <param name="keyStoreName"></param>
- <param name="algorithmName"></param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlTceCipherInfoEntry.#ctor(System.Int32)">
- <summary>
- Constructor.
- </summary>
- <param name="ordinal"></param>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlTceCipherInfoTable">
- <summary>
- <para> Represents a table with various CEKs used in a resultset. Each entry corresponds to one (unique) CEK. The CEK
- may have been encrypted using multiple master keys (giving us multiple CEK values). All these values form one single
- entry in this table.</para>
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlCipherMetadata">
- <summary>
- Represents Encryption related information of the cipher data.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlCipherMetadata._sqlTceCipherInfoEntry">
- <summary>
- Cipher Info Entry.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlCipherMetadata._cipherAlgorithmId">
- <summary>
- Encryption Algorithm Id.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlCipherMetadata._cipherAlgorithmName">
- <summary>
- Encryption Algorithm Name.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlCipherMetadata._encryptionType">
- <summary>
- Encryption Type.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlCipherMetadata._normalizationRuleVersion">
- <summary>
- Normalization Rule Version.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlCipherMetadata._sqlClientEncryptionAlgorithm">
- <summary>
- Encryption Algorithm Handle.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlCipherMetadata._sqlEncryptionKeyInfo">
- <summary>
- Sql Encryption Key Info.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlCipherMetadata._ordinal">
- <summary>
- Ordinal (into the Cek Table).
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCipherMetadata.EncryptionInfo">
- <summary>
- Return the Encryption Info Entry.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCipherMetadata.CipherAlgorithmId">
- <summary>
- Return the cipher's encryption algorithm id.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCipherMetadata.CipherAlgorithmName">
- <summary>
- Return the cipher's encryption algorithm name (could be null).
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCipherMetadata.EncryptionType">
- <summary>
- Return EncryptionType (Deterministic, Randomized, etc.)
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCipherMetadata.NormalizationRuleVersion">
- <summary>
- Return normalization rule version.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCipherMetadata.CipherAlgorithm">
- <summary>
- Return the cipher encyrption algorithm handle.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCipherMetadata.EncryptionKeyInfo">
- <summary>
- Return Encryption Key Info.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlCipherMetadata.CekTableOrdinal">
- <summary>
- Return Ordinal into Cek Table.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCipherMetadata.#ctor(System.Nullable{Microsoft.Data.SqlClient.SqlTceCipherInfoEntry},System.UInt16,System.Byte,System.String,System.Byte,System.Byte)">
- <summary>
- Constructor.
- </summary>
- <param name="sqlTceCipherInfoEntry"></param>
- <param name="ordinal"></param>
- <param name="cipherAlgorithmId"></param>
- <param name="cipherAlgorithmName"></param>
- <param name="encryptionType"></param>
- <param name="normalizationRuleVersion"></param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlCipherMetadata.IsAlgorithmInitialized">
- <summary>
- Do we have an handle to the cipher encryption algorithm already ?
- </summary>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlMetaDataPriv.IsAlgorithmInitialized">
- <summary>
- Is the algorithm handle for the cipher encryption initialized ?
- </summary>
- <returns></returns>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlMetaDataPriv.NormalizationRuleVersion">
- <summary>
- Returns the normalization rule version byte.
- </summary>
- <returns></returns>
- </member>
- <member name="T:Microsoft.Data.SqlClient.SqlColumnEncryptionInputParameterInfo">
- <summary>
- Class encapsulating additional information when sending encrypted input parameters.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlColumnEncryptionInputParameterInfo._smiParameterMetadata">
- <summary>
- Metadata of the parameter to write the TYPE_INFO of the unencrypted column data type.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlColumnEncryptionInputParameterInfo._cipherMetadata">
- <summary>
- Column encryption related metadata.
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlClient.SqlColumnEncryptionInputParameterInfo._serializedWireFormat">
- <summary>
- Serialized format for a subset of members.
- Does not include _smiParameterMetadata's serialization.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlColumnEncryptionInputParameterInfo.ParameterMetadata">
- <summary>
- Return the SMI Parameter Metadata.
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.SqlColumnEncryptionInputParameterInfo.SerializedWireFormat">
- <summary>
- Return the serialized format for some members.
- This is pre-calculated and cached since members are immutable.
- Does not include _smiParameterMetadata's serialization.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionInputParameterInfo.#ctor(Microsoft.Data.SqlClient.Server.SmiParameterMetaData,Microsoft.Data.SqlClient.SqlCipherMetadata)">
- <summary>
- Constructor.
- </summary>
- <param name="smiParameterMetadata"></param>
- <param name="cipherMetadata"></param>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionInputParameterInfo.SerializeToWriteFormat">
- <summary>
- Serializes some data members to wire format.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.SqlColumnEncryptionInputParameterInfo.SerializeIntIntoBuffer(System.Int32,System.Byte[],System.Int32@)">
- <summary>
- Serializes an int into the provided buffer and offset.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParserStateObject.NullBitmap.IsGuaranteedNull(System.Int32)">
- <summary>
- If this method returns true, the value is guaranteed to be null. This is not true vice versa:
- if the bitmat value is false (if this method returns false), the value can be either null or non-null - no guarantee in this case.
- To determine whether it is null or not, read it from the TDS (per NBCROW design spec, for IMAGE/TEXT/NTEXT columns server might send
- bitmap = 0, when the actual value is null).
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParserStateObject.IsConnectionAlive(System.Boolean)">
- <summary>
- Checks to see if the underlying connection is still alive (used by connection pool resilency)
- NOTE: This is not safe to do on a connection that is currently in use
- NOTE: This will mark the connection as broken if it is found to be dead
- </summary>
- <param name="throwOnException">If true then an exception will be thrown if the connection is found to be dead, otherwise no exception will be thrown</param>
- <returns>True if the connection is still alive, otherwise false</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParserStateObject.ValidateSNIConnection">
- <summary>
- Checks to see if the underlying connection is still valid (used by idle connection resiliency - for active connections)
- NOTE: This is not safe to do on a connection that is currently in use
- NOTE: This will mark the connection as broken if it is found to be dead
- </summary>
- <returns>True if the connection is still alive, otherwise false</returns>
- </member>
- <member name="P:Microsoft.Data.SqlClient.TdsParserStateObject.HasErrorOrWarning">
- <summary>
- True if there is at least one error or warning (not counting the pre-attention errors\warnings)
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParserStateObject.AddError(Microsoft.Data.SqlClient.SqlError)">
- <summary>
- Adds an error to the error collection
- </summary>
- <param name="error"></param>
- </member>
- <member name="P:Microsoft.Data.SqlClient.TdsParserStateObject.ErrorCount">
- <summary>
- Gets the number of errors currently in the error collection
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParserStateObject.AddWarning(Microsoft.Data.SqlClient.SqlError)">
- <summary>
- Adds an warning to the warning collection
- </summary>
- <param name="error"></param>
- </member>
- <member name="P:Microsoft.Data.SqlClient.TdsParserStateObject.WarningCount">
- <summary>
- Gets the number of warnings currently in the warning collection
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.TdsParserStateObject.PreAttentionErrorCount">
- <summary>
- Gets the number of errors currently in the pre-attention error collection
- </summary>
- </member>
- <member name="P:Microsoft.Data.SqlClient.TdsParserStateObject.PreAttentionWarningCount">
- <summary>
- Gets the number of errors currently in the pre-attention warning collection
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParserStateObject.GetFullErrorAndWarningCollection(System.Boolean@)">
- <summary>
- Gets the full list of errors and warnings (including the pre-attention ones), then wipes all error and warning lists
- </summary>
- <param name="broken">If true, the connection should be broken</param>
- <returns>An array containing all of the errors and warnings</returns>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParserStateObject.StoreErrorAndWarningForAttention">
- <summary>
- Stores away current errors and warnings so that an attention can be processed
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParserStateObject.RestoreErrorAndWarningAfterAttention">
- <summary>
- Restores errors and warnings that were stored in order to process an attention
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParserStateObject.CheckThrowSNIException">
- <summary>
- Checks if an error is stored in _error and, if so, throws an error
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlClient.TdsParserStateObject.AssertStateIsClean">
- <summary>
- Debug Only: Ensures that the TdsParserStateObject has no lingering state and can safely be re-used
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.DataClassification.Label">
- <summary>Represents the Data Classification Labels as received from SQL Server for the active 'SqlDataReader'</summary><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.DataClassification.Label.Name">
- <summary>Gets the name for this 'Label' object</summary><value>Name of label.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.DataClassification.Label.Id">
- <summary>Gets the ID for this 'Label' object</summary><value>ID of label.</value><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.DataClassification.Label.#ctor(System.String,System.String)">
- <summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.DataClassification.Label" /> class.</summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.DataClassification.InformationType">
- <summary>Represents the Data Classification Information Types as received from SQL Server for the active 'SqlDataReader'</summary><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.DataClassification.InformationType.Name">
- <summary>Gets the name for this 'InformationType' object</summary><value>Name of InformationType.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.DataClassification.InformationType.Id">
- <summary>Gets the ID for this 'InformationType' object</summary><value>ID of InformationType.</value><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.DataClassification.InformationType.#ctor(System.String,System.String)">
- <summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.DataClassification.InformationType" /> class.</summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.DataClassification.SensitivityProperty">
- <summary>Represents the Data Classification Sensitivity Information for columns as configured in Database.</summary><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.DataClassification.SensitivityProperty.Label">
- <summary>Returns the label for this 'SensitivityProperty' Object</summary><value>Label for this SensitivityProperty.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.DataClassification.SensitivityProperty.InformationType">
- <summary>Returns the information type for this 'SensitivityProperty' Object</summary><value>Information type for this SensitivityProperty.</value><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.DataClassification.SensitivityProperty.#ctor(Microsoft.Data.SqlClient.DataClassification.Label,Microsoft.Data.SqlClient.DataClassification.InformationType)">
- <summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.DataClassification.SensitivityProperty" /> class.</summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.DataClassification.ColumnSensitivity">
- <summary>Represents the Data Classification Sensitivity Information for columns as configured in Database.</summary><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.DataClassification.ColumnSensitivity.SensitivityProperties">
- <summary>Returns the list of sensitivity properties as received from Server for this 'ColumnSensitivity' information</summary><value>List of sensitivity properties.</value><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.DataClassification.ColumnSensitivity.#ctor(System.Collections.Generic.IList{Microsoft.Data.SqlClient.DataClassification.SensitivityProperty})">
- <summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.DataClassification.ColumnSensitivity" /> class.</summary>
- </member>
- <member name="T:Microsoft.Data.SqlClient.DataClassification.SensitivityClassification">
- <summary>Provides the functionlity to retrieve Sensitivity Classification data as received from SQL Server for the active 'SqlDataReader'</summary><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.DataClassification.SensitivityClassification.Labels">
- <summary>Returns the labels collection for this 'SensitivityClassification' Object</summary><value>List of labels.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.DataClassification.SensitivityClassification.InformationTypes">
- <summary>Returns the information types collection for this 'SensitivityClassification' Object</summary><value>List of information types.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlClient.DataClassification.SensitivityClassification.ColumnSensitivities">
- <summary>Returns the column sensitivity for this 'SensitivityClassification' Object</summary><value>List of column sensitivities.</value><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlClient.DataClassification.SensitivityClassification.#ctor(System.Collections.Generic.IList{Microsoft.Data.SqlClient.DataClassification.Label},System.Collections.Generic.IList{Microsoft.Data.SqlClient.DataClassification.InformationType},System.Collections.Generic.IList{Microsoft.Data.SqlClient.DataClassification.ColumnSensitivity})">
- <summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlClient.DataClassification.SensitivityClassification" />
- class.</summary>
- </member>
- <member name="T:Microsoft.Data.SqlTypes.SqlFileStream">
- <summary>Exposes SQL Server data that is stored with the FILESTREAM column attribute as a sequence of bytes.</summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- The <xref:Microsoft.Data.SqlTypes.SqlFileStream> class is used to work with `varbinary(max)` data stored with the FILESTREAM attribute in a SQL Server 2008 database. You must install the .NET Framework 3.5 SP1 (or later) to use <xref:Microsoft.Data.SqlTypes.SqlFileStream> to work with FILESTREAM data.
- Specifying the FILESTREAM attribute on a `varbinary(max)` column causes SQL Server to store the data in the local NTFS file system instead of in the database file. Transact-SQL statements provide data manipulation capabilities within the server, and Win32 file system interfaces provide streaming access to the data.
- > [!NOTE]
- > Individual files stored in a FILESTREAM column cannot be opened directly from the NTFS file system. Streaming FILESTREAM data works only in the context of a SQL Server transaction.
- The <xref:Microsoft.Data.SqlTypes.SqlFileStream> class is derived from the <xref:System.IO.Stream> class, which represents an abstraction of a sequence of bytes from some arbitrary data source such as a file or a block of memory. You can read from a FILESTREAM by transferring data from a stream into a data structure such as an array of bytes. You can write to a FILESTREAM by transferring the data from a data structure into a stream. You can also seek within the stream, which allows you to query and modify data at the current position within the stream.
- For conceptual documentation and code examples, see [FILESTREAM Data](~/docs/framework/data/adonet/sql/filestream-data.md).
- For documentation about setting up and configuring FILESTREAM data on SQL Server, see [Designing and Implementing FILESTREAM Storage](https://go.microsoft.com/fwlink/?LinkId=121499) in SQL Server 2008 Books Online.
- ]]></format>
- </remarks><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related><related type="Article" href="https://msdn.microsoft.com/library/fafdc31a-f435-4cd3-883f-1dfadd971277">SQL Server Data Type Mappings (ADO.NET)</related><related type="Article" href="https://msdn.microsoft.com/library/e00827b3-7511-4b2d-91d7-851ca86cc6b5">SQL Server Binary and Large-Value Data (ADO.NET)</related>
- </member>
- <member name="M:Microsoft.Data.SqlTypes.SqlFileStream.#ctor(System.String,System.Byte[],System.IO.FileAccess)">
- <param name="path">The logical path to the file. The path can be retrieved by using the Transact-SQL Pathname function on the underlying FILESTREAM column in the table.</param><param name="transactionContext">The transaction context for the <see langword="SqlFileStream" /> object. Applications should return the byte array returned by calling the GET_FILESTREAM_TRANSACTION_CONTEXT method.</param><param name="access">The access mode to use when opening the file. Supported <see cref="T:System.IO.FileAccess" /> enumeration values are <see cref="F:System.IO.FileAccess.Read" />, <see cref="F:System.IO.FileAccess.Write" />, and <see cref="F:System.IO.FileAccess.ReadWrite" />.
-
- When using <see langword="FileAccess.Read" />, the <see langword="SqlFileStream" /> object can be used to read all of the existing data.
-
- When using <see langword="FileAccess.Write" />, <see langword="SqlFileStream" /> points to a zero byte file. Existing data will be overwritten when the object is closed and the transaction is committed.
-
- When using <see langword="FileAccess.ReadWrite" />, the <see langword="SqlFileStream" /> points to a file which has all the existing data in it. The handle is positioned at the beginning of the file. You can use one of the <see langword="System.IO" /><see langword="Seek" /> methods to move the handle position within the file to write or append new data.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlTypes.SqlFileStream" /> class.</summary><remarks>
- <format type="text/markdown"><.
- If an exception is thrown, any open transactions should be rolled back. Otherwise, data loss can occur.
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">
- <paramref name="path" /> is a null reference, or <paramref name="transactionContext" /> is null.</exception><exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="path" /> is an empty string (""), contains only white space, or contains one or more invalid characters.
- <paramref name="path" /> begins with "\\\\.\\", for example "\\\\.\PHYSICALDRIVE0 ".
- The handle returned by the call to NTCreateFile is not of type FILE_TYPE_DISK.
- <paramref name="path" /> contains an unsupported value.</exception><exception cref="T:System.IO.FileNotFoundException">The file cannot be found.</exception><exception cref="T:System.IO.IOException">An I/O error occurred.</exception><exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception><exception cref="T:System.IO.DirectoryNotFoundException">The specified <paramref name="path" /> is invalid, such as being on an unmapped drive.</exception><exception cref="T:System.UnauthorizedAccessException">The access requested is not permitted by the operating system for the specified path. This occurs when Write or ReadWrite access is specified, and the file or directory is set for read-only access.</exception><exception cref="T:System.InvalidOperationException">NtCreateFile fails with error code set to ERROR_SHARING_VIOLATION.</exception><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="M:Microsoft.Data.SqlTypes.SqlFileStream.#ctor(System.String,System.Byte[],System.IO.FileAccess,System.IO.FileOptions,System.Int64)">
- <param name="path">The logical path to the file. The path can be retrieved by using the Transact-SQL Pathname function on the underlying FILESTREAM column in the table.</param><param name="transactionContext">The transaction context for the <see langword="SqlFileStream" /> object. When set to null, an implicit transaction will be used for the <see langword="SqlFileStream" /> object. Applications should return the byte array returned by calling the GET_FILESTREAM_TRANSACTION_CONTEXT method.</param><param name="access">The access mode to use when opening the file. Supported <see cref="T:System.IO.FileAccess" /> enumeration values are <see cref="F:System.IO.FileAccess.Read" />, <see cref="F:System.IO.FileAccess.Write" />, and <see cref="F:System.IO.FileAccess.ReadWrite" />.
- When using <see langword="FileAccess.Read" />, the <see langword="SqlFileStream" /> object can be used to read all of the existing data.
- When using <see langword="FileAccess.Write" />, <see langword="SqlFileStream" /> points to a zero byte file. Existing data will be overwritten when the object is closed and the transaction is committed.
- When using <see langword="FileAccess.ReadWrite" />, the <see langword="SqlFileStream" /> points to a file which has all the existing data in it. The handle is positioned at the beginning of the file. You can use one of the <see langword="System.IO" /><see langword="Seek" /> methods to move the handle position within the file to write or append new data.</param><param name="options">Specifies the option to use while opening the file. Supported <see cref="T:System.IO.FileOptions" /> values are <see cref="F:System.IO.FileOptions.Asynchronous" />, <see cref="F:System.IO.FileOptions.WriteThrough" />, <see cref="F:System.IO.FileOptions.SequentialScan" />, and <see cref="F:System.IO.FileOptions.RandomAccess" />.</param><param name="allocationSize">The allocation size to use while creating a file. If set to 0, the default value is used.</param><summary>Initializes a new instance of the <see cref="T:Microsoft.Data.SqlTypes.SqlFileStream" /> class.</summary><remarks>
- <format type="text/markdown"><.
- If an exception is thrown, any open transactions should be rolled back. Otherwise, data loss can occur.
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">
- <paramref name="path" /> is a null reference, or <paramref name="transactionContext" /> is null.</exception><exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="path" /> is an empty string (""), contains only white space, or contains one or more invalid characters.
- <paramref name="path" /> begins with "\\\\.\\", for example "\\\\.\PHYSICALDRIVE0 "
-
- The handle returned by call to NTCreateFile is not of type FILE_TYPE_DISK.
-
- <paramref name="options" /> contains an unsupported value.</exception><exception cref="T:System.IO.FileNotFoundException">The file cannot be found.</exception><exception cref="T:System.IO.IOException">An I/O error occurred.</exception><exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception><exception cref="T:System.IO.DirectoryNotFoundException">The specified <paramref name="path" /> is invalid, such as being on an unmapped drive.</exception><exception cref="T:System.UnauthorizedAccessException">The access requested is not permitted by the operating system for the specified path. This occurs when Write or ReadWrite access is specified, and the file or directory is set for read-only access.</exception><exception cref="T:System.InvalidOperationException">NtCreateFile fails with error code set to ERROR_SHARING_VIOLATION.</exception><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="M:Microsoft.Data.SqlTypes.SqlFileStream.Finalize">
- <summary>Destructor of the SqlFileStream class object.</summary><remarks>To be added.</remarks>
- </member>
- <member name="M:Microsoft.Data.SqlTypes.SqlFileStream.Dispose(System.Boolean)">
- <param name="disposing"><see langword="true" /> to release managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param><summary>Releases the unmanaged resources used and optionally releases the managed resources.</summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- This method calls <xref:Stream.Dispose%2A>.
- ]]></format>
- </remarks>
- </member>
- <member name="P:Microsoft.Data.SqlTypes.SqlFileStream.Name">
- <summary>Gets the logical path of the <see cref="T:Microsoft.Data.SqlTypes.SqlFileStream" /> passed to the constructor.</summary><value>A string value indicating the name of the <see cref="T:Microsoft.Data.SqlTypes.SqlFileStream" />.</value><remarks>To be added.</remarks><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="P:Microsoft.Data.SqlTypes.SqlFileStream.TransactionContext">
- <summary>Gets or sets the transaction context for this <see cref="T:Microsoft.Data.SqlTypes.SqlFileStream" /> object.</summary><value>The <see cref="T:Microsoft.Data.SqlTypes.SqlFileStream.TransactionContext" /> array that was passed to the constructor for this <see cref="T:Microsoft.Data.SqlTypes.SqlFileStream" /> object.</value><remarks>To be added.</remarks><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="P:Microsoft.Data.SqlTypes.SqlFileStream.CanRead">
- <summary>Gets a value indicating whether the current stream supports reading.</summary><value>
- <see langword="true" /> if the current stream supports reading; otherwise, <see langword="false" />.</value><remarks>To be added.</remarks><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="P:Microsoft.Data.SqlTypes.SqlFileStream.CanSeek">
- <summary>Gets a value indicating whether the current stream supports seeking.</summary><value>
- <see langword="true" /> if the current stream supports seeking; otherwise, <see langword="false" />.</value><remarks>To be added.</remarks><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="P:Microsoft.Data.SqlTypes.SqlFileStream.CanTimeout">
- <summary>Gets a value indicating whether the current stream can time out.</summary><value>
- <see langword="true" /> if the current stream can time out; otherwise, <see langword="false" />.</value><remarks>To be added.</remarks>
- </member>
- <member name="P:Microsoft.Data.SqlTypes.SqlFileStream.CanWrite">
- <summary>Gets a value indicating whether the current stream supports writing.</summary><value>
- <see langword="true" /> if the current stream supports writing; otherwise, <see langword="false" />.</value><remarks>To be added.</remarks><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="P:Microsoft.Data.SqlTypes.SqlFileStream.Length">
- <summary>Gets a value indicating the length of the current stream in bytes.</summary><value>An <see cref="T:System.Int64" /> indicating the length of the current stream in bytes.</value><remarks>To be added.</remarks><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="P:Microsoft.Data.SqlTypes.SqlFileStream.Position">
- <summary>Gets or sets the position within the current stream.</summary><value>The current position within the <see cref="T:Microsoft.Data.SqlTypes.SqlFileStream" />.</value><remarks>To be added.</remarks><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="P:Microsoft.Data.SqlTypes.SqlFileStream.ReadTimeout">
- <summary>Gets or sets a value, in milliseconds, that determines how long the stream will attempt to read before timing out.</summary><value>A value, in milliseconds, that determines how long the stream will attempt to read before timing out.</value><remarks>To be added.</remarks><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="P:Microsoft.Data.SqlTypes.SqlFileStream.WriteTimeout">
- <summary>Gets or sets a value, in milliseconds, that determines how long the stream will attempt to write before timing out.</summary><value>A value, in milliseconds, that determines how long the stream will attempt to write before timing out.</value><remarks>To be added.</remarks><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="M:Microsoft.Data.SqlTypes.SqlFileStream.Flush">
- <summary>Clears all buffers for this stream and causes any buffered data to be written to the underlying device.</summary><remarks>To be added.</remarks><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="M:Microsoft.Data.SqlTypes.SqlFileStream.BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)">
- <param name="buffer">The buffer to read the data into.</param><param name="offset">The byte offset in <paramref name="buffer" /> at which to begin writing data read from the stream.</param><param name="count">The maximum number of bytes to read.</param><param name="callback">An optional asynchronous callback, to be called when the read is complete.</param><param name="state">A user-provided object that distinguishes this particular asynchronous read request from other requests</param><summary>Begins an asynchronous read operation.</summary><returns>An <see cref="T:System.IAsyncResult" /> that represents the asynchronous read, which could still be pending.</returns><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- Use the <xref:Microsoft.Data.SqlTypes.SqlFileStream.CanRead%2A> property to determine whether the current instance supports reading.
- ]]></format>
- </remarks><exception cref="T:System.NotSupportedException">Reading data is not supported on the stream.</exception><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="M:Microsoft.Data.SqlTypes.SqlFileStream.EndRead(System.IAsyncResult)">
- <param name="asyncResult">The reference to the pending asynchronous request to finish.</param><summary>Waits for the pending asynchronous read to complete.</summary><returns>The number of bytes read from the stream, between zero (0) and the number of bytes you requested. Streams return zero (0) only at the end of the stream, otherwise, they should block until at least one byte is available.</returns><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">The <see cref="T:System.IAsyncResult" /> object did not come from the corresponding <see langword="BeginRead" /> method.</exception><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="M:Microsoft.Data.SqlTypes.SqlFileStream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)">
- <param name="buffer">The buffer to write data from.</param><param name="offset">The byte offset in <paramref name="buffer" /> from which to begin writing.</param><param name="count">The maximum number of bytes to write.</param><param name="callback">An optional asynchronous callback, to be called when the write is complete.</param><param name="state">A user-provided object that distinguishes this particular asynchronous write request from other requests.</param><summary>Begins an asynchronous write operation.</summary><returns>An <see cref="T:System.IAsyncResult" /> that represents the asynchronous write, which could still be pending.</returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Use the <xref:Microsoft.Data.SqlTypes.SqlFileStream.CanWrite%2A> property to determine whether the current instance supports writing.
- ]]></format>
- </remarks><exception cref="T:System.NotSupportedException">Writing data is not supported on the stream.</exception><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="M:Microsoft.Data.SqlTypes.SqlFileStream.EndWrite(System.IAsyncResult)">
- <param name="asyncResult">A reference to the outstanding asynchronous I/O request.</param><summary>Ends an asynchronous write operation.</summary><remarks>To be added.</remarks><exception cref="T:System.ArgumentException">The <see cref="T:System.IAsyncResult" /> object did not come from the corresponding <see langword="BeginWrite" /> method.</exception><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="M:Microsoft.Data.SqlTypes.SqlFileStream.Seek(System.Int64,System.IO.SeekOrigin)">
- <param name="offset">A byte offset relative to the <paramref name="origin" /> parameter</param><param name="origin">A value of type <see cref="T:System.IO.SeekOrigin" /> indicating the reference point used to obtain the new position</param><summary>Sets the position within the current stream.</summary><returns>The new position within the current stream.</returns><remarks>To be added.</remarks><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="M:Microsoft.Data.SqlTypes.SqlFileStream.SetLength(System.Int64)">
- <param name="value">The desired length of the current stream in bytes.</param><summary>Sets the length of the current stream.</summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Use the <xref:Microsoft.Data.SqlTypes.SqlFileStream.CanRead%2A> property to determine whether the current instance supports reading.
- ]]></format>
- </remarks><exception cref="T:System.NotSupportedException">The object does not support reading of data.</exception><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="M:Microsoft.Data.SqlTypes.SqlFileStream.Read(System.Byte[],System.Int32,System.Int32)">
- <param name="buffer">An array of bytes. When this method returns, the buffer contains the specified byte array with the values between offset and (offset + count - 1) replaced by the bytes read from the current source.</param><param name="offset">The zero-based byte offset in buffer at which to begin storing the data read from the current stream.</param><param name="count">The maximum number of bytes to be read from the current stream.</param><summary>Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.</summary><returns>The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached.</returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Use the <xref:Microsoft.Data.SqlTypes.SqlFileStream.CanRead%2A> property to determine whether the current instance supports writing.
- ]]></format>
- </remarks><exception cref="T:System.NotSupportedException">The object does not support reading of data.</exception><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="M:Microsoft.Data.SqlTypes.SqlFileStream.ReadByte">
- <summary>Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.</summary><returns>The unsigned byte cast to an <see cref="T:System.Int32" />, or -1 if at the end of the stream.</returns><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Use the <xref:Microsoft.Data.SqlTypes.SqlFileStream.CanRead%2A> property to determine whether the current instance supports reading.
- ]]></format>
- </remarks><exception cref="T:System.NotSupportedException">The object does not support reading of data.</exception><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="M:Microsoft.Data.SqlTypes.SqlFileStream.Write(System.Byte[],System.Int32,System.Int32)">
- <param name="buffer">An array of bytes. This method copies <paramref name="count" /> bytes from <paramref name="buffer" /> to the current stream.</param><param name="offset">The zero-based byte offset in <paramref name="buffer" /> at which to begin copying bytes to the current stream.</param><param name="count">The number of bytes to be written to the current stream.</param><summary>Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.</summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Use the <xref:Microsoft.Data.SqlTypes.SqlFileStream.CanWrite%2A> property to determine whether the current instance supports writing.
- ]]></format>
- </remarks><exception cref="T:System.NotSupportedException">The object does not support writing of data.</exception><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="M:Microsoft.Data.SqlTypes.SqlFileStream.WriteByte(System.Byte)">
- <param name="value">The byte to write to the stream.</param><summary>Writes a byte to the current position in the stream and advances the position within the stream by one byte.</summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- Use the <xref:Microsoft.Data.SqlTypes.SqlFileStream.CanWrite%2A> property to determine whether the current instance supports writing.
- ]]></format>
- </remarks><exception cref="T:System.NotSupportedException">The object does not support writing of data.</exception><related type="Article" href="https://msdn.microsoft.com/library/bd8b845c-0f09-4295-b466-97ef106eefa8">FILESTREAM Data in SQL Server 2008 (ADO.NET)</related>
- </member>
- <member name="M:Microsoft.Data.SqlTypes.UnsafeNativeMethods.SafeGetFullPathName(System.String)">
- <summary>
- safe wrapper for GetFullPathName
- check that the path length is less than Int16.MaxValue before calling this API!
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlTypes.UnsafeNativeMethods.SetErrorModeWrapper(System.UInt32,System.UInt32@)">
- <summary>
- this method uses thread-safe version of SetErrorMode on Windows 7/Windows Server 2008 R2 operating systems.
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlTypes.SqlTypeWorkarounds">
- <summary>
- This type provides workarounds for the separation between Microsoft.Data.Common
- and Microsoft.Data.SqlClient. The latter wants to access internal members of the former, and
- this class provides ways to do that. We must review and update this implementation any time the
- implementation of the corresponding types in Microsoft.Data.Common change.
- </summary>
- </member>
- <member name="M:Microsoft.Data.SqlTypes.SqlTypeWorkarounds.SqlMoneyCtor(System.Int64,System.Int32)">
- <summary>
- Constructs a SqlMoney from a long value without scaling. The ignored parameter exists
- only to distinguish this constructor from the constructor that takes a long.
- Used only internally.
- </summary>
- </member>
- <member name="M:Microsoft.Data.ResDescriptionAttribute.#ctor(System.String)">
- <summary>
- Constructs a new sys description.
- </summary>
- <param name='description'>
- description text.
- </param>
- </member>
- <member name="P:Microsoft.Data.ResDescriptionAttribute.Description">
- <summary>
- Retrieves the description text.
- </summary>
- <returns>
- description
- </returns>
- </member>
- <member name="M:Microsoft.Data.ExceptionBuilder.ThrowDataException(System.String,System.Exception)">
- <summary>trace and throw a DataException</summary>
- <param name="error">exception Message</param>
- <param name="innerException">exception InnerException</param>
- <exception cref="T:System.Data.DataException">always thrown</exception>
- </member>
- <member name="M:Microsoft.Data.ExceptionBuilder.ThrowMultipleTargetConverter(System.Exception)">
- <summary>throw DataException for multitarget failure</summary>
- <param name="innerException">exception from multitarget converter</param>
- <exception cref="T:System.Data.DataException">always thrown</exception>
- </member>
- <member name="T:Microsoft.Data.Common.ActivityCorrelator">
- <summary>
- This class defines the data structure for ActvitiyId used for correlated tracing between client (bid trace event) and server (XEvent).
- It also includes all the APIs used to access the ActivityId. Note: ActivityId is thread based which is stored in TLS.
- </summary>
- </member>
- <member name="P:Microsoft.Data.Common.ActivityCorrelator.Current">
- <summary>
- Get the current ActivityId
- </summary>
- </member>
- <member name="M:Microsoft.Data.Common.ActivityCorrelator.Next">
- <summary>
- Increment the sequence number and generate the new ActviityId
- </summary>
- <returns>ActivityId</returns>
- </member>
- <member name="M:Microsoft.Data.Common.DbConnectionStringBuilderUtil.ConvertToPoolBlockingPeriod(System.String,System.Object)">
- <summary>
- This method attempts to convert the given value to a PoolBlockingPeriod enum. The algorithm is:
- * if the value is from type string, it will be matched against PoolBlockingPeriod enum names only, using ordinal, case-insensitive comparer
- * if the value is from type PoolBlockingPeriod, it will be used as is
- * if the value is from integral type (SByte, Int16, Int32, Int64, Byte, UInt16, UInt32, or UInt64), it will be converted to enum
- * if the value is another enum or any other type, it will be blocked with an appropriate ArgumentException
-
- in any case above, if the conerted value is out of valid range, the method raises ArgumentOutOfRangeException.
- </summary>
- <returns>PoolBlockingPeriod value in the valid range</returns>
- </member>
- <member name="M:Microsoft.Data.Common.DbConnectionStringBuilderUtil.ConvertToApplicationIntent(System.String,System.Object)">
- <summary>
- This method attempts to convert the given value tp ApplicationIntent enum. The algorithm is:
- * if the value is from type string, it will be matched against ApplicationIntent enum names only, using ordinal, case-insensitive comparer
- * if the value is from type ApplicationIntent, it will be used as is
- * if the value is from integral type (SByte, Int16, Int32, Int64, Byte, UInt16, UInt32, or UInt64), it will be converted to enum
- * if the value is another enum or any other type, it will be blocked with an appropriate ArgumentException
-
- in any case above, if the conerted value is out of valid range, the method raises ArgumentOutOfRangeException.
- </summary>
- <returns>applicaiton intent value in the valid range</returns>
- </member>
- <member name="F:Microsoft.Data.Common.DbConnectionStringBuilderUtil.ColumnEncryptionSettingEnabledString">
- <summary>
- Column Encryption Setting.
- </summary>
- </member>
- <member name="M:Microsoft.Data.Common.DbConnectionStringBuilderUtil.TryConvertToColumnEncryptionSetting(System.String,Microsoft.Data.SqlClient.SqlConnectionColumnEncryptionSetting@)">
- <summary>
- Convert a string value to the corresponding SqlConnectionColumnEncryptionSetting.
- </summary>
- <param name="value"></param>
- <param name="result"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.Common.DbConnectionStringBuilderUtil.IsValidColumnEncryptionSetting(Microsoft.Data.SqlClient.SqlConnectionColumnEncryptionSetting)">
- <summary>
- Is it a valid connection level column encryption setting ?
- </summary>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.Common.DbConnectionStringBuilderUtil.ColumnEncryptionSettingToString(Microsoft.Data.SqlClient.SqlConnectionColumnEncryptionSetting)">
- <summary>
- Convert connection level column encryption setting value to string.
- </summary>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.Common.DbConnectionStringBuilderUtil.ConvertToColumnEncryptionSetting(System.String,System.Object)">
- <summary>
- Convert the provided value to a SqlConnectionColumnEncryptionSetting.
- </summary>
- <param name="keyword"></param>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="F:Microsoft.Data.Common.DbConnectionStringBuilderUtil.AttestationProtocolHGS">
- <summary>
- Attestation Protocol.
- </summary>
- </member>
- <member name="M:Microsoft.Data.Common.DbConnectionStringBuilderUtil.TryConvertToAttestationProtocol(System.String,Microsoft.Data.SqlClient.SqlConnectionAttestationProtocol@)">
- <summary>
- Convert a string value to the corresponding SqlConnectionAttestationProtocol
- </summary>
- <param name="value"></param>
- <param name="result"></param>
- <returns></returns>
- </member>
- <member name="P:Microsoft.Data.ProviderBase.DbConnectionInternal.EnlistedTransactionDisposed">
- <summary>
- Get boolean value that indicates whether the enlisted transaction has been disposed.
- </summary>
- <value>
- True if there is an enlisted transaction, and it has been diposed.
- False if there is an enlisted transaction that has not been disposed, or if the transaction reference is null.
- </value>
- <remarks>
- This method must be called while holding a lock on the DbConnectionInternal instance.
- </remarks>
- </member>
- <member name="P:Microsoft.Data.ProviderBase.DbConnectionInternal.UnbindOnTransactionCompletion">
- <summary>
- Get boolean that specifies whether an enlisted transaction can be unbound from
- the connection when that transaction completes.
- </summary>
- <value>
- True if the enlisted transaction can be unbound on transaction completion; otherwise false.
- </value>
- </member>
- <member name="M:Microsoft.Data.ProviderBase.DbConnectionInternal.DoomThisConnection">
- <devdoc>Ensure that this connection cannot be put back into the pool.</devdoc>
- </member>
- <member name="M:Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnection(System.Data.Common.DbConnection,Microsoft.Data.ProviderBase.DbConnectionFactory,System.Threading.Tasks.TaskCompletionSource{Microsoft.Data.ProviderBase.DbConnectionInternal},Microsoft.Data.Common.DbConnectionOptions)">
- <devdoc>The default implementation is for the open connection objects, and
- it simply throws. Our private closed-state connection objects
- override this and do the correct thing.</devdoc>
- </member>
- <member name="M:Microsoft.Data.ProviderBase.DbConnectionInternal.IsConnectionAlive(System.Boolean)">
- <summary>
- When overridden in a derived class, will check if the underlying connection is still actually alive
- </summary>
- <param name="throwOnException">If true an exception will be thrown if the connection is dead instead of returning true\false
- (this allows the caller to have the real reason that the connection is not alive (e.g. network error, etc))</param>
- <returns>True if the connection is still alive, otherwise false (If not overridden, then always true)</returns>
- </member>
- <member name="F:Microsoft.Data.ProviderBase.DbConnectionPool._pooledDbAuthenticationContexts">
- <summary>
- The private member which carries the set of authenticationcontexts for this pool (based on the user's identity).
- </summary>
- </member>
- <member name="P:Microsoft.Data.ProviderBase.DbConnectionPool.AuthenticationContexts">
- <summary>
- Return the pooled authentication contexts.
- </summary>
- </member>
- <member name="M:Microsoft.Data.ProviderBase.DbConnectionPool.ReplaceConnection(System.Data.Common.DbConnection,Microsoft.Data.Common.DbConnectionOptions,Microsoft.Data.ProviderBase.DbConnectionInternal)">
- <summary>
- Creates a new connection to replace an existing connection
- </summary>
- <param name="owningObject">Outer connection that currently owns <paramref name="oldConnection"/></param>
- <param name="userOptions">Options used to create the new connection</param>
- <param name="oldConnection">Inner connection that will be replaced</param>
- <returns>A new inner connection that is attached to the <paramref name="owningObject"/></returns>
- </member>
- <member name="T:Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContext">
- <summary>
- Represents the context of an authentication attempt when using the new active directory based authentication mechanisms.
- All data members, except_isUpdateInProgressCounter, should be immutable.
- </summary>
- </member>
- <member name="F:Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContext.STATUS_LOCKED">
- <summary>
- The value expected in _isUpdateInProgress if a thread has taken a lock on this context,
- to perform the update on the context.
- </summary>
- </member>
- <member name="F:Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContext.STATUS_UNLOCKED">
- <summary>
- The value expected in _isUpdateInProgress if no thread has taken a lock on this context.
- </summary>
- </member>
- <member name="F:Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContext._accessToken">
- <summary>
- Access Token, which is obtained from Active Directory Authentication Library for SQL Server, and needs to be sent to SQL Server
- as part of TDS Token type Federated Authentication Token.
- </summary>
- </member>
- <member name="F:Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContext._expirationTime">
- <summary>
- Expiration time of the above access token.
- </summary>
- </member>
- <member name="F:Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContext._isUpdateInProgress">
- <summary>
- A member which is used to achieve a lock to control refresh attempt on this context.
- </summary>
- </member>
- <member name="M:Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContext.#ctor(System.Byte[],System.DateTime)">
- <summary>
- Constructor.
- </summary>
- <param name="accessToken">Access Token that will be used to connect to SQL Server. Carries identity information about a user.</param>
- <param name="expirationTime">The expiration time in UTC for the above accessToken.</param>
- </member>
- <member name="M:Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContext.ChooseAuthenticationContextToUpdate(Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContext,Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContext)">
- <summary>
- Static Method.
- Given two contexts, choose one to update in the cache. Chooses based on expiration time.
- </summary>
- <param name="context1">Context1</param>
- <param name="context2">Context2</param>
- </member>
- <member name="M:Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContext.LockToUpdate">
- <summary>
- Try locking the variable _isUpdateInProgressCounter and return if this thread got the lock to update.
- Whichever thread got the chance to update this variable to 1 wins the lock.
- </summary>
- </member>
- <member name="M:Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContext.ReleaseLockToUpdate">
- <summary>
- Release the lock which was obtained through LockToUpdate.
- </summary>
- </member>
- <member name="T:Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContextKey">
- <summary>
- Represents the key of dbConnectionPoolAuthenticationContext.
- All data members should be immutable and so, hashCode is pre-computed.
- </summary>
- </member>
- <member name="F:Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContextKey._stsAuthority">
- <summary>
- Security Token Service Authority.
- </summary>
- </member>
- <member name="F:Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContextKey._servicePrincipalName">
- <summary>
- Service Principal Name.
- </summary>
- </member>
- <member name="F:Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContextKey._hashCode">
- <summary>
- Pre-Computed Hash Code.
- </summary>
- </member>
- <member name="M:Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContextKey.#ctor(System.String,System.String)">
- <summary>
- Constructor for the type.
- </summary>
- <param name="stsAuthority">Token Endpoint URL</param>
- <param name="servicePrincipalName">SPN representing the SQL service in an active directory.</param>
- </member>
- <member name="M:Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContextKey.Equals(System.Object)">
- <summary>
- Override the default Equals implementation.
- </summary>
- <param name="obj"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContextKey.GetHashCode">
- <summary>
- Override the default GetHashCode implementation.
- </summary>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Data.ProviderBase.DbConnectionPoolAuthenticationContextKey.ComputeHashCode">
- <summary>
- Compute the hash code for this object.
- </summary>
- <returns></returns>
- </member>
- <member name="F:Microsoft.Data.SqlEventSource.BeginExecuteEventId">
- <summary>
- Defines EventId for BeginExecute (Reader, Scalar, NonQuery, XmlReader).
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlEventSource.EndExecuteEventId">
- <summary>
- Defines EventId for EndExecute (Reader, Scalar, NonQuery, XmlReader).
- </summary>
- </member>
- <member name="T:Microsoft.Data.SqlEventSource.Keywords">
- <summary>
- Keyword definitions. These represent logical groups of events that can be turned on and off independently
- Often each task has a keyword, but where tasks are determined by subsystem, keywords are determined by
- usefulness to end users to filter. Generally users don't mind extra events if they are not high volume
- so grouping low volume events together in a single keywords is OK (users can post-filter by task if desired)
- <remarks>The visibility of the enum has to be public, otherwise there will be an ArgumentException on calling related WriteEvent method.</remarks>
- </summary>
- </member>
- <member name="F:Microsoft.Data.SqlEventSource.Tasks.ExecuteCommand">
- <summary>Task that tracks sql command execute.</summary>
- </member>
- <member name="M:Microsoft.Data.RelationshipConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Type)">
- <devdoc>
- <para>Gets a value indicating whether this converter can
- convert an object to the given destination type using the context.</para>
- </devdoc>
- </member>
- <member name="T:Microsoft.Data.Sql.SqlNotificationRequest">
- <summary>Represents a request for notification for a given command.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This class provides low-level access to the query notification services exposed by SQL Server 2005. For most applications the <xref:Microsoft.Data.SqlClient.SqlDependency> class provides a simpler way of using query notifications. However, if you need fine control over when notifications occur, or you need to customize the message data returned as part of a notification, the <xref:Microsoft.Data.Sql.SqlNotificationRequest> class is the one to use.
- ]]></format>
- </remarks><related type="Article" href="~/docs/framework/data/adonet/sql/query-notifications-in-sql-server.md">Using Query Notifications</related>
- </member>
- <member name="M:Microsoft.Data.Sql.SqlNotificationRequest.#ctor">
- <summary>Creates a new instance of the <see cref="T:Microsoft.Data.Sql.SqlNotificationRequest" /> class with default values.</summary><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- If the parameterless constructor is used to create a <xref:Microsoft.Data.Sql.SqlNotificationRequest> object, that instance must have its <xref:Microsoft.Data.Sql.SqlNotificationRequest.UserData%2A> and <xref:Microsoft.Data.Sql.SqlNotificationRequest.Options%2A> properties initialized before assigning the object to a <xref:Microsoft.Data.SqlClient.SqlCommand> object's <xref:Microsoft.Data.SqlClient.SqlCommand.Notification%2A> property. The default values used by the constructor are NULL (`Nothing` in Visual Basic) for the <xref:Microsoft.Data.Sql.SqlNotificationRequest.UserData%2A>, an empty string for the <xref:Microsoft.Data.Sql.SqlNotificationRequest.Options%2A>, and zero for the <xref:Microsoft.Data.Sql.SqlNotificationRequest.Timeout%2A>.
- ]]></format>
- </remarks><related type="Article" href="~/docs/framework/data/adonet/sql/query-notifications-in-sql-server.md">Using Query Notifications</related>
- </member>
- <member name="M:Microsoft.Data.Sql.SqlNotificationRequest.#ctor(System.String,System.String,System.Int32)">
- <param name="userData">A string that contains an application-specific identifier for this notification. It is not used by the notifications infrastructure, but it allows you to associate notifications with the application state. The value indicated in this parameter is included in the Service Broker queue message.</param><param name="options">A string that contains the Service Broker service name where notification messages are posted, and it must include a database name or a Service Broker instance GUID that restricts the scope of the service name lookup to a particular database. For more information about the format of the <paramref name="options" /> parameter, see <see cref="P:Microsoft.Data.Sql.SqlNotificationRequest.Options" />.</param><param name="timeout">The time, in seconds, to wait for a notification message.</param><summary>Creates a new instance of the <see cref="T:Microsoft.Data.Sql.SqlNotificationRequest" /> class with a user-defined string that identifies a particular notification request, the name of a predefined SQL Server 2005 Service Broker service name, and the time-out period, measured in seconds.</summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- This constructor allows you to initialize a new <xref:Microsoft.Data.Sql.SqlNotificationRequest> instance, providing your own identifier, the SQL Server 2005 Service Broker service name, and a time-out value.
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">The value of the <paramref name="options" /> parameter is NULL.</exception><exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="options" /> or <paramref name="userData" /> parameter is longer than <see langword="uint16.MaxValue" /> or the value in the <paramref name="timeout" /> parameter is less than zero.</exception><related type="Article" href="~/docs/framework/data/adonet/sql/query-notifications-in-sql-server.md">Using Query Notifications</related>
- </member>
- <member name="P:Microsoft.Data.Sql.SqlNotificationRequest.Options">
- <summary>Gets or sets the SQL Server Service Broker service name where notification messages are posted.</summary><value>
- <see langword="string" /> that contains the SQL Server 2005 Service Broker service name where notification messages are posted and the database or service broker instance GUID to scope the server name lookup.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- The value of the <xref:Microsoft.Data.Sql.SqlNotificationRequest.Options%2A> property has the following format:
- `service=<service-name>{;(local database=<database>|broker instance=<broker instance>)}`
- For example, if you use the service "myservice" in the database "AdventureWorks" the format is:
- `service=myservice;local database=AdventureWorks`
- The SQL Server Service Broker service must be previously configured on the server. In addition, a Service Broker service and queue must be defined and security access granted as needed. See the SQL Server 2005 documentation for more information.
- ]]></format>
- </remarks><exception cref="T:System.ArgumentNullException">The value is NULL.</exception><exception cref="T:System.ArgumentException">The value is longer than <see langword="uint16.MaxValue" />.</exception><related type="Article" href="~/docs/framework/data/adonet/sql/query-notifications-in-sql-server.md">Using Query Notifications</related>
- </member>
- <member name="P:Microsoft.Data.Sql.SqlNotificationRequest.Timeout">
- <summary>Gets or sets a value that specifies how long SQL Server waits for a change to occur before the operation times out.</summary><value>A signed integer value that specifies, in seconds, how long SQL Server waits for a change to occur before the operation times out.</value><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- After the time-out period expires, the notification is sent even if no change takes place. The <xref:Microsoft.Data.Sql.SqlNotificationRequest.Timeout%2A> property defaults to the value set on the server.
- ]]></format>
- </remarks><exception cref="T:System.ArgumentOutOfRangeException">The value is less than zero.</exception><related type="Article" href="~/docs/framework/data/adonet/sql/query-notifications-in-sql-server.md">Using Query Notifications</related>
- </member>
- <member name="P:Microsoft.Data.Sql.SqlNotificationRequest.UserData">
- <summary>Gets or sets an application-specific identifier for this notification.</summary><value>A <see langword="string" /> value of the application-specific identifier for this notification.</value><remarks>
- <format type="text/markdown"><![CDATA[
-
- ## Remarks
- This value is not used by the notifications infrastructure. Instead, it is a mechanism that allows an application to associate notifications with application state. The value specified in the <xref:Microsoft.Data.Sql.SqlNotificationRequest.UserData%2A> property is included in the SQL Server 2005 queue message.
- ]]></format>
- </remarks><exception cref="T:System.ArgumentException">The value is longer than <see langword="uint16.MaxValue" />.</exception><related type="Article" href="~/docs/framework/data/adonet/sql/query-notifications-in-sql-server.md">Using Query Notifications</related>
- </member>
- <member name="T:Microsoft.Data.OperationAbortedException">
- <summary>This exception is thrown when an ongoing operation is aborted by the user.</summary><remarks>
- <format type="text/markdown"><![CDATA[
- ## Remarks
- This exception indicates that an operation has been aborted by the consumer of an API.
- For example, if the event handler of the <xref:Microsoft.Data.SqlClient.SqlBulkCopy.SqlRowsCopied> event sets the **Abort** property to `true` in the <xref:Microsoft.Data.SqlClient.SqlRowsCopiedEventArgs> object passed to the handler, the <xref:Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServer%2A> method stops sending rows to the server and throws an <xref:Microsoft.Data.OperationAbortedException>.
- ]]></format>
- </remarks>
- </member>
- <member name="M:System.AppContextDefaultValues.ParseTargetFrameworkName(System.String@,System.String@,System.Int32@)">
- <summary>
- We have this separate method for getting the parsed elements out of the TargetFrameworkName so we can
- more easily support this on other platforms.
- </summary>
- </member>
- <member name="M:System.LocalAppContext.DefineSwitchDefault(System.String,System.Boolean)">
- <summary>
- This method is going to be called from the AppContextDefaultValues class when setting up the
- default values for the switches. !!!! This method is called during the static constructor so it does not
- take a lock !!!! If you are planning to use this outside of that, please ensure proper locking.
- </summary>
- </member>
- <member name="T:System.Strings">
- <summary>
- A strongly-typed resource class, for looking up localized strings, etc.
- </summary>
- </member>
- <member name="P:System.Strings.ResourceManager">
- <summary>
- Returns the cached ResourceManager instance used by this class.
- </summary>
- </member>
- <member name="P:System.Strings.Culture">
- <summary>
- Overrides the current thread's CurrentUICulture property for all
- resource lookups using this strongly typed resource class.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_AdapterMappingExceptionMessage">
- <summary>
- Looks up a localized string similar to Data adapter mapping error..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_Ascending">
- <summary>
- Looks up a localized string similar to Ascending.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_BadParameterName">
- <summary>
- Looks up a localized string similar to Specified parameter name '{0}' is not valid..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_CalledTwice">
- <summary>
- Looks up a localized string similar to The method '{0}' cannot be called more than once for the same execution..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ClosedConnectionError">
- <summary>
- Looks up a localized string similar to Invalid operation. The connection is closed..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_CollectionIndexInt32">
- <summary>
- Looks up a localized string similar to Invalid index {0} for this {1} with Count={2}..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_CollectionIndexString">
- <summary>
- Looks up a localized string similar to A {0} with {1} '{2}' is not contained by this {3}..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_CollectionInvalidType">
- <summary>
- Looks up a localized string similar to The {0} only accepts non-null {1} type objects, not {2} objects..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_CollectionIsNotParent">
- <summary>
- Looks up a localized string similar to The {0} is already contained by another {1}..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_CollectionIsParent">
- <summary>
- Looks up a localized string similar to The {0} with is already contained by this {1}..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_CollectionNullValue">
- <summary>
- Looks up a localized string similar to The {0} only accepts non-null {1} type objects..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_CollectionRemoveInvalidObject">
- <summary>
- Looks up a localized string similar to Attempted to remove an {0} that is not contained by this {1}..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_CollectionUniqueValue">
- <summary>
- Looks up a localized string similar to The {0}.{1} is required to be unique, '{2}' already exists in the collection..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ColumnSchemaExpression">
- <summary>
- Looks up a localized string similar to The column mapping from SourceColumn '{0}' failed because the DataColumn '{1}' is a computed column..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ColumnSchemaMismatch">
- <summary>
- Looks up a localized string similar to Inconvertible type mismatch between SourceColumn '{0}' of {1} and the DataColumn '{2}' of {3}..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ColumnSchemaMissing1">
- <summary>
- Looks up a localized string similar to Missing the DataColumn '{0}' for the SourceColumn '{2}'..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ColumnSchemaMissing2">
- <summary>
- Looks up a localized string similar to Missing the DataColumn '{0}' in the DataTable '{1}' for the SourceColumn '{2}'..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_CommandTextRequired">
- <summary>
- Looks up a localized string similar to {0}: CommandText property has not been initialized.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ComputerNameEx">
- <summary>
- Looks up a localized string similar to Unable to retrieve the ComputerNameDnsFullyQualified, {0}..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ConnecitonRequired_UpdateRows">
- <summary>
- Looks up a localized string similar to Update requires a connection..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ConnectionAlreadyOpen">
- <summary>
- Looks up a localized string similar to The connection was not closed. {0}.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ConnectionIsDisabled">
- <summary>
- Looks up a localized string similar to The connection has been disabled..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ConnectionRequired">
- <summary>
- Looks up a localized string similar to {0}: Connection property has not been initialized..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ConnectionRequired_Batch">
- <summary>
- Looks up a localized string similar to Update requires a connection object. The Connection property has not been initialized..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ConnectionRequired_Clone">
- <summary>
- Looks up a localized string similar to Update requires the command clone to have a connection object. The Connection property of the command clone has not been initialized..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ConnectionRequired_Delete">
- <summary>
- Looks up a localized string similar to Update requires the DeleteCommand to have a connection object. The Connection property of the DeleteCommand has not been initialized..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ConnectionRequired_Fill">
- <summary>
- Looks up a localized string similar to Fill: SelectCommand.Connection property has not been initialized..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ConnectionRequired_FillPage">
- <summary>
- Looks up a localized string similar to FillPage: SelectCommand.Connection property has not been initialized..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ConnectionRequired_FillSchema">
- <summary>
- Looks up a localized string similar to FillSchema: SelectCommand.Connection property has not been initialized..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ConnectionRequired_Insert">
- <summary>
- Looks up a localized string similar to Update requires the InsertCommand to have a connection object. The Connection property of the InsertCommand has not been initialized..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ConnectionRequired_Update">
- <summary>
- Looks up a localized string similar to Update requires the UpdateCommand to have a connection object. The Connection property of the UpdateCommand has not been initialized..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ConnectionStateMsg">
- <summary>
- Looks up a localized string similar to The connection's current state: {0}..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ConnectionStateMsg_Closed">
- <summary>
- Looks up a localized string similar to The connection's current state is closed..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ConnectionStateMsg_Connecting">
- <summary>
- Looks up a localized string similar to The connection's current state is connecting..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ConnectionStateMsg_Open">
- <summary>
- Looks up a localized string similar to The connection's current state is open..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ConnectionStateMsg_OpenExecuting">
- <summary>
- Looks up a localized string similar to The connection's current state is executing..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ConnectionStateMsg_OpenFetching">
- <summary>
- Looks up a localized string similar to The connection's current state is fetching..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ConnectionStringSyntax">
- <summary>
- Looks up a localized string similar to Format of the initialization string does not conform to specification starting at index {0}..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_DataAdapterExceptionMessage">
- <summary>
- Looks up a localized string similar to Data adapter error..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_DatabaseNameTooLong">
- <summary>
- Looks up a localized string similar to The argument is too long..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_DataReaderClosed">
- <summary>
- Looks up a localized string similar to Invalid attempt to call {0} when reader is closed..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_DataReaderNoData">
- <summary>
- Looks up a localized string similar to No data exists for the row/column..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_DBConcurrencyExceptionMessage">
- <summary>
- Looks up a localized string similar to DB concurrency violation..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_DbDataUpdatableRecordReadOnly">
- <summary>
- Looks up a localized string similar to '{0}' cannot be called when the DbDataRecord is read only..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_DbRecordReadOnly">
- <summary>
- Looks up a localized string similar to '{0}' cannot be called when the record is read only..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_DbTypeNotSupported">
- <summary>
- Looks up a localized string similar to No mapping exists from DbType {0} to a known {1}..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_DelegatedTransactionPresent">
- <summary>
- Looks up a localized string similar to Cannot enlist in the transaction because the connection is the primary connection for a delegated or promoted transaction..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_DeriveParametersNotSupported">
- <summary>
- Looks up a localized string similar to {0} DeriveParameters only supports CommandType.StoredProcedure, not CommandType.{1}..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_Descending">
- <summary>
- Looks up a localized string similar to Descending.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_DoubleValuedProperty">
- <summary>
- Looks up a localized string similar to The acceptable values for the property '{0}' are '{1}' or '{2}'..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_DynamicSQLJoinUnsupported">
- <summary>
- Looks up a localized string similar to Dynamic SQL generation is not supported against multiple base tables..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_DynamicSQLNestedQuote">
- <summary>
- Looks up a localized string similar to Dynamic SQL generation not supported against table names '{0}' that contain the QuotePrefix or QuoteSuffix character '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_DynamicSQLNoKeyInfoDelete">
- <summary>
- Looks up a localized string similar to Dynamic SQL generation for the DeleteCommand is not supported against a SelectCommand that does not return any key column information..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_DynamicSQLNoKeyInfoRowVersionDelete">
- <summary>
- Looks up a localized string similar to Dynamic SQL generation for the DeleteCommand is not supported against a SelectCommand that does not contain a row version column..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_DynamicSQLNoKeyInfoRowVersionUpdate">
- <summary>
- Looks up a localized string similar to Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not contain a row version column..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_DynamicSQLNoKeyInfoUpdate">
- <summary>
- Looks up a localized string similar to Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_DynamicSQLNoTableInfo">
- <summary>
- Looks up a localized string similar to Dynamic SQL generation is not supported against a SelectCommand that does not return any base table information..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_EmptyArray">
- <summary>
- Looks up a localized string similar to Expecting non-empty array for '{0}' parameter..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_EmptyDatabaseName">
- <summary>
- Looks up a localized string similar to Database cannot be null, the empty string, or string of only whitespace..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_EmptyString">
- <summary>
- Looks up a localized string similar to Expecting non-empty string for '{0}' parameter..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_EvenLengthLiteralValue">
- <summary>
- Looks up a localized string similar to '{0}':The length of the literal value must be even..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_FillChapterAutoIncrement">
- <summary>
- Looks up a localized string similar to Hierarchical chapter columns must map to an AutoIncrement DataColumn..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_FillRequiresSourceTableName">
- <summary>
- Looks up a localized string similar to Fill: expected a non-empty string for the SourceTable name..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_FillSchemaRequiresSourceTableName">
- <summary>
- Looks up a localized string similar to FillSchema: expected a non-empty string for the SourceTable name..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_HexDigitLiteralValue">
- <summary>
- Looks up a localized string similar to '{0}':The literal value must be a string with hexadecimal digits.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_IncorrectAsyncResult">
- <summary>
- Looks up a localized string similar to Incorrect async result..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InternalConnectionError">
- <summary>
- Looks up a localized string similar to Internal DbConnection Error: {0}.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InternalProviderError">
- <summary>
- Looks up a localized string similar to Internal .NET Framework Data Provider error {0}..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidArgumentLength">
- <summary>
- Looks up a localized string similar to The length of argument '{0}' exceeds it's limit of '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidArgumentValue">
- <summary>
- Looks up a localized string similar to Invalid argument value for method '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidBufferSizeOrIndex">
- <summary>
- Looks up a localized string similar to Buffer offset '{1}' plus the bytes available '{0}' is greater than the length of the passed in buffer..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidCommandTimeout">
- <summary>
- Looks up a localized string similar to Invalid CommandTimeout value {0}; the value must be >= 0..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidConnectionOptionValue">
- <summary>
- Looks up a localized string similar to Invalid value for key '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidConnectionOptionValueLength">
- <summary>
- Looks up a localized string similar to The value's length for key '{0}' exceeds it's limit of '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidConnectTimeoutValue">
- <summary>
- Looks up a localized string similar to Invalid 'Connect Timeout' value which must be an integer >= 0..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidDataDirectory">
- <summary>
- Looks up a localized string similar to The DataDirectory substitute is not a string..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidDataLength">
- <summary>
- Looks up a localized string similar to Data length '{0}' is less than 0..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidDataLength2">
- <summary>
- Looks up a localized string similar to Specified length '{0}' is out of range..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidDataType">
- <summary>
- Looks up a localized string similar to The parameter data type of {0} is invalid..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidDateTimeDigits">
- <summary>
- Looks up a localized string similar to Data type '{0}' can not be formatted as a literal because it has an invalid date time digits..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidDestinationBufferIndex">
- <summary>
- Looks up a localized string similar to Invalid destination buffer (size of {0}) offset: {1}.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidEnumerationValue">
- <summary>
- Looks up a localized string similar to The {0} enumeration value, {1}, is invalid..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidFormatValue">
- <summary>
- Looks up a localized string similar to The value can not be formatted as a literal of the requested type..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidImplicitConversion">
- <summary>
- Looks up a localized string similar to Implicit conversion of object type '{0}' to data type '{1}' is not supported..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidKey">
- <summary>
- Looks up a localized string similar to Invalid keyword, contain one or more of 'no characters', 'control characters', 'leading or trailing whitespace' or 'leading semicolons'..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidMaximumScale">
- <summary>
- Looks up a localized string similar to Data type '{0}' can not be formatted as a literal because it has an invalid maximum scale..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidMaxRecords">
- <summary>
- Looks up a localized string similar to The MaxRecords value of {0} is invalid; the value must be >= 0..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidMetaDataValue">
- <summary>
- Looks up a localized string similar to Invalid value for this metadata..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidMinMaxPoolSizeValues">
- <summary>
- Looks up a localized string similar to Invalid min or max pool size values, min pool size cannot be greater than the max pool size..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidMixedUsageOfAccessTokenAndAuthentication">
- <summary>
- Looks up a localized string similar to Cannot set the AccessToken property if 'Authentication' has been specified in the connection string..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidMixedUsageOfAccessTokenAndContextConnection">
- <summary>
- Looks up a localized string similar to Cannot set the AccessToken property with the 'Context Connection' keyword..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidMixedUsageOfAccessTokenAndCredential">
- <summary>
- Looks up a localized string similar to Cannot set the AccessToken property if the Credential property is already set..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidMixedUsageOfAccessTokenAndIntegratedSecurity">
- <summary>
- Looks up a localized string similar to Cannot set the AccessToken property if the 'Integrated Security' connection string keyword has been set to 'true' or 'SSPI'..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidMixedUsageOfAccessTokenAndUserIDPassword">
- <summary>
- Looks up a localized string similar to Cannot set the AccessToken property if 'UserID', 'UID', 'Password', or 'PWD' has been specified in connection string..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidMixedUsageOfCredentialAndAccessToken">
- <summary>
- Looks up a localized string similar to Cannot set the Credential property if the AccessToken property is already set..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidMixedUsageOfSecureAndClearCredential">
- <summary>
- Looks up a localized string similar to Cannot use Credential with UserID, UID, Password, or PWD connection string keywords..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidMixedUsageOfSecureCredentialAndContextConnection">
- <summary>
- Looks up a localized string similar to Cannot use Credential with Context Connection keyword..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidMixedUsageOfSecureCredentialAndIntegratedSecurity">
- <summary>
- Looks up a localized string similar to Cannot use Credential with Integrated Security connection string keyword..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidMultipartName">
- <summary>
- Looks up a localized string similar to {0} "{1}"..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidMultipartNameQuoteUsage">
- <summary>
- Looks up a localized string similar to {0} "{1}", incorrect usage of quotes..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidMultipartNameToManyParts">
- <summary>
- Looks up a localized string similar to {0} "{1}", the current limit of "{2}" is insufficient..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidOffsetValue">
- <summary>
- Looks up a localized string similar to Invalid parameter Offset value '{0}'. The value must be greater than or equal to 0..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidPrefixSuffix">
- <summary>
- Looks up a localized string similar to Specified QuotePrefix and QuoteSuffix values do not match..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidSeekOrigin">
- <summary>
- Looks up a localized string similar to Specified SeekOrigin value is invalid..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidSizeValue">
- <summary>
- Looks up a localized string similar to Invalid parameter Size value '{0}'. The value must be greater than or equal to 0..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidSourceBufferIndex">
- <summary>
- Looks up a localized string similar to Invalid source buffer (size of {0}) offset: {1}.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidSourceColumn">
- <summary>
- Looks up a localized string similar to SourceColumn is required to be a non-empty string..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidSourceTable">
- <summary>
- Looks up a localized string similar to SourceTable is required to be a non-empty string.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidStartRecord">
- <summary>
- Looks up a localized string similar to The StartRecord value of {0} is invalid; the value must be >= 0..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidUDL">
- <summary>
- Looks up a localized string similar to Invalid UDL file..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidValue">
- <summary>
- Looks up a localized string similar to The value contains embedded nulls (\u0000)..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_InvalidXMLBadVersion">
- <summary>
- Looks up a localized string similar to Invalid Xml; can only parse elements of version one..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_KeywordNotSupported">
- <summary>
- Looks up a localized string similar to Keyword not supported: '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_LiteralValueIsInvalid">
- <summary>
- Looks up a localized string similar to The literal value provided is not a valid literal for the data type '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_LocalTransactionPresent">
- <summary>
- Looks up a localized string similar to Cannot enlist in the transaction because a local transaction is in progress on the connection. Finish local transaction and retry..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_MismatchedAsyncResult">
- <summary>
- Looks up a localized string similar to Mismatched end method call for asyncResult. Expected call to {0} but {1} was called instead..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_MissingColumnMapping">
- <summary>
- Looks up a localized string similar to Missing SourceColumn mapping for '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_MissingConnectionOptionValue">
- <summary>
- Looks up a localized string similar to Use of key '{0}' requires the key '{1}' to be present..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_MissingDataReaderFieldType">
- <summary>
- Looks up a localized string similar to DataReader.GetFieldType({0}) returned null..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_MissingSelectCommand">
- <summary>
- Looks up a localized string similar to The SelectCommand property has not been initialized before calling '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_MissingSourceCommand">
- <summary>
- Looks up a localized string similar to The DataAdapter.SelectCommand property needs to be initialized..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_MissingSourceCommandConnection">
- <summary>
- Looks up a localized string similar to The DataAdapter.SelectCommand.Connection property needs to be initialized;.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_MissingTableMapping">
- <summary>
- Looks up a localized string similar to Missing SourceTable mapping: '{0}'.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_MissingTableMappingDestination">
- <summary>
- Looks up a localized string similar to Missing TableMapping when TableMapping.DataSetTable='{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_MissingTableSchema">
- <summary>
- Looks up a localized string similar to Missing the '{0}' DataTable for the '{1}' SourceTable..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_MultipleReturnValue">
- <summary>
- Looks up a localized string similar to Multiple return value parameters are not supported..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_MustBeReadOnly">
- <summary>
- Looks up a localized string similar to {0} must be marked as read only..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_NegativeParameter">
- <summary>
- Looks up a localized string similar to Invalid value for argument '{0}'. The value must be greater than or equal to 0..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_NoConnectionString">
- <summary>
- Looks up a localized string similar to The ConnectionString property has not been initialized..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_NonCLSException">
- <summary>
- Looks up a localized string similar to A Non CLS Exception was caught..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_NonPooledOpenTimeout">
- <summary>
- Looks up a localized string similar to Timeout attempting to open the connection. The time period elapsed prior to attempting to open the connection has been exceeded. This may have occurred because of too many simultaneous non-pooled connection attempts..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_NonSeqByteAccess">
- <summary>
- Looks up a localized string similar to Invalid {2} attempt at dataIndex '{0}'. With CommandBehavior.SequentialAccess, you may only read from dataIndex '{1}' or greater..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_NonSequentialColumnAccess">
- <summary>
- Looks up a localized string similar to Invalid attempt to read from column ordinal '{0}'. With CommandBehavior.SequentialAccess, you may only read from column ordinal '{1}' or greater..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_NoQuoteChange">
- <summary>
- Looks up a localized string similar to The QuotePrefix and QuoteSuffix properties cannot be changed once an Insert, Update, or Delete command has been generated..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_NoStoredProcedureExists">
- <summary>
- Looks up a localized string similar to The stored procedure '{0}' doesn't exist..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_NotAPermissionElement">
- <summary>
- Looks up a localized string similar to Given security element is not a permission element..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_NotRowType">
- <summary>
- Looks up a localized string similar to Metadata must be SqlDbType.Row.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_NotSupportedEnumerationValue">
- <summary>
- Looks up a localized string similar to The {0} enumeration value, {1}, is not supported by the {2} method..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_NullDataSet">
- <summary>
- Looks up a localized string similar to Unexpected null DataSet argument..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_NullDataTable">
- <summary>
- Looks up a localized string similar to Unexpected null DataTable argument.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_NumericToDecimalOverflow">
- <summary>
- Looks up a localized string similar to The numerical value is too large to fit into a 96 bit decimal..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ObsoleteKeyword">
- <summary>
- Looks up a localized string similar to The '{0}' keyword is obsolete. Use '{1}' instead..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_OdbcNoTypesFromProvider">
- <summary>
- Looks up a localized string similar to The ODBC provider did not return results from SQLGETTYPEINFO..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_OffsetOutOfRangeException">
- <summary>
- Looks up a localized string similar to Offset must refer to a location within the value..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_OnlyOneTableForStartRecordOrMaxRecords">
- <summary>
- Looks up a localized string similar to Only specify one item in the dataTables array when using non-zero values for startRecords or maxRecords..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_OpenConnectionPropertySet">
- <summary>
- Looks up a localized string similar to Not allowed to change the '{0}' property. {1}.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_OpenConnectionRequired">
- <summary>
- Looks up a localized string similar to {0} requires an open and available Connection. {1}.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_OpenConnectionRequired_Clone">
- <summary>
- Looks up a localized string similar to Update requires the updating command to have an open connection object. {1}.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_OpenConnectionRequired_Delete">
- <summary>
- Looks up a localized string similar to Update requires the {0}Command to have an open connection object. {1}.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_OpenConnectionRequired_Insert">
- <summary>
- Looks up a localized string similar to Update requires the {0}Command to have an open connection object. {1}.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_OpenConnectionRequired_Update">
- <summary>
- Looks up a localized string similar to Update requires the {0}Command to have an open connection object. {1}.
- </summary>
- </member>
- <member name="P:System.Strings.ADP_OpenReaderExists">
- <summary>
- Looks up a localized string similar to There is already an open DataReader associated with this {0} which must be closed first..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_OpenResultSetExists">
- <summary>
- Looks up a localized string similar to There is already an open SqlResultSet associated with this command which must be closed first..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_OperationAborted">
- <summary>
- Looks up a localized string similar to Operation aborted..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_OperationAbortedExceptionMessage">
- <summary>
- Looks up a localized string similar to Operation aborted due to an exception (see InnerException for details)..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ParallelTransactionsNotSupported">
- <summary>
- Looks up a localized string similar to {0} does not support parallel transactions..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ParameterConversionFailed">
- <summary>
- Looks up a localized string similar to Failed to convert parameter value from a {0} to a {1}..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ParameterValueOutOfRange">
- <summary>
- Looks up a localized string similar to Parameter value '{0}' is out of range..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_PendingAsyncOperation">
- <summary>
- Looks up a localized string similar to Can not start another operation while there is an asynchronous operation pending..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_PermissionTypeMismatch">
- <summary>
- Looks up a localized string similar to Type mismatch..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_PooledOpenTimeout">
- <summary>
- Looks up a localized string similar to Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_PrepareParameterScale">
- <summary>
- Looks up a localized string similar to {0}.Prepare method requires parameters of type '{1}' have an explicitly set Precision and Scale..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_PrepareParameterSize">
- <summary>
- Looks up a localized string similar to {0}.Prepare method requires all variable length parameters to have an explicitly set non-zero Size..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_PrepareParameterType">
- <summary>
- Looks up a localized string similar to {0}.Prepare method requires all parameters to have an explicitly set type..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_PropertyNotSupported">
- <summary>
- Looks up a localized string similar to The '{0}' property requires Microsoft WindowsNT or a WindowsNT based operating system..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_QuotePrefixNotSet">
- <summary>
- Looks up a localized string similar to {0} requires open connection when the quote prefix has not been set..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_ResultsNotAllowedDuringBatch">
- <summary>
- Looks up a localized string similar to When batching, the command's UpdatedRowSource property value of UpdateRowSource.FirstReturnedRecord or UpdateRowSource.Both is invalid..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_RowUpdatedErrors">
- <summary>
- Looks up a localized string similar to RowUpdatedEvent: Errors occurred; no additional is information available..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_RowUpdatingErrors">
- <summary>
- Looks up a localized string similar to RowUpdatingEvent: Errors occurred; no additional is information available..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_SingleValuedProperty">
- <summary>
- Looks up a localized string similar to The only acceptable value for the property '{0}' is '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_StreamClosed">
- <summary>
- Looks up a localized string similar to Invalid attempt to {0} when stream is closed..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_TransactionCompleted">
- <summary>
- Looks up a localized string similar to The transaction assigned to this command must be the most nested pending local transaction..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_TransactionCompletedButNotDisposed">
- <summary>
- Looks up a localized string similar to The transaction associated with the current connection has completed but has not been disposed. The transaction must be disposed before the connection can be used to execute SQL statements..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_TransactionConnectionMismatch">
- <summary>
- Looks up a localized string similar to The transaction is either not associated with the current connection or has been completed..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_TransactionPresent">
- <summary>
- Looks up a localized string similar to Connection currently has transaction enlisted. Finish current transaction and retry..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_TransactionRequired">
- <summary>
- Looks up a localized string similar to {0} requires the command to have a transaction when the connection assigned to the command is in a pending local transaction. The Transaction property of the command has not been initialized..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_TransactionZombied">
- <summary>
- Looks up a localized string similar to This {0} has completed; it is no longer usable..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_UdlFileError">
- <summary>
- Looks up a localized string similar to Unable to load the UDL file..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_UnableToCreateBooleanLiteral">
- <summary>
- Looks up a localized string similar to Can not determine the correct boolean literal values. Boolean literals can not be created..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_UninitializedParameterSize">
- <summary>
- Looks up a localized string similar to {1}[{0}]: the Size property has an invalid size of 0..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_UnknownDataType">
- <summary>
- Looks up a localized string similar to No mapping exists from object type {0} to a known managed provider native type..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_UnknownDataTypeCode">
- <summary>
- Looks up a localized string similar to Unable to handle an unknown TypeCode {0} returned by Type {1}..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_UnsupportedNativeDataTypeOleDb">
- <summary>
- Looks up a localized string similar to Literals of the native data type associated with data type '{0}' are not supported..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_UnwantedStatementType">
- <summary>
- Looks up a localized string similar to The StatementType {0} is not expected here..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_UpdateConcurrencyViolation_Batch">
- <summary>
- Looks up a localized string similar to Concurrency violation: the batched command affected {0} of the expected {1} records..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_UpdateConcurrencyViolation_Delete">
- <summary>
- Looks up a localized string similar to Concurrency violation: the DeleteCommand affected {0} of the expected {1} records..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_UpdateConcurrencyViolation_Update">
- <summary>
- Looks up a localized string similar to Concurrency violation: the UpdateCommand affected {0} of the expected {1} records..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_UpdateMismatchRowTable">
- <summary>
- Looks up a localized string similar to DataRow[{0}] is from a different DataTable than DataRow[0]..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_UpdateRequiresCommandClone">
- <summary>
- Looks up a localized string similar to Update requires the command clone to be valid..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_UpdateRequiresCommandDelete">
- <summary>
- Looks up a localized string similar to Update requires a valid DeleteCommand when passed DataRow collection with deleted rows..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_UpdateRequiresCommandInsert">
- <summary>
- Looks up a localized string similar to Update requires a valid InsertCommand when passed DataRow collection with new rows..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_UpdateRequiresCommandSelect">
- <summary>
- Looks up a localized string similar to Auto SQL generation during Update requires a valid SelectCommand..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_UpdateRequiresCommandUpdate">
- <summary>
- Looks up a localized string similar to Update requires a valid UpdateCommand when passed DataRow collection with modified rows..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_UpdateRequiresSourceTable">
- <summary>
- Looks up a localized string similar to Update unable to find TableMapping['{0}'] or DataTable '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_UpdateRequiresSourceTableName">
- <summary>
- Looks up a localized string similar to Update: expected a non-empty SourceTable name..
- </summary>
- </member>
- <member name="P:System.Strings.ADP_VersionDoesNotSupportDataType">
- <summary>
- Looks up a localized string similar to The version of SQL Server in use does not support datatype '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.AttestationTokenSignatureValidationFailed">
- <summary>
- Looks up a localized string similar to The validation of an attestation token failed. The token signature does not match the signature omputed using a public key retrieved from the attestation public key endpoint at '{0}'. Verify the DNS apping for the endpoint. If correct, contact Customer Support Services..
- </summary>
- </member>
- <member name="P:System.Strings.AZURESQL_ChinaEndpoint">
- <summary>
- Looks up a localized string similar to .database.chinacloudapi.cn.
- </summary>
- </member>
- <member name="P:System.Strings.AZURESQL_GenericEndpoint">
- <summary>
- Looks up a localized string similar to .database.windows.net.
- </summary>
- </member>
- <member name="P:System.Strings.AZURESQL_GermanEndpoint">
- <summary>
- Looks up a localized string similar to .database.cloudapi.de.
- </summary>
- </member>
- <member name="P:System.Strings.AZURESQL_UsGovEndpoint">
- <summary>
- Looks up a localized string similar to .database.usgovcloudapi.net.
- </summary>
- </member>
- <member name="P:System.Strings.CodeGen_DuplicateTableName">
- <summary>
- Looks up a localized string similar to There is more than one table with the same name '{0}' (even if namespace is different)..
- </summary>
- </member>
- <member name="P:System.Strings.CodeGen_InvalidIdentifier">
- <summary>
- Looks up a localized string similar to Cannot generate identifier for name '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.CodeGen_NoCtor0">
- <summary>
- Looks up a localized string similar to Column '{0}': Type '{1}' does not have parameterless constructor..
- </summary>
- </member>
- <member name="P:System.Strings.CodeGen_NoCtor1">
- <summary>
- Looks up a localized string similar to Column '{0}': Type '{1}' does not have constructor with string argument..
- </summary>
- </member>
- <member name="P:System.Strings.CodeGen_TypeCantBeNull">
- <summary>
- Looks up a localized string similar to Column '{0}': Type '{1}' cannot be null..
- </summary>
- </member>
- <member name="P:System.Strings.collectionChangedEventDescr">
- <summary>
- Looks up a localized string similar to Occurs whenever this collection's membership changes..
- </summary>
- </member>
- <member name="P:System.Strings.ConfigBaseElementsOnly">
- <summary>
- Looks up a localized string similar to Only elements allowed..
- </summary>
- </member>
- <member name="P:System.Strings.ConfigBaseNoChildNodes">
- <summary>
- Looks up a localized string similar to Child nodes not allowed..
- </summary>
- </member>
- <member name="P:System.Strings.ConfigProviderInvalid">
- <summary>
- Looks up a localized string similar to The requested .NET Framework Data Provider's implementation does not have an Instance field of a System.Data.Common.DbProviderFactory derived type..
- </summary>
- </member>
- <member name="P:System.Strings.ConfigProviderMissing">
- <summary>
- Looks up a localized string similar to The missing .NET Framework Data Provider's assembly qualified name is required..
- </summary>
- </member>
- <member name="P:System.Strings.ConfigProviderNotFound">
- <summary>
- Looks up a localized string similar to Unable to find the requested .NET Framework Data Provider. It may not be installed..
- </summary>
- </member>
- <member name="P:System.Strings.ConfigProviderNotInstalled">
- <summary>
- Looks up a localized string similar to Failed to find or load the registered .NET Framework Data Provider..
- </summary>
- </member>
- <member name="P:System.Strings.ConfigRequiredAttributeEmpty">
- <summary>
- Looks up a localized string similar to Required attribute '{0}' cannot be empty..
- </summary>
- </member>
- <member name="P:System.Strings.ConfigRequiredAttributeMissing">
- <summary>
- Looks up a localized string similar to Required attribute '{0}' not found..
- </summary>
- </member>
- <member name="P:System.Strings.ConfigSectionsUnique">
- <summary>
- Looks up a localized string similar to The '{0}' section can only appear once per config file..
- </summary>
- </member>
- <member name="P:System.Strings.ConfigUnrecognizedAttributes">
- <summary>
- Looks up a localized string similar to Unrecognized attribute '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.ConfigUnrecognizedElement">
- <summary>
- Looks up a localized string similar to Unrecognized element..
- </summary>
- </member>
- <member name="P:System.Strings.ConstraintNameDescr">
- <summary>
- Looks up a localized string similar to Indicates the name of this constraint..
- </summary>
- </member>
- <member name="P:System.Strings.ConstraintTableDescr">
- <summary>
- Looks up a localized string similar to Indicates the table of this constraint..
- </summary>
- </member>
- <member name="P:System.Strings.Data_ArgumentContainsNull">
- <summary>
- Looks up a localized string similar to '{0}' argument contains null value..
- </summary>
- </member>
- <member name="P:System.Strings.Data_ArgumentNull">
- <summary>
- Looks up a localized string similar to '{0}' argument cannot be null..
- </summary>
- </member>
- <member name="P:System.Strings.Data_ArgumentOutOfRange">
- <summary>
- Looks up a localized string similar to '{0}' argument is out of range..
- </summary>
- </member>
- <member name="P:System.Strings.Data_CannotModifyCollection">
- <summary>
- Looks up a localized string similar to Collection itself is not modifiable..
- </summary>
- </member>
- <member name="P:System.Strings.Data_CaseInsensitiveNameConflict">
- <summary>
- Looks up a localized string similar to The given name '{0}' matches at least two names in the collection object with different cases, but does not match either of them with the same case..
- </summary>
- </member>
- <member name="P:System.Strings.Data_EnforceConstraints">
- <summary>
- Looks up a localized string similar to Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints..
- </summary>
- </member>
- <member name="P:System.Strings.Data_InvalidOffsetLength">
- <summary>
- Looks up a localized string similar to Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection..
- </summary>
- </member>
- <member name="P:System.Strings.Data_NamespaceNameConflict">
- <summary>
- Looks up a localized string similar to The given name '{0}' matches at least two names in the collection object with different namespaces..
- </summary>
- </member>
- <member name="P:System.Strings.DataAdapter_AcceptChangesDuringFill">
- <summary>
- Looks up a localized string similar to Whether or not Fill will call DataRow.AcceptChanges..
- </summary>
- </member>
- <member name="P:System.Strings.DataAdapter_AcceptChangesDuringUpdate">
- <summary>
- Looks up a localized string similar to Whether or not Update will call DataRow.AcceptChanges..
- </summary>
- </member>
- <member name="P:System.Strings.DataAdapter_ContinueUpdateOnError">
- <summary>
- Looks up a localized string similar to Whether or not to continue to the next DataRow when the Update events, RowUpdating and RowUpdated, Status is UpdateStatus.ErrorsOccurred..
- </summary>
- </member>
- <member name="P:System.Strings.DataAdapter_FillError">
- <summary>
- Looks up a localized string similar to Event triggered when a recoverable error occurs during Fill..
- </summary>
- </member>
- <member name="P:System.Strings.DataAdapter_FillLoadOption">
- <summary>
- Looks up a localized string similar to How the adapter fills the DataTable from the DataReader..
- </summary>
- </member>
- <member name="P:System.Strings.DataAdapter_MissingMappingAction">
- <summary>
- Looks up a localized string similar to The action taken when a table or column in the TableMappings is missing..
- </summary>
- </member>
- <member name="P:System.Strings.DataAdapter_MissingSchemaAction">
- <summary>
- Looks up a localized string similar to The action taken when a table or column in the DataSet is missing..
- </summary>
- </member>
- <member name="P:System.Strings.DataAdapter_ReturnProviderSpecificTypes">
- <summary>
- Looks up a localized string similar to Should Fill return provider specific values or common CLSCompliant values..
- </summary>
- </member>
- <member name="P:System.Strings.DataAdapter_TableMappings">
- <summary>
- Looks up a localized string similar to How to map source table to DataSet table..
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_Action">
- <summary>
- Looks up a localized string similar to Action.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_Advanced">
- <summary>
- Looks up a localized string similar to Advanced.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_Behavior">
- <summary>
- Looks up a localized string similar to Behavior.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_ConnectionResilency">
- <summary>
- Looks up a localized string similar to Connection Resiliency.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_Context">
- <summary>
- Looks up a localized string similar to Context.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_Data">
- <summary>
- Looks up a localized string similar to Data.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_Fill">
- <summary>
- Looks up a localized string similar to Fill.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_InfoMessage">
- <summary>
- Looks up a localized string similar to InfoMessage.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_Initialization">
- <summary>
- Looks up a localized string similar to Initialization.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_Mapping">
- <summary>
- Looks up a localized string similar to Mapping.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_NamedConnectionString">
- <summary>
- Looks up a localized string similar to Named ConnectionString.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_Notification">
- <summary>
- Looks up a localized string similar to Notification.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_Pooling">
- <summary>
- Looks up a localized string similar to Pooling.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_Replication">
- <summary>
- Looks up a localized string similar to Replication.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_Schema">
- <summary>
- Looks up a localized string similar to Schema.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_Security">
- <summary>
- Looks up a localized string similar to Security.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_Source">
- <summary>
- Looks up a localized string similar to Source.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_StateChange">
- <summary>
- Looks up a localized string similar to StateChange.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_StatementCompleted">
- <summary>
- Looks up a localized string similar to StatementCompleted.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_Udt">
- <summary>
- Looks up a localized string similar to UDT.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_Update">
- <summary>
- Looks up a localized string similar to Update.
- </summary>
- </member>
- <member name="P:System.Strings.DataCategory_Xml">
- <summary>
- Looks up a localized string similar to XML.
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_AutoIncrementAndDefaultValue">
- <summary>
- Looks up a localized string similar to Cannot set AutoIncrement property for a column with DefaultValue set..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_AutoIncrementAndExpression">
- <summary>
- Looks up a localized string similar to Cannot set AutoIncrement property for a computed column..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_AutoIncrementCannotSetIfHasData">
- <summary>
- Looks up a localized string similar to Cannot change AutoIncrement of a DataColumn with type '{0}' once it has data..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_AutoIncrementSeed">
- <summary>
- Looks up a localized string similar to AutoIncrementStep must be a non-zero value..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_CannotChangeNamespace">
- <summary>
- Looks up a localized string similar to Cannot change the Column '{0}' property Namespace. The Column is SimpleContent..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_CannotSetDateTimeModeForNonDateTimeColumns">
- <summary>
- Looks up a localized string similar to The DateTimeMode can be set only on DataColumns of type DateTime..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_CannotSetMaxLength">
- <summary>
- Looks up a localized string similar to Cannot set Column '{0}' property MaxLength to '{1}'. There is at least one string in the table longer than the new limit..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_CannotSetMaxLength2">
- <summary>
- Looks up a localized string similar to Cannot set Column '{0}' property MaxLength. The Column is SimpleContent..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_CannotSetToNull">
- <summary>
- Looks up a localized string similar to Cannot set Column '{0}' to be null. Please use DBNull instead..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_CannotSimpleContent">
- <summary>
- Looks up a localized string similar to Cannot set Column '{0}' property MappingType to SimpleContent. The Column DataType is {1}..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_CannotSimpleContentType">
- <summary>
- Looks up a localized string similar to Cannot set Column '{0}' property DataType to {1}. The Column is SimpleContent..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_ChangeDataType">
- <summary>
- Looks up a localized string similar to Cannot change DataType of a column once it has data..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_DateTimeMode">
- <summary>
- Looks up a localized string similar to Cannot change DateTimeMode from '{0}' to '{1}' once the table has data..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_DefaultValueAndAutoIncrement">
- <summary>
- Looks up a localized string similar to Cannot set a DefaultValue on an AutoIncrement column..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_DefaultValueColumnDataType">
- <summary>
- Looks up a localized string similar to The DefaultValue for column {0} is of type {1}, but the column is of type {2}..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_DefaultValueDataType">
- <summary>
- Looks up a localized string similar to The DefaultValue for column {0} is of type {1} and cannot be converted to {2}..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_DefaultValueDataType1">
- <summary>
- Looks up a localized string similar to The DefaultValue for the column is of type {0} and cannot be converted to {1}..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_ExceedMaxLength">
- <summary>
- Looks up a localized string similar to Column '{0}' exceeds the MaxLength limit..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_ExpressionAndConstraint">
- <summary>
- Looks up a localized string similar to Cannot set Expression property on column {0}, because it is a part of a constraint..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_ExpressionAndReadOnly">
- <summary>
- Looks up a localized string similar to Cannot set expression because column cannot be made ReadOnly..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_ExpressionAndUnique">
- <summary>
- Looks up a localized string similar to Cannot create an expression on a column that has AutoIncrement or Unique..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_ExpressionCircular">
- <summary>
- Looks up a localized string similar to Cannot set Expression property due to circular reference in the expression..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_ExpressionInConstraint">
- <summary>
- Looks up a localized string similar to Cannot create a constraint based on Expression column {0}..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_HasToBeStringType">
- <summary>
- Looks up a localized string similar to MaxLength applies to string data type only. You cannot set Column '{0}' property MaxLength to be non-negative number..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_INullableUDTwithoutStaticNull">
- <summary>
- Looks up a localized string similar to Type '{0}' does not contain static Null property or field..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_InvalidDataColumnMapping">
- <summary>
- Looks up a localized string similar to DataColumn with type '{0}' is a complexType. Can not serialize value of a complex type as Attribute.
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_InvalidDateTimeMode">
- <summary>
- Looks up a localized string similar to '{0}' is Invalid DataSetDateTime value..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_LongerThanMaxLength">
- <summary>
- Looks up a localized string similar to Cannot set column '{0}'. The value violates the MaxLength limit of this column..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_NameRequired">
- <summary>
- Looks up a localized string similar to ColumnName is required when it is part of a DataTable..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_NonUniqueValues">
- <summary>
- Looks up a localized string similar to Column '{0}' contains non-unique values..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_NotAllowDBNull">
- <summary>
- Looks up a localized string similar to Column '{0}' does not allow DBNull.Value..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_NotInAnyTable">
- <summary>
- Looks up a localized string similar to Column must belong to a table..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_NotInTheTable">
- <summary>
- Looks up a localized string similar to Column '{0}' does not belong to table {1}..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_NotInTheUnderlyingTable">
- <summary>
- Looks up a localized string similar to Column '{0}' does not belong to underlying table '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_NullableTypesNotSupported">
- <summary>
- Looks up a localized string similar to DataSet does not support System.Nullable<>..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_NullDataType">
- <summary>
- Looks up a localized string similar to Column requires a valid DataType..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_NullKeyValues">
- <summary>
- Looks up a localized string similar to Column '{0}' has null values in it..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_NullValues">
- <summary>
- Looks up a localized string similar to Column '{0}' does not allow nulls..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_OrdinalExceedMaximun">
- <summary>
- Looks up a localized string similar to Ordinal '{0}' exceeds the maximum number..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_ReadOnly">
- <summary>
- Looks up a localized string similar to Column '{0}' is read only..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_ReadOnlyAndExpression">
- <summary>
- Looks up a localized string similar to Cannot change ReadOnly property for the expression column..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_SetAddedAndModifiedCalledOnNonUnchanged">
- <summary>
- Looks up a localized string similar to SetAdded and SetModified can only be called on DataRows with Unchanged DataRowState..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_SetFailed">
- <summary>
- Looks up a localized string similar to Couldn't store <{0}> in {1} Column. Expected type is {2}..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_UDTImplementsIChangeTrackingButnotIRevertible">
- <summary>
- Looks up a localized string similar to Type '{0}' does not implement IRevertibleChangeTracking; therefore can not proceed with RejectChanges()..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumn_UniqueAndExpression">
- <summary>
- Looks up a localized string similar to Cannot change Unique property for the expression column..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnAllowNullDescr">
- <summary>
- Looks up a localized string similar to Indicates whether null values are allowed in this column..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnAutoIncrementDescr">
- <summary>
- Looks up a localized string similar to Indicates whether the column automatically increments itself for new rows added to the table. The type of this column must be Int16, Int32, or Int64..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnAutoIncrementSeedDescr">
- <summary>
- Looks up a localized string similar to Indicates the starting value for an AutoIncrement column..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnAutoIncrementStepDescr">
- <summary>
- Looks up a localized string similar to Indicates the increment used by an AutoIncrement column..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnCaptionDescr">
- <summary>
- Looks up a localized string similar to Indicates the default user-interface caption for this column..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnColumnNameDescr">
- <summary>
- Looks up a localized string similar to Indicates the name used to look up this column in the Columns collection of a DataTable..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnDataTableDescr">
- <summary>
- Looks up a localized string similar to Returns the DataTable to which this column belongs..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnDataTypeDescr">
- <summary>
- Looks up a localized string similar to Indicates the type of data stored in this column..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnDateTimeModeDescr">
- <summary>
- Looks up a localized string similar to Indicates DateTimeMode of this DataColumn..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnDefaultValueDescr">
- <summary>
- Looks up a localized string similar to Indicates the default column value used when adding new rows to the table..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnExpressionDescr">
- <summary>
- Looks up a localized string similar to Indicates the value that this column computes for each row based on other columns instead of taking user input..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnMapping_DataSetColumn">
- <summary>
- Looks up a localized string similar to DataColumn.ColumnName.
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnMapping_SourceColumn">
- <summary>
- Looks up a localized string similar to Source column name - case sensitive..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnMappingDescr">
- <summary>
- Looks up a localized string similar to Indicates how this column persists in XML: as an attribute, element, simple content node, or nothing..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnMappings_Count">
- <summary>
- Looks up a localized string similar to The number of items in the collection.
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnMappings_Item">
- <summary>
- Looks up a localized string similar to The specified DataColumnMapping object..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnMaxLengthDescr">
- <summary>
- Looks up a localized string similar to Indicates the maximum length of the value this column allows..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnNamespaceDescr">
- <summary>
- Looks up a localized string similar to Indicates the XML uri for elements or attributes stored in this column..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnOrdinalDescr">
- <summary>
- Looks up a localized string similar to Indicates the index of this column in the Columns collection..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnPrefixDescr">
- <summary>
- Looks up a localized string similar to Indicates the Prefix used for this DataColumn in xml representation..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnReadOnlyDescr">
- <summary>
- Looks up a localized string similar to Indicates whether this column allows changes once a row has been added to the table..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumns_Add1">
- <summary>
- Looks up a localized string similar to Column '{0}' already belongs to this DataTable..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumns_Add2">
- <summary>
- Looks up a localized string similar to Column '{0}' already belongs to another DataTable..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumns_Add3">
- <summary>
- Looks up a localized string similar to Cannot have more than one SimpleContent columns in a DataTable..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumns_Add4">
- <summary>
- Looks up a localized string similar to Cannot add a SimpleContent column to a table containing element columns or nested relations..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumns_AddDuplicate">
- <summary>
- Looks up a localized string similar to A column named '{0}' already belongs to this DataTable..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumns_AddDuplicate2">
- <summary>
- Looks up a localized string similar to Cannot add a column named '{0}': a nested table with the same name already belongs to this DataTable..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumns_AddDuplicate3">
- <summary>
- Looks up a localized string similar to A column named '{0}' already belongs to this DataTable: cannot set a nested table name to the same name..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumns_OutOfRange">
- <summary>
- Looks up a localized string similar to Cannot find column {0}..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumns_Remove">
- <summary>
- Looks up a localized string similar to Cannot remove a column that doesn't belong to this table..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumns_RemoveChildKey">
- <summary>
- Looks up a localized string similar to Cannot remove this column, because it is part of the parent key for relationship {0}..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumns_RemoveConstraint">
- <summary>
- Looks up a localized string similar to Cannot remove this column, because it is a part of the constraint {0} on the table {1}..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumns_RemoveExpression">
- <summary>
- Looks up a localized string similar to Cannot remove this column, because it is part of an expression: {0} = {1}..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumns_RemovePrimaryKey">
- <summary>
- Looks up a localized string similar to Cannot remove this column, because it's part of the primary key..
- </summary>
- </member>
- <member name="P:System.Strings.DataColumnUniqueDescr">
- <summary>
- Looks up a localized string similar to Indicates whether this column should restrict its values in the rows of the table to be unique..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_AddFailed">
- <summary>
- Looks up a localized string similar to This constraint cannot be added since ForeignKey doesn't belong to table {0}..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_AddPrimaryKeyConstraint">
- <summary>
- Looks up a localized string similar to Cannot add primary key constraint since primary key is already set for the table..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_BadObjectPropertyAccess">
- <summary>
- Looks up a localized string similar to Property not accessible because '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_CantAddConstraintToMultipleNestedTable">
- <summary>
- Looks up a localized string similar to Cannot add constraint to DataTable '{0}' which is a child table in two nested relations..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_CascadeDelete">
- <summary>
- Looks up a localized string similar to Cannot delete this row because constraints are enforced on relation {0}, and deleting this row will strand child rows..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_CascadeUpdate">
- <summary>
- Looks up a localized string similar to Cannot make this change because constraints are enforced on relation {0}, and changing this value will strand child rows..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_ClearParentTable">
- <summary>
- Looks up a localized string similar to Cannot clear table {0} because ForeignKeyConstraint {1} enforces constraints and there are child rows in {2}..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_Duplicate">
- <summary>
- Looks up a localized string similar to Constraint matches constraint named {0} already in collection..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_DuplicateName">
- <summary>
- Looks up a localized string similar to A Constraint named '{0}' already belongs to this DataTable..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_ForeignKeyViolation">
- <summary>
- Looks up a localized string similar to ForeignKeyConstraint {0} requires the child key values ({1}) to exist in the parent table..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_ForeignTable">
- <summary>
- Looks up a localized string similar to These columns don't point to this table..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_NeededForForeignKeyConstraint">
- <summary>
- Looks up a localized string similar to Cannot remove unique constraint '{0}'. Remove foreign key constraint '{1}' first..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_NoName">
- <summary>
- Looks up a localized string similar to Cannot change the name of a constraint to empty string when it is in the ConstraintCollection..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_NotInTheTable">
- <summary>
- Looks up a localized string similar to Constraint '{0}' does not belong to this DataTable..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_OutOfRange">
- <summary>
- Looks up a localized string similar to Cannot find constraint {0}..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_ParentValues">
- <summary>
- Looks up a localized string similar to This constraint cannot be enabled as not all values have corresponding parent values..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_RemoveFailed">
- <summary>
- Looks up a localized string similar to Cannot remove a constraint that doesn't belong to this table..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_RemoveParentRow">
- <summary>
- Looks up a localized string similar to Cannot remove this row because it has child rows, and constraints on relation {0} are enforced..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_UniqueViolation">
- <summary>
- Looks up a localized string similar to These columns don't currently have unique values..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_Violation">
- <summary>
- Looks up a localized string similar to Cannot enforce constraints on constraint {0}..
- </summary>
- </member>
- <member name="P:System.Strings.DataConstraint_ViolationValue">
- <summary>
- Looks up a localized string similar to Column '{0}' is constrained to be unique. Value '{1}' is already present..
- </summary>
- </member>
- <member name="P:System.Strings.DataDom_CloneNode">
- <summary>
- Looks up a localized string similar to This type of node cannot be cloned: {0}..
- </summary>
- </member>
- <member name="P:System.Strings.DataDom_ColumnMappingChange">
- <summary>
- Looks up a localized string similar to Cannot change the ColumnMapping property once the associated DataSet is mapped to a loaded XML document..
- </summary>
- </member>
- <member name="P:System.Strings.DataDom_ColumnNameChange">
- <summary>
- Looks up a localized string similar to Cannot change the column name once the associated DataSet is mapped to a loaded XML document..
- </summary>
- </member>
- <member name="P:System.Strings.DataDom_ColumnNamespaceChange">
- <summary>
- Looks up a localized string similar to Cannot change the column namespace once the associated DataSet is mapped to a loaded XML document..
- </summary>
- </member>
- <member name="P:System.Strings.DataDom_DataSetNameChange">
- <summary>
- Looks up a localized string similar to Cannot change the DataSet name once the DataSet is mapped to a loaded XML document..
- </summary>
- </member>
- <member name="P:System.Strings.DataDom_DataSetNestedRelationsChange">
- <summary>
- Looks up a localized string similar to Cannot add, remove, or change Nested relations from the DataSet once the DataSet is mapped to a loaded XML document..
- </summary>
- </member>
- <member name="P:System.Strings.DataDom_DataSetNull">
- <summary>
- Looks up a localized string similar to The DataSet parameter is invalid. It cannot be null..
- </summary>
- </member>
- <member name="P:System.Strings.DataDom_DataSetTablesChange">
- <summary>
- Looks up a localized string similar to Cannot add or remove tables from the DataSet once the DataSet is mapped to a loaded XML document..
- </summary>
- </member>
- <member name="P:System.Strings.DataDom_EnforceConstraintsShouldBeOff">
- <summary>
- Looks up a localized string similar to Please set DataSet.EnforceConstraints == false before trying to edit XmlDataDocument using XML operations..
- </summary>
- </member>
- <member name="P:System.Strings.DataDom_Foliation">
- <summary>
- Looks up a localized string similar to Invalid foliation..
- </summary>
- </member>
- <member name="P:System.Strings.DataDom_MultipleDataSet">
- <summary>
- Looks up a localized string similar to DataSet can be associated with at most one XmlDataDocument. Cannot associate the DataSet with the current XmlDataDocument because the DataSet is already associated with another XmlDataDocument..
- </summary>
- </member>
- <member name="P:System.Strings.DataDom_MultipleLoad">
- <summary>
- Looks up a localized string similar to Cannot load XmlDataDocument if it already contains data. Please use a new XmlDataDocument..
- </summary>
- </member>
- <member name="P:System.Strings.DataDom_NotSupport_Clear">
- <summary>
- Looks up a localized string similar to Clear function on DateSet and DataTable is not supported on XmlDataDocument..
- </summary>
- </member>
- <member name="P:System.Strings.DataDom_NotSupport_EntRef">
- <summary>
- Looks up a localized string similar to Cannot create entity references on DataDocument..
- </summary>
- </member>
- <member name="P:System.Strings.DataDom_NotSupport_GetElementById">
- <summary>
- Looks up a localized string similar to GetElementById() is not supported on DataDocument..
- </summary>
- </member>
- <member name="P:System.Strings.DataDom_TableColumnsChange">
- <summary>
- Looks up a localized string similar to Cannot add or remove columns from the table once the DataSet is mapped to a loaded XML document..
- </summary>
- </member>
- <member name="P:System.Strings.DataDom_TableNameChange">
- <summary>
- Looks up a localized string similar to Cannot change the table name once the associated DataSet is mapped to a loaded XML document..
- </summary>
- </member>
- <member name="P:System.Strings.DataDom_TableNamespaceChange">
- <summary>
- Looks up a localized string similar to Cannot change the table namespace once the associated DataSet is mapped to a loaded XML document..
- </summary>
- </member>
- <member name="P:System.Strings.DataIndex_FindWithoutSortOrder">
- <summary>
- Looks up a localized string similar to Find finds a row based on a Sort order, and no Sort order is specified..
- </summary>
- </member>
- <member name="P:System.Strings.DataIndex_KeyLength">
- <summary>
- Looks up a localized string similar to Expecting {0} value(s) for the key being indexed, but received {1} value(s)..
- </summary>
- </member>
- <member name="P:System.Strings.DataIndex_RecordStateRange">
- <summary>
- Looks up a localized string similar to The RowStates parameter must be set to a valid combination of values from the DataViewRowState enumeration..
- </summary>
- </member>
- <member name="P:System.Strings.DataKey_DuplicateColumns">
- <summary>
- Looks up a localized string similar to Cannot create a Key when the same column is listed more than once: '{0}'.
- </summary>
- </member>
- <member name="P:System.Strings.DataKey_NoColumns">
- <summary>
- Looks up a localized string similar to Cannot have 0 columns..
- </summary>
- </member>
- <member name="P:System.Strings.DataKey_RemovePrimaryKey">
- <summary>
- Looks up a localized string similar to Cannot remove unique constraint since it's the primary key of a table..
- </summary>
- </member>
- <member name="P:System.Strings.DataKey_RemovePrimaryKey1">
- <summary>
- Looks up a localized string similar to Cannot remove unique constraint since it's the primary key of table {0}..
- </summary>
- </member>
- <member name="P:System.Strings.DataKey_TableMismatch">
- <summary>
- Looks up a localized string similar to Cannot create a Key from Columns that belong to different tables..
- </summary>
- </member>
- <member name="P:System.Strings.DataKey_TooManyColumns">
- <summary>
- Looks up a localized string similar to Cannot have more than {0} columns..
- </summary>
- </member>
- <member name="P:System.Strings.DataMerge_DataTypeMismatch">
- <summary>
- Looks up a localized string similar to <target>.{0} and <source>.{0} have conflicting properties: DataType property mismatch..
- </summary>
- </member>
- <member name="P:System.Strings.DataMerge_MissingColumnDefinition">
- <summary>
- Looks up a localized string similar to Target table {0} missing definition for column {1}..
- </summary>
- </member>
- <member name="P:System.Strings.DataMerge_MissingConstraint">
- <summary>
- Looks up a localized string similar to Target DataSet missing {0} {1}..
- </summary>
- </member>
- <member name="P:System.Strings.DataMerge_MissingDefinition">
- <summary>
- Looks up a localized string similar to Target DataSet missing definition for {0}..
- </summary>
- </member>
- <member name="P:System.Strings.DataMerge_MissingPrimaryKeyColumnInSource">
- <summary>
- Looks up a localized string similar to PrimaryKey column {0} does not exist in source Table..
- </summary>
- </member>
- <member name="P:System.Strings.DataMerge_PrimaryKeyColumnsMismatch">
- <summary>
- Looks up a localized string similar to Mismatch columns in the PrimaryKey : <target>.{0} versus <source>.{1}..
- </summary>
- </member>
- <member name="P:System.Strings.DataMerge_PrimaryKeyMismatch">
- <summary>
- Looks up a localized string similar to <target>.PrimaryKey and <source>.PrimaryKey have different Length..
- </summary>
- </member>
- <member name="P:System.Strings.DataMerge_ReltionKeyColumnsMismatch">
- <summary>
- Looks up a localized string similar to Relation {0} cannot be merged, because keys have mismatch columns..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_AlreadyExists">
- <summary>
- Looks up a localized string similar to A relation already exists for these child columns..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_AlreadyInOtherDataSet">
- <summary>
- Looks up a localized string similar to This relation already belongs to another DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_AlreadyInTheDataSet">
- <summary>
- Looks up a localized string similar to This relation already belongs to this DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_CaseLocaleMismatch">
- <summary>
- Looks up a localized string similar to Cannot add a DataRelation or Constraint that has different Locale or CaseSensitive settings between its parent and child tables..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_ChildTableMismatch">
- <summary>
- Looks up a localized string similar to Cannot add a relation to this table's ParentRelation collection where this table isn't the child table..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_ColumnsTypeMismatch">
- <summary>
- Looks up a localized string similar to Parent Columns and Child Columns don't have type-matching columns..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_DataSetMismatch">
- <summary>
- Looks up a localized string similar to Cannot have a relationship between tables in different DataSets..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_DoesNotExist">
- <summary>
- Looks up a localized string similar to This relation doesn't belong to this relation collection..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_DuplicateName">
- <summary>
- Looks up a localized string similar to A Relation named '{0}' already belongs to this DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_ForeignDataSet">
- <summary>
- Looks up a localized string similar to This relation should connect two tables in this DataSet to be added to this DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_ForeignRow">
- <summary>
- Looks up a localized string similar to The row doesn't belong to the same DataSet as this relation..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_ForeignTable">
- <summary>
- Looks up a localized string similar to GetChildRows requires a row whose Table is {0}, but the specified row's Table is {1}..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_GetParentRowTableMismatch">
- <summary>
- Looks up a localized string similar to GetParentRow requires a row whose Table is {0}, but the specified row's Table is {1}..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_InValidNamespaceInNestedRelation">
- <summary>
- Looks up a localized string similar to Nested table '{0}' with empty namespace cannot have multiple parent tables in different namespaces..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_InValidNestedRelation">
- <summary>
- Looks up a localized string similar to Nested table '{0}' which inherits its namespace cannot have multiple parent tables in different namespaces..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_KeyColumnsIdentical">
- <summary>
- Looks up a localized string similar to ParentKey and ChildKey are identical..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_KeyLengthMismatch">
- <summary>
- Looks up a localized string similar to ParentColumns and ChildColumns should be the same length..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_KeyZeroLength">
- <summary>
- Looks up a localized string similar to ParentColumns and ChildColumns must not be zero length..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_LoopInNestedRelations">
- <summary>
- Looks up a localized string similar to The table ({0}) cannot be the child table to itself in nested relations..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_NoName">
- <summary>
- Looks up a localized string similar to RelationName is required when it is part of a DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_NotInTheDataSet">
- <summary>
- Looks up a localized string similar to Relation {0} does not belong to this DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_OutOfRange">
- <summary>
- Looks up a localized string similar to Cannot find relation {0}..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_ParentOrChildColumnsDoNotHaveDataSet">
- <summary>
- Looks up a localized string similar to Cannot create a DataRelation if Parent or Child Columns are not in a DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_ParentTableMismatch">
- <summary>
- Looks up a localized string similar to Cannot add a relation to this table's ChildRelation collection where this table isn't the parent table..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_RelationNestedReadOnly">
- <summary>
- Looks up a localized string similar to Cannot set the 'Nested' property to false for this relation..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_SetParentRowTableMismatch">
- <summary>
- Looks up a localized string similar to SetParentRow requires a child row whose Table is {0}, but the specified row's Table is {1}..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_TableCantBeNestedInTwoTables">
- <summary>
- Looks up a localized string similar to The same table '{0}' cannot be the child table in two nested relations..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_TableNull">
- <summary>
- Looks up a localized string similar to Cannot create a collection on a null table..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_TablesInDifferentSets">
- <summary>
- Looks up a localized string similar to Cannot create a relation between tables in different DataSets..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelation_TableWasRemoved">
- <summary>
- Looks up a localized string similar to The table this collection displays relations for has been removed from its DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelationChildColumnsDescr">
- <summary>
- Looks up a localized string similar to Indicates the child columns of this relation..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelationNested">
- <summary>
- Looks up a localized string similar to Indicates whether relations are nested..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelationParentColumnsDescr">
- <summary>
- Looks up a localized string similar to Indicates the parent columns of this relation..
- </summary>
- </member>
- <member name="P:System.Strings.DataRelationRelationNameDescr">
- <summary>
- Looks up a localized string similar to The name used to look up this relation in the Relations collection of a DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_AlreadyDeleted">
- <summary>
- Looks up a localized string similar to Cannot delete this row since it's already deleted..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_AlreadyInOtherCollection">
- <summary>
- Looks up a localized string similar to This row already belongs to another table..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_AlreadyInTheCollection">
- <summary>
- Looks up a localized string similar to This row already belongs to this table..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_AlreadyRemoved">
- <summary>
- Looks up a localized string similar to Cannot remove a row that's already been removed..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_BeginEditInRowChanging">
- <summary>
- Looks up a localized string similar to Cannot call BeginEdit() inside the RowChanging event..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_CancelEditInRowChanging">
- <summary>
- Looks up a localized string similar to Cannot call CancelEdit() inside an OnRowChanging event. Throw an exception to cancel this update..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_DeletedRowInaccessible">
- <summary>
- Looks up a localized string similar to Deleted row information cannot be accessed through the row..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_DeleteInRowDeleting">
- <summary>
- Looks up a localized string similar to Cannot call Delete inside an OnRowDeleting event. Throw an exception to cancel this delete..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_EditInRowChanging">
- <summary>
- Looks up a localized string similar to Cannot change a proposed value in the RowChanging event..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_Empty">
- <summary>
- Looks up a localized string similar to This row is empty..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_EndEditInRowChanging">
- <summary>
- Looks up a localized string similar to Cannot call EndEdit() inside an OnRowChanging event..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_InvalidRowBitPattern">
- <summary>
- Looks up a localized string similar to Unrecognized row state bit pattern..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_InvalidVersion">
- <summary>
- Looks up a localized string similar to Version must be Original, Current, or Proposed..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_MultipleParents">
- <summary>
- Looks up a localized string similar to A child row has multiple parents..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_NoCurrentData">
- <summary>
- Looks up a localized string similar to There is no Current data to access..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_NoOriginalData">
- <summary>
- Looks up a localized string similar to There is no Original data to access..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_NoProposedData">
- <summary>
- Looks up a localized string similar to There is no Proposed data to access..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_NotInTheDataSet">
- <summary>
- Looks up a localized string similar to The row doesn't belong to the same DataSet as this relation..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_NotInTheTable">
- <summary>
- Looks up a localized string similar to Cannot perform this operation on a row not in the table..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_OutOfRange">
- <summary>
- Looks up a localized string similar to There is no row at position {0}..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_ParentRowNotInTheDataSet">
- <summary>
- Looks up a localized string similar to This relation and child row don't belong to same DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_RemovedFromTheTable">
- <summary>
- Looks up a localized string similar to This row has been removed from a table and does not have any data. BeginEdit() will allow creation of new data in this row..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_RowInsertMissing">
- <summary>
- Looks up a localized string similar to Values are missing in the rowOrder sequence for table '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_RowInsertOutOfRange">
- <summary>
- Looks up a localized string similar to The row insert position {0} is invalid..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_RowInsertTwice">
- <summary>
- Looks up a localized string similar to The rowOrder value={0} has been found twice for table named '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_RowOutOfRange">
- <summary>
- Looks up a localized string similar to The given DataRow is not in the current DataRowCollection..
- </summary>
- </member>
- <member name="P:System.Strings.DataRow_ValuesArrayLength">
- <summary>
- Looks up a localized string similar to Input array is longer than the number of columns in this table..
- </summary>
- </member>
- <member name="P:System.Strings.DataROWView_PropertyNotFound">
- <summary>
- Looks up a localized string similar to {0} is neither a DataColumn nor a DataRelation for table {1}..
- </summary>
- </member>
- <member name="P:System.Strings.DataSet_CannotChangeCaseLocale">
- <summary>
- Looks up a localized string similar to Cannot change CaseSensitive or Locale property. This change would lead to at least one DataRelation or Constraint to have different Locale or CaseSensitive settings between its related tables..
- </summary>
- </member>
- <member name="P:System.Strings.DataSet_CannotChangeSchemaSerializationMode">
- <summary>
- Looks up a localized string similar to SchemaSerializationMode property can be set only if it is overridden by derived DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataSet_DefaultConstraintException">
- <summary>
- Looks up a localized string similar to Constraint Exception..
- </summary>
- </member>
- <member name="P:System.Strings.DataSet_DefaultDataException">
- <summary>
- Looks up a localized string similar to Data Exception..
- </summary>
- </member>
- <member name="P:System.Strings.DataSet_DefaultDeletedRowInaccessibleException">
- <summary>
- Looks up a localized string similar to Deleted rows inaccessible..
- </summary>
- </member>
- <member name="P:System.Strings.DataSet_DefaultDuplicateNameException">
- <summary>
- Looks up a localized string similar to Duplicate name not allowed..
- </summary>
- </member>
- <member name="P:System.Strings.DataSet_DefaultInRowChangingEventException">
- <summary>
- Looks up a localized string similar to Operation not supported in the RowChanging event..
- </summary>
- </member>
- <member name="P:System.Strings.DataSet_DefaultInvalidConstraintException">
- <summary>
- Looks up a localized string similar to Invalid constraint..
- </summary>
- </member>
- <member name="P:System.Strings.DataSet_DefaultMissingPrimaryKeyException">
- <summary>
- Looks up a localized string similar to Missing primary key..
- </summary>
- </member>
- <member name="P:System.Strings.DataSet_DefaultNoNullAllowedException">
- <summary>
- Looks up a localized string similar to Null not allowed..
- </summary>
- </member>
- <member name="P:System.Strings.DataSet_DefaultReadOnlyException">
- <summary>
- Looks up a localized string similar to Column is marked read only..
- </summary>
- </member>
- <member name="P:System.Strings.DataSet_DefaultRowNotInTableException">
- <summary>
- Looks up a localized string similar to Row not found in table..
- </summary>
- </member>
- <member name="P:System.Strings.DataSet_DefaultVersionNotFoundException">
- <summary>
- Looks up a localized string similar to Version not found..
- </summary>
- </member>
- <member name="P:System.Strings.DataSet_SetDataSetNameConflicting">
- <summary>
- Looks up a localized string similar to The name '{0}' is invalid. A DataSet cannot have the same name of the DataTable..
- </summary>
- </member>
- <member name="P:System.Strings.DataSet_SetNameToEmpty">
- <summary>
- Looks up a localized string similar to Cannot change the name of the DataSet to an empty string..
- </summary>
- </member>
- <member name="P:System.Strings.DataSet_UnsupportedSchema">
- <summary>
- Looks up a localized string similar to The schema namespace is invalid. Please use this one instead: {0}..
- </summary>
- </member>
- <member name="P:System.Strings.DataSetCaseSensitiveDescr">
- <summary>
- Looks up a localized string similar to Indicates whether comparing strings within the DataSet is case sensitive..
- </summary>
- </member>
- <member name="P:System.Strings.DataSetDataSetNameDescr">
- <summary>
- Looks up a localized string similar to The name of this DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataSetDefaultViewDescr">
- <summary>
- Looks up a localized string similar to Indicates a custom "view" of the data contained by the DataSet. This view allows filtering, searching, and navigating through the custom data view..
- </summary>
- </member>
- <member name="P:System.Strings.DataSetDescr">
- <summary>
- Looks up a localized string similar to Represents an in-memory cache of data..
- </summary>
- </member>
- <member name="P:System.Strings.DataSetEnforceConstraintsDescr">
- <summary>
- Looks up a localized string similar to Indicates whether constraint rules are to be followed..
- </summary>
- </member>
- <member name="P:System.Strings.DataSetHasErrorsDescr">
- <summary>
- Looks up a localized string similar to Indicates that the DataSet has errors..
- </summary>
- </member>
- <member name="P:System.Strings.DataSetInitializedDescr">
- <summary>
- Looks up a localized string similar to Occurs after Initialization is finished..
- </summary>
- </member>
- <member name="P:System.Strings.DataSetLocaleDescr">
- <summary>
- Looks up a localized string similar to Indicates a locale under which to compare strings within the DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataSetMergeFailedDescr">
- <summary>
- Looks up a localized string similar to Occurs when it is not possible to merge schemas for two tables with the same name..
- </summary>
- </member>
- <member name="P:System.Strings.DataSetNamespaceDescr">
- <summary>
- Looks up a localized string similar to Indicates the XML uri namespace for the root element pointed at by this DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataSetPrefixDescr">
- <summary>
- Looks up a localized string similar to Indicates the prefix of the namespace used for this DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataSetRelationsDescr">
- <summary>
- Looks up a localized string similar to The collection that holds the relations for this DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataSetTablesDescr">
- <summary>
- Looks up a localized string similar to The collection that holds the tables for this DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataStorage_AggregateException">
- <summary>
- Looks up a localized string similar to Invalid usage of aggregate function {0}() and Type: {1}..
- </summary>
- </member>
- <member name="P:System.Strings.DataStorage_IComparableNotDefined">
- <summary>
- Looks up a localized string similar to Type '{0}' does not implement IComparable interface. Comparison cannot be done..
- </summary>
- </member>
- <member name="P:System.Strings.DataStorage_InvalidStorageType">
- <summary>
- Looks up a localized string similar to Invalid storage type: {0}..
- </summary>
- </member>
- <member name="P:System.Strings.DataStorage_ProblematicChars">
- <summary>
- Looks up a localized string similar to The DataSet Xml persistency does not support the value '{0}' as Char value, please use Byte storage instead..
- </summary>
- </member>
- <member name="P:System.Strings.DataStorage_SetInvalidDataType">
- <summary>
- Looks up a localized string similar to Type of value has a mismatch with column type.
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_AlreadyInOtherDataSet">
- <summary>
- Looks up a localized string similar to DataTable already belongs to another DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_AlreadyInTheDataSet">
- <summary>
- Looks up a localized string similar to DataTable already belongs to this DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_CannotAddToSimpleContent">
- <summary>
- Looks up a localized string similar to Cannot add a nested relation or an element column to a table containing a SimpleContent column..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_CanNotRemoteDataTable">
- <summary>
- Looks up a localized string similar to This DataTable can only be remoted as part of DataSet. One or more Expression Columns has reference to other DataTable(s)..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_CanNotSerializeDataTableHierarchy">
- <summary>
- Looks up a localized string similar to Cannot serialize the DataTable. A DataTable being used in one or more DataColumn expressions is not a descendant of current DataTable..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_CanNotSerializeDataTableWithEmptyName">
- <summary>
- Looks up a localized string similar to Cannot serialize the DataTable. DataTable name is not set..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_CanNotSetRemotingFormat">
- <summary>
- Looks up a localized string similar to Cannot have different remoting format property value for DataSet and DataTable..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_DatasetConflictingName">
- <summary>
- Looks up a localized string similar to The name '{0}' is invalid. A DataTable cannot have the same name of the DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_DuplicateName">
- <summary>
- Looks up a localized string similar to A DataTable named '{0}' already belongs to this DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_DuplicateName2">
- <summary>
- Looks up a localized string similar to A DataTable named '{0}' with the same Namespace '{1}' already belongs to this DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_ForeignPrimaryKey">
- <summary>
- Looks up a localized string similar to PrimaryKey columns do not belong to this table..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_InConstraint">
- <summary>
- Looks up a localized string similar to Cannot remove table {0}, because it referenced in ForeignKeyConstraint {1}. Remove the constraint first..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_InRelation">
- <summary>
- Looks up a localized string similar to Cannot remove a table that has existing relations. Remove relations first..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_InvalidSortString">
- <summary>
- Looks up a localized string similar to {0} isn't a valid Sort string entry..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_MissingPrimaryKey">
- <summary>
- Looks up a localized string similar to Table doesn't have a primary key..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_MultipleSimpleContentColumns">
- <summary>
- Looks up a localized string similar to DataTable already has a simple content column..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_NoName">
- <summary>
- Looks up a localized string similar to TableName is required when it is part of a DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_NotInTheDataSet">
- <summary>
- Looks up a localized string similar to Table {0} does not belong to this DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_OutOfRange">
- <summary>
- Looks up a localized string similar to Cannot find table {0}..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_SelfnestedDatasetConflictingName">
- <summary>
- Looks up a localized string similar to The table ({0}) cannot be the child table to itself in a nested relation: the DataSet name conflicts with the table name..
- </summary>
- </member>
- <member name="P:System.Strings.DataTable_TableNotFound">
- <summary>
- Looks up a localized string similar to DataTable '{0}' does not match to any DataTable in source..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableCaseSensitiveDescr">
- <summary>
- Looks up a localized string similar to Indicates whether comparing strings within the table is case sensitive..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableChildRelationsDescr">
- <summary>
- Looks up a localized string similar to Returns the child relations for this table..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableColumnChangedDescr">
- <summary>
- Looks up a localized string similar to Occurs when a value has been changed for this column..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableColumnChangingDescr">
- <summary>
- Looks up a localized string similar to Occurs when a value has been submitted for this column. The user can modify the proposed value and should throw an exception to cancel the edit..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableColumnsDescr">
- <summary>
- Looks up a localized string similar to The collection that holds the columns for this table..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableConstraintsDescr">
- <summary>
- Looks up a localized string similar to The collection that holds the constraints for this table..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableDataSetDescr">
- <summary>
- Looks up a localized string similar to Indicates the DataSet to which this table belongs..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableDefaultViewDescr">
- <summary>
- Looks up a localized string similar to This is the default DataView for the table..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableDisplayExpressionDescr">
- <summary>
- Looks up a localized string similar to The expression used to compute the data-bound value of this row..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableHasErrorsDescr">
- <summary>
- Looks up a localized string similar to Returns whether the table has errors..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableLocaleDescr">
- <summary>
- Looks up a localized string similar to Indicates a locale under which to compare strings within the table..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableMapping_ColumnMappings">
- <summary>
- Looks up a localized string similar to Individual columns mappings when this table mapping is matched..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableMapping_DataSetTable">
- <summary>
- Looks up a localized string similar to DataTable.TableName.
- </summary>
- </member>
- <member name="P:System.Strings.DataTableMapping_SourceTable">
- <summary>
- Looks up a localized string similar to The DataTableMapping source table name. This name is case sensitive..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableMappings_Count">
- <summary>
- Looks up a localized string similar to The number of items in the collection.
- </summary>
- </member>
- <member name="P:System.Strings.DataTableMappings_Item">
- <summary>
- Looks up a localized string similar to The specified DataTableMapping object.
- </summary>
- </member>
- <member name="P:System.Strings.DataTableMinimumCapacityDescr">
- <summary>
- Looks up a localized string similar to Indicates an initial starting size for this table..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableNamespaceDescr">
- <summary>
- Looks up a localized string similar to Indicates the XML uri namespace for the elements contained in this table..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableParentRelationsDescr">
- <summary>
- Looks up a localized string similar to Returns the parent relations for this table..
- </summary>
- </member>
- <member name="P:System.Strings.DataTablePrefixDescr">
- <summary>
- Looks up a localized string similar to Indicates the Prefix of the namespace used for this table in XML representation..
- </summary>
- </member>
- <member name="P:System.Strings.DataTablePrimaryKeyDescr">
- <summary>
- Looks up a localized string similar to Indicates the column(s) that represent the primary key for this table..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableReader_ArgumentContainsNullValue">
- <summary>
- Looks up a localized string similar to Cannot create DataTableReader. Arguments contain null value..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableReader_CannotCreateDataReaderOnEmptyDataSet">
- <summary>
- Looks up a localized string similar to DataTableReader Cannot be created. There is no DataTable in DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableReader_DataTableCleared">
- <summary>
- Looks up a localized string similar to Current DataTable '{0}' is empty. There is no DataRow in DataTable..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableReader_DataTableReaderArgumentIsEmpty">
- <summary>
- Looks up a localized string similar to Cannot create DataTableReader. Argument is Empty..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableReader_InvalidDataTableReader">
- <summary>
- Looks up a localized string similar to DataTableReader is invalid for current DataTable '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableReader_InvalidRowInDataTableReader">
- <summary>
- Looks up a localized string similar to Current DataRow is either in Deleted or Detached state..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableReader_SchemaInvalidDataTableReader">
- <summary>
- Looks up a localized string similar to Schema of current DataTable '{0}' in DataTableReader has changed, DataTableReader is invalid..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableRowChangedDescr">
- <summary>
- Looks up a localized string similar to Occurs after a row in the table has been successfully edited..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableRowChangingDescr">
- <summary>
- Looks up a localized string similar to Occurs when the row is being changed so that the event handler can modify or cancel the change. The user can modify values in the row and should throw an exception to cancel the edit..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableRowDeletedDescr">
- <summary>
- Looks up a localized string similar to Occurs after a row in the table has been successfully deleted..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableRowDeletingDescr">
- <summary>
- Looks up a localized string similar to Occurs when a row in the table marked for deletion. Throw an exception to cancel the deletion..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableRowsClearedDescr">
- <summary>
- Looks up a localized string similar to Occurs after all rows in the table has been successfully cleared..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableRowsClearingDescr">
- <summary>
- Looks up a localized string similar to Occurs prior to clearing all rows from the table..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableRowsDescr">
- <summary>
- Looks up a localized string similar to Indicates the collection that holds the rows of data for this table..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableRowsNewRowDescr">
- <summary>
- Looks up a localized string similar to Occurs after a new DataRow has been instantiated..
- </summary>
- </member>
- <member name="P:System.Strings.DataTableTableNameDescr">
- <summary>
- Looks up a localized string similar to Indicates the name used to look up this table in the Tables collection of a DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_AddExternalObject">
- <summary>
- Looks up a localized string similar to Cannot add external objects to this list..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_AddNewNotAllowNull">
- <summary>
- Looks up a localized string similar to Cannot call AddNew on a DataView where AllowNew is false..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_CanNotBindTable">
- <summary>
- Looks up a localized string similar to Cannot bind to DataTable with no name..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_CanNotClear">
- <summary>
- Looks up a localized string similar to Cannot clear this list..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_CanNotDelete">
- <summary>
- Looks up a localized string similar to Cannot delete on a DataSource where AllowDelete is false..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_CanNotEdit">
- <summary>
- Looks up a localized string similar to Cannot edit on a DataSource where AllowEdit is false..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_CanNotSetDataSet">
- <summary>
- Looks up a localized string similar to Cannot change DataSet property once it is set..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_CanNotSetTable">
- <summary>
- Looks up a localized string similar to Cannot change Table property once it is set..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_CanNotUse">
- <summary>
- Looks up a localized string similar to DataTable must be set prior to using DataView..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_CanNotUseDataViewManager">
- <summary>
- Looks up a localized string similar to DataSet must be set prior to using DataViewManager..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_CreateChildView">
- <summary>
- Looks up a localized string similar to The relation is not parented to the table to which this DataView points..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_GetElementIndex">
- <summary>
- Looks up a localized string similar to Index {0} is either negative or above rows count..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_InsertExternalObject">
- <summary>
- Looks up a localized string similar to Cannot insert external objects to this list..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_NotOpen">
- <summary>
- Looks up a localized string similar to DataView is not open..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_RemoveExternalObject">
- <summary>
- Looks up a localized string similar to Cannot remove objects not in the list..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_SetDataSetFailed">
- <summary>
- Looks up a localized string similar to Cannot change DataSet on a DataViewManager that's already the default view for a DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_SetFailed">
- <summary>
- Looks up a localized string similar to Cannot set {0}..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_SetIListObject">
- <summary>
- Looks up a localized string similar to Cannot set an object into this list..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_SetRowStateFilter">
- <summary>
- Looks up a localized string similar to RowStateFilter cannot show ModifiedOriginals and ModifiedCurrents at the same time..
- </summary>
- </member>
- <member name="P:System.Strings.DataView_SetTable">
- <summary>
- Looks up a localized string similar to Cannot change Table property on a DefaultView or a DataView coming from a DataViewManager..
- </summary>
- </member>
- <member name="P:System.Strings.DataViewAllowDeleteDescr">
- <summary>
- Looks up a localized string similar to Indicates whether this DataView and the user interface associated with it allows deletes..
- </summary>
- </member>
- <member name="P:System.Strings.DataViewAllowEditDescr">
- <summary>
- Looks up a localized string similar to Indicates whether this DataView and the user interface associated with it allows edits..
- </summary>
- </member>
- <member name="P:System.Strings.DataViewAllowNewDescr">
- <summary>
- Looks up a localized string similar to Indicates whether this DataView and the user interface associated with it allows new rows to be added..
- </summary>
- </member>
- <member name="P:System.Strings.DataViewApplyDefaultSortDescr">
- <summary>
- Looks up a localized string similar to Indicates whether to use the default sort if the Sort property is not set..
- </summary>
- </member>
- <member name="P:System.Strings.DataViewCountDescr">
- <summary>
- Looks up a localized string similar to Returns the number of items currently in this view..
- </summary>
- </member>
- <member name="P:System.Strings.DataViewDataViewManagerDescr">
- <summary>
- Looks up a localized string similar to This returns a pointer to back to the DataViewManager that owns this DataSet (if any)..
- </summary>
- </member>
- <member name="P:System.Strings.DataViewIsOpenDescr">
- <summary>
- Looks up a localized string similar to Indicates whether the view is open..
- </summary>
- </member>
- <member name="P:System.Strings.DataViewListChangedDescr">
- <summary>
- Looks up a localized string similar to Indicates that the data returned by this DataView has somehow changed..
- </summary>
- </member>
- <member name="P:System.Strings.DataViewManagerDataSetDescr">
- <summary>
- Looks up a localized string similar to Indicates the source of data for this DataViewManager..
- </summary>
- </member>
- <member name="P:System.Strings.DataViewManagerTableSettingsDescr">
- <summary>
- Looks up a localized string similar to Indicates the sorting/filtering/state settings for any table in the corresponding DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DataViewRowFilterDescr">
- <summary>
- Looks up a localized string similar to Indicates an expression used to filter the data returned by this DataView..
- </summary>
- </member>
- <member name="P:System.Strings.DataViewRowStateFilterDescr">
- <summary>
- Looks up a localized string similar to Indicates the versions of data returned by this DataView..
- </summary>
- </member>
- <member name="P:System.Strings.DataViewSortDescr">
- <summary>
- Looks up a localized string similar to Indicates the names of the column and the order in which data is returned by this DataView..
- </summary>
- </member>
- <member name="P:System.Strings.DataViewTableDescr">
- <summary>
- Looks up a localized string similar to Indicates the table this DataView uses to get data..
- </summary>
- </member>
- <member name="P:System.Strings.DbCommand_CommandText">
- <summary>
- Looks up a localized string similar to Command text to execute..
- </summary>
- </member>
- <member name="P:System.Strings.DbCommand_CommandTimeout">
- <summary>
- Looks up a localized string similar to Time to wait for command to execute..
- </summary>
- </member>
- <member name="P:System.Strings.DbCommand_CommandType">
- <summary>
- Looks up a localized string similar to How to interpret the CommandText..
- </summary>
- </member>
- <member name="P:System.Strings.DbCommand_Connection">
- <summary>
- Looks up a localized string similar to Connection used by the command..
- </summary>
- </member>
- <member name="P:System.Strings.DbCommand_Parameters">
- <summary>
- Looks up a localized string similar to The parameters collection..
- </summary>
- </member>
- <member name="P:System.Strings.DbCommand_StatementCompleted">
- <summary>
- Looks up a localized string similar to When records are affected by a given statement by the execution of the command..
- </summary>
- </member>
- <member name="P:System.Strings.DbCommand_Transaction">
- <summary>
- Looks up a localized string similar to The transaction used by the command..
- </summary>
- </member>
- <member name="P:System.Strings.DbCommand_UpdatedRowSource">
- <summary>
- Looks up a localized string similar to When used by a DataAdapter.Update, how command results are applied to the current DataRow..
- </summary>
- </member>
- <member name="P:System.Strings.DbCommandBuilder_CatalogLocation">
- <summary>
- Looks up a localized string similar to Indicates the position of the catalog name in a qualified table name in a text command..
- </summary>
- </member>
- <member name="P:System.Strings.DbCommandBuilder_CatalogSeparator">
- <summary>
- Looks up a localized string similar to The character that separates the catalog name from the rest of the identifier in a text command..
- </summary>
- </member>
- <member name="P:System.Strings.DbCommandBuilder_ConflictOption">
- <summary>
- Looks up a localized string similar to How the where clause is auto-generated for the Update and Delete commands when not specified by the user..
- </summary>
- </member>
- <member name="P:System.Strings.DbCommandBuilder_DataAdapter">
- <summary>
- Looks up a localized string similar to The DataAdapter for which to automatically generate Commands..
- </summary>
- </member>
- <member name="P:System.Strings.DbCommandBuilder_QuotePrefix">
- <summary>
- Looks up a localized string similar to The prefix string wrapped around sql objects..
- </summary>
- </member>
- <member name="P:System.Strings.DbCommandBuilder_QuoteSuffix">
- <summary>
- Looks up a localized string similar to The suffix string wrapped around sql objects..
- </summary>
- </member>
- <member name="P:System.Strings.DbCommandBuilder_SchemaLocation">
- <summary>
- Looks up a localized string similar to Use schema from DataTable or the SelectCommand..
- </summary>
- </member>
- <member name="P:System.Strings.DbCommandBuilder_SchemaSeparator">
- <summary>
- Looks up a localized string similar to The character that separates the schema name from the rest of the identifier in a text command..
- </summary>
- </member>
- <member name="P:System.Strings.DbCommandBuilder_SetAllValues">
- <summary>
- Looks up a localized string similar to How the set clause is auto-generated for the Update command when not specified by the user..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnection_InfoMessage">
- <summary>
- Looks up a localized string similar to Event triggered when messages arrive from the DataSource..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnection_State">
- <summary>
- Looks up a localized string similar to The ConnectionState indicating whether the connection is open or closed..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnection_StateChange">
- <summary>
- Looks up a localized string similar to Event triggered when the connection changes state..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_AdoNetPooler">
- <summary>
- Looks up a localized string similar to When true, indicates that managed connection pooling should be used..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_ApplicationIntent">
- <summary>
- Looks up a localized string similar to Declares the application workload type when connecting to a server..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_ApplicationName">
- <summary>
- Looks up a localized string similar to The name of the application..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_AsynchronousProcessing">
- <summary>
- Looks up a localized string similar to When true, enables usage of the Asynchronous functionality in the .NET Framework Data Provider..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_AttachDBFilename">
- <summary>
- Looks up a localized string similar to The name of the primary file, including the full path name, of an attachable database..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_Authentication">
- <summary>
- Looks up a localized string similar to Specifies the method of authenticating with SQL Server..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_Certificate">
- <summary>
- Looks up a localized string similar to Specified client certificate for authenticating with SQL Server. .
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_ConnectionReset">
- <summary>
- Looks up a localized string similar to When true, indicates the connection state is reset when removed from the pool..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_ConnectionString">
- <summary>
- Looks up a localized string similar to The connection string used to connect to the Data Source..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_ConnectRetryCount">
- <summary>
- Looks up a localized string similar to Number of attempts to restore connection..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_ConnectRetryInterval">
- <summary>
- Looks up a localized string similar to Delay between attempts to restore connection..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_ConnectTimeout">
- <summary>
- Looks up a localized string similar to The length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_ContextConnection">
- <summary>
- Looks up a localized string similar to When true, indicates the connection should be from the Sql Server context. Available only when running in the Sql Server process..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_CurrentLanguage">
- <summary>
- Looks up a localized string similar to The SQL Server Language record name..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_DataSource">
- <summary>
- Looks up a localized string similar to Indicates the name of the data source to connect to..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_Driver">
- <summary>
- Looks up a localized string similar to The name of the ODBC Driver to use when connecting to the Data Source..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_DSN">
- <summary>
- Looks up a localized string similar to The DSN to use when connecting to the Data Source..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_Encrypt">
- <summary>
- Looks up a localized string similar to When true, SQL Server uses SSL encryption for all data sent between the client and server if the server has a certificate installed..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_Enlist">
- <summary>
- Looks up a localized string similar to Sessions in a Component Services (or MTS, if you are using Microsoft Windows NT) environment should automatically be enlisted in a global transaction where required..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_FailoverPartner">
- <summary>
- Looks up a localized string similar to The name or network address of the instance of SQL Server that acts as a failover partner..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_FileName">
- <summary>
- Looks up a localized string similar to The UDL file to use when connecting to the Data Source..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_InitialCatalog">
- <summary>
- Looks up a localized string similar to The name of the initial catalog or database in the data source..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_IntegratedSecurity">
- <summary>
- Looks up a localized string similar to Whether the connection is to be a secure connection or not..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_LoadBalanceTimeout">
- <summary>
- Looks up a localized string similar to The minimum amount of time (in seconds) for this connection to live in the pool before being destroyed..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_MaxPoolSize">
- <summary>
- Looks up a localized string similar to The maximum number of connections allowed in the pool..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_MinPoolSize">
- <summary>
- Looks up a localized string similar to The minimum number of connections allowed in the pool..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_MultipleActiveResultSets">
- <summary>
- Looks up a localized string similar to When true, multiple result sets can be returned and read from one connection..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_MultiSubnetFailover">
- <summary>
- Looks up a localized string similar to If your application is connecting to a high-availability, disaster recovery (AlwaysOn) availability group (AG) on different subnets, MultiSubnetFailover=Yes configures SqlConnection to provide faster detection of and connection to the (currently) active server..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_NetworkLibrary">
- <summary>
- Looks up a localized string similar to The network library used to establish a connection to an instance of SQL Server..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_OleDbServices">
- <summary>
- Looks up a localized string similar to Specifies which OLE DB Services to enable or disable with the OleDb Provider..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_PacketSize">
- <summary>
- Looks up a localized string similar to Size in bytes of the network packets used to communicate with an instance of SQL Server..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_Password">
- <summary>
- Looks up a localized string similar to Indicates the password to be used when connecting to the data source..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_PersistSecurityInfo">
- <summary>
- Looks up a localized string similar to When false, security-sensitive information, such as the password, is not returned as part of the connection if the connection is open or has ever been in an open state..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_PoolBlockingPeriod">
- <summary>
- Looks up a localized string similar to Defines the blocking period behavior for a connection pool..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_Pooling">
- <summary>
- Looks up a localized string similar to When true, the connection object is drawn from the appropriate pool, or if necessary, is created and added to the appropriate pool..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_Provider">
- <summary>
- Looks up a localized string similar to The name of the OLE DB Provider to use when connecting to the Data Source..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_Replication">
- <summary>
- Looks up a localized string similar to Used by SQL Server in Replication..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_TransactionBinding">
- <summary>
- Looks up a localized string similar to Indicates binding behavior of connection to a System.Transactions Transaction when enlisted..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_TransparentNetworkIPResolution">
- <summary>
- Looks up a localized string similar to If your application connects to different networks, TransparentNetworkIPResolution=Yes configures SqlConnection to provide transparent connection resolution to the currently active server, independently of the network IP topology..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_TrustServerCertificate">
- <summary>
- Looks up a localized string similar to When true (and encrypt=true), SQL Server uses SSL encryption for all data sent between the client and server without validating the server certificate..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_TypeSystemVersion">
- <summary>
- Looks up a localized string similar to Indicates which server type system the provider will expose through the DataReader..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_UserID">
- <summary>
- Looks up a localized string similar to Indicates the user ID to be used when connecting to the data source..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_UserInstance">
- <summary>
- Looks up a localized string similar to Indicates whether the connection will be re-directed to connect to an instance of SQL Server running under the user's account..
- </summary>
- </member>
- <member name="P:System.Strings.DbConnectionString_WorkstationID">
- <summary>
- Looks up a localized string similar to The name of the workstation connecting to SQL Server..
- </summary>
- </member>
- <member name="P:System.Strings.DbDataAdapter_DeleteCommand">
- <summary>
- Looks up a localized string similar to Used during Update for deleted rows in DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DbDataAdapter_InsertCommand">
- <summary>
- Looks up a localized string similar to Used during Update for new rows in DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DbDataAdapter_RowUpdated">
- <summary>
- Looks up a localized string similar to Event triggered before every DataRow during Update..
- </summary>
- </member>
- <member name="P:System.Strings.DbDataAdapter_RowUpdating">
- <summary>
- Looks up a localized string similar to Event triggered after every DataRow during Update..
- </summary>
- </member>
- <member name="P:System.Strings.DbDataAdapter_SelectCommand">
- <summary>
- Looks up a localized string similar to Used during Fill/FillSchema..
- </summary>
- </member>
- <member name="P:System.Strings.DbDataAdapter_UpdateBatchSize">
- <summary>
- Looks up a localized string similar to Number of rows to batch together before executing against the data source..
- </summary>
- </member>
- <member name="P:System.Strings.DbDataAdapter_UpdateCommand">
- <summary>
- Looks up a localized string similar to Used during Update for modified rows in DataSet..
- </summary>
- </member>
- <member name="P:System.Strings.DbDataParameter_Precision">
- <summary>
- Looks up a localized string similar to Only necessary to set for decimal and numeric parameters when using with Prepare, FillSchema and CommandBuilder scenarios..
- </summary>
- </member>
- <member name="P:System.Strings.DbDataParameter_Scale">
- <summary>
- Looks up a localized string similar to Only necessary to set for decimal and numeric parameters when using with Prepare, FillSchema and CommandBuilder scenarios..
- </summary>
- </member>
- <member name="P:System.Strings.DbParameter_DbType">
- <summary>
- Looks up a localized string similar to The parameter generic type..
- </summary>
- </member>
- <member name="P:System.Strings.DbParameter_Direction">
- <summary>
- Looks up a localized string similar to Input, output, or bidirectional parameter..
- </summary>
- </member>
- <member name="P:System.Strings.DbParameter_IsNullable">
- <summary>
- Looks up a localized string similar to a design-time property used for strongly typed code-generation..
- </summary>
- </member>
- <member name="P:System.Strings.DbParameter_Offset">
- <summary>
- Looks up a localized string similar to Offset in variable length data types..
- </summary>
- </member>
- <member name="P:System.Strings.DbParameter_ParameterName">
- <summary>
- Looks up a localized string similar to Name of the parameter..
- </summary>
- </member>
- <member name="P:System.Strings.DbParameter_Size">
- <summary>
- Looks up a localized string similar to Size of variable length data types (string & arrays)..
- </summary>
- </member>
- <member name="P:System.Strings.DbParameter_SourceColumn">
- <summary>
- Looks up a localized string similar to When used by a DataAdapter.Update, the source column name that is used to find the DataSetColumn name in the ColumnMappings. This is to copy a value between the parameter and a data row..
- </summary>
- </member>
- <member name="P:System.Strings.DbParameter_SourceColumnNullMapping">
- <summary>
- Looks up a localized string similar to When used by DataAdapter.Update, the parameter value is changed from DBNull.Value into (Int32)1 or (Int32)0 if non-null..
- </summary>
- </member>
- <member name="P:System.Strings.DbParameter_SourceVersion">
- <summary>
- Looks up a localized string similar to When used by a DataAdapter.Update (UpdateCommand only), the version of the DataRow value that is used to update the data source..
- </summary>
- </member>
- <member name="P:System.Strings.DbParameter_Value">
- <summary>
- Looks up a localized string similar to Value of the parameter..
- </summary>
- </member>
- <member name="P:System.Strings.DbTable_ConflictDetection">
- <summary>
- Looks up a localized string similar to How are the Insert/Update/DeleteCommands generated when not set by the user..
- </summary>
- </member>
- <member name="P:System.Strings.DbTable_Connection">
- <summary>
- Looks up a localized string similar to Connection used if the the Select/Insert/Update/DeleteCommands do not already have a connection..
- </summary>
- </member>
- <member name="P:System.Strings.DbTable_DeleteCommand">
- <summary>
- Looks up a localized string similar to Used during Update for deleted rows in the DataTable..
- </summary>
- </member>
- <member name="P:System.Strings.DbTable_InsertCommand">
- <summary>
- Looks up a localized string similar to Used during Update for new rows in the DataTable..
- </summary>
- </member>
- <member name="P:System.Strings.DbTable_ReturnProviderSpecificTypes">
- <summary>
- Looks up a localized string similar to Should Fill return provider specific values or common CLSCompliant values..
- </summary>
- </member>
- <member name="P:System.Strings.DbTable_SelectCommand">
- <summary>
- Looks up a localized string similar to Used during Fill..
- </summary>
- </member>
- <member name="P:System.Strings.DbTable_TableMapping">
- <summary>
- Looks up a localized string similar to How to map source table to DataTable..
- </summary>
- </member>
- <member name="P:System.Strings.DbTable_UpdateBatchSize">
- <summary>
- Looks up a localized string similar to Number of rows to batch together before executing against the data source..
- </summary>
- </member>
- <member name="P:System.Strings.DbTable_UpdateCommand">
- <summary>
- Looks up a localized string similar to Used during Update for modified rows in the DataTable..
- </summary>
- </member>
- <member name="P:System.Strings.EnclaveRetrySleepInSecondsValueException">
- <summary>
- Looks up a localized string similar to Internal error occurred when retrying the download of the HGS root certificate after the initial request failed. Contact Customer Support Services..
- </summary>
- </member>
- <member name="P:System.Strings.EnclaveSessionInvalidationFailed">
- <summary>
- Looks up a localized string similar to Internal error. Unable to invalidate the requested enclave session, because it does not exist in the cache. Contact Customer Support Services..
- </summary>
- </member>
- <member name="P:System.Strings.ExpiredAttestationToken">
- <summary>
- Looks up a localized string similar to The validation of an attestation token failed. The token received from SQL Server is expired. Contact Customer Support Services..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_AggregateArgument">
- <summary>
- Looks up a localized string similar to Syntax error in aggregate argument: Expecting a single column argument with possible 'Child' qualifier..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_AggregateUnbound">
- <summary>
- Looks up a localized string similar to Unbound reference in the aggregate expression '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_AmbiguousBinop">
- <summary>
- Looks up a localized string similar to Operator '{0}' is ambiguous on operands of type '{1}' and '{2}'. Cannot mix signed and unsigned types. Please use explicit Convert() function..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_ArgumentOutofRange">
- <summary>
- Looks up a localized string similar to {0}() argument is out of range..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_ArgumentType">
- <summary>
- Looks up a localized string similar to Type mismatch in function argument: {0}(), argument {1}, expected {2}..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_ArgumentTypeInteger">
- <summary>
- Looks up a localized string similar to Type mismatch in function argument: {0}(), argument {1}, expected one of the Integer types..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_BindFailure">
- <summary>
- Looks up a localized string similar to Cannot find the parent relation '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_ComputeNotAggregate">
- <summary>
- Looks up a localized string similar to Cannot evaluate. Expression '{0}' is not an aggregate..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_DatatypeConvertion">
- <summary>
- Looks up a localized string similar to Cannot convert from {0} to {1}..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_DatavalueConvertion">
- <summary>
- Looks up a localized string similar to Cannot convert value '{0}' to Type: {1}..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_DivideByZero">
- <summary>
- Looks up a localized string similar to Divide by zero error encountered..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_EvalNoContext">
- <summary>
- Looks up a localized string similar to Cannot evaluate non-constant expression without current row..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_ExpressionTooComplex">
- <summary>
- Looks up a localized string similar to Expression is too complex..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_ExpressionUnbound">
- <summary>
- Looks up a localized string similar to Unbound reference in the expression '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_FilterConvertion">
- <summary>
- Looks up a localized string similar to Filter expression '{0}' does not evaluate to a Boolean term..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_FunctionArgumentCount">
- <summary>
- Looks up a localized string similar to Invalid number of arguments: function {0}()..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_InvalidDate">
- <summary>
- Looks up a localized string similar to The expression contains invalid date constant '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_InvalidHoursArgument">
- <summary>
- Looks up a localized string similar to 'hours' argument is out of range. Value must be between -14 and +14..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_InvalidMinutesArgument">
- <summary>
- Looks up a localized string similar to 'minutes' argument is out of range. Value must be between -59 and +59..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_InvalidName">
- <summary>
- Looks up a localized string similar to Invalid column name [{0}]..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_InvalidNameBracketing">
- <summary>
- Looks up a localized string similar to The expression contains invalid name: '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_InvalidPattern">
- <summary>
- Looks up a localized string similar to Error in Like operator: the string pattern '{0}' is invalid..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_InvalidString">
- <summary>
- Looks up a localized string similar to The expression contains an invalid string constant: {0}..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_InvalidTimeZoneRange">
- <summary>
- Looks up a localized string similar to Provided range for time one exceeds total of 14 hours..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_InvalidType">
- <summary>
- Looks up a localized string similar to Invalid type name '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_InvokeArgument">
- <summary>
- Looks up a localized string similar to Need a row or a table to Invoke DataFilter..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_InWithoutList">
- <summary>
- Looks up a localized string similar to Syntax error: The IN keyword must be followed by a non-empty list of expressions separated by commas, and also must be enclosed in parentheses..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_InWithoutParentheses">
- <summary>
- Looks up a localized string similar to Syntax error: The items following the IN keyword must be separated by commas and be enclosed in parentheses..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_IsSyntax">
- <summary>
- Looks up a localized string similar to Syntax error: Invalid usage of 'Is' operator. Correct syntax: <expression> Is [Not] Null..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_LookupArgument">
- <summary>
- Looks up a localized string similar to Syntax error in Lookup expression: Expecting keyword 'Parent' followed by a single column argument with possible relation qualifier: Parent[(<relation_name>)].<column_name>..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_MismatchKindandTimeSpan">
- <summary>
- Looks up a localized string similar to Kind property of provided DateTime argument, does not match 'hours' and 'minutes' arguments..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_MissingOperand">
- <summary>
- Looks up a localized string similar to Syntax error: Missing operand after '{0}' operator..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_MissingOperandBefore">
- <summary>
- Looks up a localized string similar to Syntax error: Missing operand before '{0}' operator..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_MissingRightParen">
- <summary>
- Looks up a localized string similar to The expression is missing the closing parenthesis..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_NonConstantArgument">
- <summary>
- Looks up a localized string similar to Only constant expressions are allowed in the expression list for the IN operator..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_NYI">
- <summary>
- Looks up a localized string similar to The feature not implemented. {0}..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_Overflow">
- <summary>
- Looks up a localized string similar to Value is either too large or too small for Type '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_Syntax">
- <summary>
- Looks up a localized string similar to Syntax error in the expression..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_TooManyRightParentheses">
- <summary>
- Looks up a localized string similar to The expression has too many closing parentheses..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_TypeMismatch">
- <summary>
- Looks up a localized string similar to Type mismatch in expression '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_TypeMismatchInBinop">
- <summary>
- Looks up a localized string similar to Cannot perform '{0}' operation on {1} and {2}..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_UnboundName">
- <summary>
- Looks up a localized string similar to Cannot find column [{0}]..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_UndefinedFunction">
- <summary>
- Looks up a localized string similar to The expression contains undefined function call {0}()..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_UnknownToken">
- <summary>
- Looks up a localized string similar to Cannot interpret token '{0}' at position {1}..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_UnknownToken1">
- <summary>
- Looks up a localized string similar to Expected {0}, but actual token at the position {2} is {1}..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_UnresolvedRelation">
- <summary>
- Looks up a localized string similar to The table [{0}] involved in more than one relation. You must explicitly mention a relation name in the expression '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_UnsupportedOperator">
- <summary>
- Looks up a localized string similar to The expression contains unsupported operator '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.Expr_UnsupportedType">
- <summary>
- Looks up a localized string similar to A DataColumn of type '{0}' does not support expression..
- </summary>
- </member>
- <member name="P:System.Strings.ExtendedPropertiesDescr">
- <summary>
- Looks up a localized string similar to The collection that holds custom user information..
- </summary>
- </member>
- <member name="P:System.Strings.FailToCreateEnclaveSession">
- <summary>
- Looks up a localized string similar to Failed to create enclave session as attestation server is busy..
- </summary>
- </member>
- <member name="P:System.Strings.FailToParseAttestationInfo">
- <summary>
- Looks up a localized string similar to The validation of an attestation information failed. The attestation information has an invalid format. Contact Customer Support Services. Error details: '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.FailToParseAttestationToken">
- <summary>
- Looks up a localized string similar to The validation of an attestation token failed. The token has an invalid format. Contact Customer Support Services. Error details: '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.ForeignKeyConstraintAcceptRejectRuleDescr">
- <summary>
- Looks up a localized string similar to For accept and reject changes, indicates what kind of cascading should take place across this relation..
- </summary>
- </member>
- <member name="P:System.Strings.ForeignKeyConstraintChildColumnsDescr">
- <summary>
- Looks up a localized string similar to Indicates the child columns of this constraint..
- </summary>
- </member>
- <member name="P:System.Strings.ForeignKeyConstraintDeleteRuleDescr">
- <summary>
- Looks up a localized string similar to For deletions, indicates what kind of cascading should take place across this relation..
- </summary>
- </member>
- <member name="P:System.Strings.ForeignKeyConstraintParentColumnsDescr">
- <summary>
- Looks up a localized string similar to Indicates the parent columns of this constraint..
- </summary>
- </member>
- <member name="P:System.Strings.ForeignKeyConstraintUpdateRuleDescr">
- <summary>
- Looks up a localized string similar to For updates, indicates what kind of cascading should take place across this relation..
- </summary>
- </member>
- <member name="P:System.Strings.ForeignKeyRelatedTableDescr">
- <summary>
- Looks up a localized string similar to Indicates the child table of this constraint..
- </summary>
- </member>
- <member name="P:System.Strings.GetAttestationSigningCertificateFailedInvalidCertificate">
- <summary>
- Looks up a localized string similar to The attestation service returned an expired HGS root certificate for attestation URL '{0}'. Check the HGS root certificate configured for your HGS instance..
- </summary>
- </member>
- <member name="P:System.Strings.GetAttestationSigningCertificateRequestFailedFormat">
- <summary>
- Looks up a localized string similar to The obtained HGS root certificate for attestation URL '{0}' has an invalid format. Verify the attestation URL is correct and the HGS server is online and fully initialized. For more information contact Customer Support Services. Error details: '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.GetAttestationTokenSigningKeysFailed">
- <summary>
- Looks up a localized string similar to The validation of an attestation token failed. Cannot retrieve a public key from the attestation public key endpoint, or the retrieved key has an invalid format. Error details: '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.GetSharedSecretFailed">
- <summary>
- Looks up a localized string similar to Signature verification of the enclave's Diffie-Hellman key failed. Contact Customer Support Services..
- </summary>
- </member>
- <member name="P:System.Strings.GT_Disabled">
- <summary>
- Looks up a localized string similar to Global Transactions are not enabled for this Azure SQL Database. Please contact Azure SQL Database support for assistance..
- </summary>
- </member>
- <member name="P:System.Strings.GT_UnsupportedSysTxVersion">
- <summary>
- Looks up a localized string similar to The currently loaded System.Transactions.dll does not support Global Transactions. Please upgrade to .NET Framework 4.6.1 or later..
- </summary>
- </member>
- <member name="P:System.Strings.IEnumerableOfSqlDataRecordHasNoRows">
- <summary>
- Looks up a localized string similar to There are no records in the SqlDataRecord enumeration. To send a table-valued parameter with no rows, use a null reference for the value instead..
- </summary>
- </member>
- <member name="P:System.Strings.InvalidArgumentToBase64UrlDecoder">
- <summary>
- Looks up a localized string similar to The validation of an attestation token failed due to an error while decoding the enclave public key obtained from SQL Server. Contact Customer Support Services..
- </summary>
- </member>
- <member name="P:System.Strings.InvalidArgumentToSHA256">
- <summary>
- Looks up a localized string similar to The validation of an attestation token failed due to an error while computing a hash of the enclave public key obtained from SQL Server. Contact Customer Support Services..
- </summary>
- </member>
- <member name="P:System.Strings.InvalidAttestationToken">
- <summary>
- Looks up a localized string similar to The validation of the attestation token has failed during signature validation. Exception: '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.InvalidClaimInAttestationToken">
- <summary>
- Looks up a localized string similar to The validation of an attestation token failed. Claim '{0}' in the token has an invalid value of '{1}'. Verify the attestation policy. If the policy is correct, contact Customer Support Services..
- </summary>
- </member>
- <member name="P:System.Strings.InvalidSchemaTableOrdinals">
- <summary>
- Looks up a localized string similar to Invalid column ordinals in schema table. ColumnOrdinals, if present, must not have duplicates or gaps..
- </summary>
- </member>
- <member name="P:System.Strings.KeyConstraintColumnsDescr">
- <summary>
- Looks up a localized string similar to Indicates the columns of this constraint..
- </summary>
- </member>
- <member name="P:System.Strings.KeyConstraintIsPrimaryKeyDescr">
- <summary>
- Looks up a localized string similar to Indicates if this constraint is a primary key..
- </summary>
- </member>
- <member name="P:System.Strings.Load_ReadOnlyDataModified">
- <summary>
- Looks up a localized string similar to ReadOnly Data is Modified..
- </summary>
- </member>
- <member name="P:System.Strings.LocalDB_BadConfigSectionType">
- <summary>
- Looks up a localized string similar to Local Database Runtime: system.data.localdb configuration file section is of unknown type..
- </summary>
- </member>
- <member name="P:System.Strings.LocalDB_CreateFailed">
- <summary>
- Looks up a localized string similar to Local Database Runtime: Cannot create named instance..
- </summary>
- </member>
- <member name="P:System.Strings.LocalDB_FailedGetDLLHandle">
- <summary>
- Looks up a localized string similar to Local Database Runtime: Cannot load SQLUserInstance.dll..
- </summary>
- </member>
- <member name="P:System.Strings.LocalDB_InvalidVersion">
- <summary>
- Looks up a localized string similar to Local Database Runtime: Invalid instance version specification found in the configuration file..
- </summary>
- </member>
- <member name="P:System.Strings.LocalDB_MethodNotFound">
- <summary>
- Looks up a localized string similar to Invalid SQLUserInstance.dll found at the location specified in the registry. Verify that the Local Database Runtime feature of SQL Server Express is properly installed..
- </summary>
- </member>
- <member name="P:System.Strings.LocalDB_UnobtainableMessage">
- <summary>
- Looks up a localized string similar to Cannot obtain Local Database Runtime error message.
- </summary>
- </member>
- <member name="P:System.Strings.MDF_AmbigousCollectionName">
- <summary>
- Looks up a localized string similar to The collection name '{0}' matches at least two collections with the same name but with different case, but does not match any of them exactly..
- </summary>
- </member>
- <member name="P:System.Strings.MDF_CollectionNameISNotUnique">
- <summary>
- Looks up a localized string similar to There are multiple collections named '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.MDF_DataTableDoesNotExist">
- <summary>
- Looks up a localized string similar to The collection '{0}' is missing from the metadata XML..
- </summary>
- </member>
- <member name="P:System.Strings.MDF_IncorrectNumberOfDataSourceInformationRows">
- <summary>
- Looks up a localized string similar to The DataSourceInformation table must contain exactly one row..
- </summary>
- </member>
- <member name="P:System.Strings.MDF_InvalidRestrictionValue">
- <summary>
- Looks up a localized string similar to '{2}' is not a valid value for the '{1}' restriction of the '{0}' schema collection..
- </summary>
- </member>
- <member name="P:System.Strings.MDF_InvalidXml">
- <summary>
- Looks up a localized string similar to The metadata XML is invalid..
- </summary>
- </member>
- <member name="P:System.Strings.MDF_InvalidXmlInvalidValue">
- <summary>
- Looks up a localized string similar to The metadata XML is invalid. The {1} column of the {0} collection must contain a non-empty string..
- </summary>
- </member>
- <member name="P:System.Strings.MDF_InvalidXmlMissingColumn">
- <summary>
- Looks up a localized string similar to The metadata XML is invalid. The {0} collection must contain a {1} column and it must be a string column..
- </summary>
- </member>
- <member name="P:System.Strings.MDF_MissingDataSourceInformationColumn">
- <summary>
- Looks up a localized string similar to One of the required DataSourceInformation tables columns is missing..
- </summary>
- </member>
- <member name="P:System.Strings.MDF_MissingRestrictionColumn">
- <summary>
- Looks up a localized string similar to One or more of the required columns of the restrictions collection is missing..
- </summary>
- </member>
- <member name="P:System.Strings.MDF_MissingRestrictionRow">
- <summary>
- Looks up a localized string similar to A restriction exists for which there is no matching row in the restrictions collection..
- </summary>
- </member>
- <member name="P:System.Strings.MDF_NoColumns">
- <summary>
- Looks up a localized string similar to The schema table contains no columns..
- </summary>
- </member>
- <member name="P:System.Strings.MDF_QueryFailed">
- <summary>
- Looks up a localized string similar to Unable to build the '{0}' collection because execution of the SQL query failed. See the inner exception for details..
- </summary>
- </member>
- <member name="P:System.Strings.MDF_TooManyRestrictions">
- <summary>
- Looks up a localized string similar to More restrictions were provided than the requested schema ('{0}') supports..
- </summary>
- </member>
- <member name="P:System.Strings.MDF_UnableToBuildCollection">
- <summary>
- Looks up a localized string similar to Unable to build schema collection '{0}';.
- </summary>
- </member>
- <member name="P:System.Strings.MDF_UndefinedCollection">
- <summary>
- Looks up a localized string similar to The requested collection ({0}) is not defined..
- </summary>
- </member>
- <member name="P:System.Strings.MDF_UndefinedPopulationMechanism">
- <summary>
- Looks up a localized string similar to The population mechanism '{0}' is not defined..
- </summary>
- </member>
- <member name="P:System.Strings.MDF_UnsupportedVersion">
- <summary>
- Looks up a localized string similar to The requested collection ({0}) is not supported by this version of the provider..
- </summary>
- </member>
- <member name="P:System.Strings.MetaType_SingleValuedStructNotSupported">
- <summary>
- Looks up a localized string similar to SqlDbType.Structured type is only supported for multiple valued types..
- </summary>
- </member>
- <member name="P:System.Strings.MissingClaimInAttestationToken">
- <summary>
- Looks up a localized string similar to The validation of the attestation token failed. Claim '{0}' is missing in the token. Verify the attestation policy. If the policy is correct, contact Customer Support Services..
- </summary>
- </member>
- <member name="P:System.Strings.NamedSimpleType_InvalidDuplicateNamedSimpleTypeDelaration">
- <summary>
- Looks up a localized string similar to Simple type '{0}' has already be declared with different '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.NullSchemaTableDataTypeNotSupported">
- <summary>
- Looks up a localized string similar to DateType column for field '{0}' in schema table is null. DataType must be non-null..
- </summary>
- </member>
- <member name="P:System.Strings.Odbc_CantAllocateEnvironmentHandle">
- <summary>
- Looks up a localized string similar to {0} - unable to allocate an environment handle..
- </summary>
- </member>
- <member name="P:System.Strings.Odbc_CantEnableConnectionpooling">
- <summary>
- Looks up a localized string similar to {0} - unable to enable connection pooling....
- </summary>
- </member>
- <member name="P:System.Strings.Odbc_CantSetPropertyOnOpenConnection">
- <summary>
- Looks up a localized string similar to Can't set property on an open connection..
- </summary>
- </member>
- <member name="P:System.Strings.Odbc_ConnectionClosed">
- <summary>
- Looks up a localized string similar to The connection is closed..
- </summary>
- </member>
- <member name="P:System.Strings.Odbc_ExceptionMessage">
- <summary>
- Looks up a localized string similar to {0} [{1}] {2}.
- </summary>
- </member>
- <member name="P:System.Strings.Odbc_ExceptionNoInfoMsg">
- <summary>
- Looks up a localized string similar to {0} - no error information available.
- </summary>
- </member>
- <member name="P:System.Strings.Odbc_FailedToGetDescriptorHandle">
- <summary>
- Looks up a localized string similar to {0} - unable to get descriptor handle..
- </summary>
- </member>
- <member name="P:System.Strings.ODBC_GetSchemaRestrictionRequired">
- <summary>
- Looks up a localized string similar to "The ODBC managed provider requires that the TABLE_NAME restriction be specified and non-null for the GetSchema indexes collection..
- </summary>
- </member>
- <member name="P:System.Strings.Odbc_GetTypeMapping_UnknownType">
- <summary>
- Looks up a localized string similar to {0} - unable to map type..
- </summary>
- </member>
- <member name="P:System.Strings.Odbc_MDACWrongVersion">
- <summary>
- Looks up a localized string similar to The .NET Framework Odbc Data Provider requires Microsoft Data Access Components(MDAC) version 2.6 or later. Version {0} was found currently installed..
- </summary>
- </member>
- <member name="P:System.Strings.Odbc_NegativeArgument">
- <summary>
- Looks up a localized string similar to Invalid negative argument!.
- </summary>
- </member>
- <member name="P:System.Strings.Odbc_NoMappingForSqlTransactionLevel">
- <summary>
- Looks up a localized string similar to No valid mapping for a SQL_TRANSACTION '{0}' to a System.Data.IsolationLevel enumeration value..
- </summary>
- </member>
- <member name="P:System.Strings.Odbc_NotInTransaction">
- <summary>
- Looks up a localized string similar to Not in a transaction.
- </summary>
- </member>
- <member name="P:System.Strings.ODBC_NotSupportedEnumerationValue">
- <summary>
- Looks up a localized string similar to The {0} enumeration value, {1}, is not supported by the .NET Framework Odbc Data Provider..
- </summary>
- </member>
- <member name="P:System.Strings.Odbc_NullData">
- <summary>
- Looks up a localized string similar to Use IsDBNull when DBNull.Value data is expected..
- </summary>
- </member>
- <member name="P:System.Strings.ODBC_ODBCCommandText">
- <summary>
- Looks up a localized string similar to OdbcCommandBuilder.DeriveParameters failed because the OdbcCommand.CommandText property value is an invalid multipart name.
- </summary>
- </member>
- <member name="P:System.Strings.Odbc_OpenConnectionNoOwner">
- <summary>
- Looks up a localized string similar to An internal connection does not have an owner..
- </summary>
- </member>
- <member name="P:System.Strings.Odbc_UnknownOdbcType">
- <summary>
- Looks up a localized string similar to Invalid OdbcType enumeration value={0}..
- </summary>
- </member>
- <member name="P:System.Strings.Odbc_UnknownSQLType">
- <summary>
- Looks up a localized string similar to Unknown SQL type - {0}..
- </summary>
- </member>
- <member name="P:System.Strings.Odbc_UnknownURTType">
- <summary>
- Looks up a localized string similar to Unknown URT type - {0}..
- </summary>
- </member>
- <member name="P:System.Strings.OdbcCommandBuilder_DataAdapter">
- <summary>
- Looks up a localized string similar to The DataAdapter for which to automatically generate OdbcCommands.
- </summary>
- </member>
- <member name="P:System.Strings.OdbcCommandBuilder_QuotePrefix">
- <summary>
- Looks up a localized string similar to The character used in a text command as the opening quote for quoting identifiers that contain special characters..
- </summary>
- </member>
- <member name="P:System.Strings.OdbcCommandBuilder_QuoteSuffix">
- <summary>
- Looks up a localized string similar to The character used in a text command as the closing quote for quoting identifiers that contain special characters..
- </summary>
- </member>
- <member name="P:System.Strings.OdbcConnection_ConnectionString">
- <summary>
- Looks up a localized string similar to Information used to connect to a Data Source..
- </summary>
- </member>
- <member name="P:System.Strings.OdbcConnection_ConnectionStringTooLong">
- <summary>
- Looks up a localized string similar to Connection string exceeds maximum allowed length of {0}..
- </summary>
- </member>
- <member name="P:System.Strings.OdbcConnection_ConnectionTimeout">
- <summary>
- Looks up a localized string similar to Current connection timeout value, not settable in the ConnectionString..
- </summary>
- </member>
- <member name="P:System.Strings.OdbcConnection_Database">
- <summary>
- Looks up a localized string similar to Current data source catalog value, 'Database=X' in the connection string..
- </summary>
- </member>
- <member name="P:System.Strings.OdbcConnection_DataSource">
- <summary>
- Looks up a localized string similar to Current data source, 'Server=X' in the connection string..
- </summary>
- </member>
- <member name="P:System.Strings.OdbcConnection_Driver">
- <summary>
- Looks up a localized string similar to Current ODBC driver..
- </summary>
- </member>
- <member name="P:System.Strings.OdbcConnection_ServerVersion">
- <summary>
- Looks up a localized string similar to Version of the product accessed by the ODBC Driver..
- </summary>
- </member>
- <member name="P:System.Strings.OdbcParameter_OdbcType">
- <summary>
- Looks up a localized string similar to The parameter native type..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_AsynchronousNotSupported">
- <summary>
- Looks up a localized string similar to 'Asynchronous Processing' is not a supported feature of the .NET Framework Data OLE DB Provider(Microsoft.Data.OleDb)..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_BadAccessor">
- <summary>
- Looks up a localized string similar to Accessor validation was deferred and was performed while the method returned data. The binding was invalid for this column or parameter..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_BadStatus_ParamAcc">
- <summary>
- Looks up a localized string similar to Microsoft.Data.OleDb.OleDbDataAdapter internal error: invalid parameter accessor: {0} {1}..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_BadStatusRowAccessor">
- <summary>
- Looks up a localized string similar to OleDbDataAdapter internal error: invalid row set accessor: Ordinal={0} Status={1}..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_CanNotDetermineDecimalSeparator">
- <summary>
- Looks up a localized string similar to Can not determine the server's decimal separator. Non-integer numeric literals can not be created..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_CantConvertValue">
- <summary>
- Looks up a localized string similar to The data value could not be converted for reasons other than sign mismatch or data overflow. For example, the data was corrupted in the data store but the row was still retrievable..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_CantCreate">
- <summary>
- Looks up a localized string similar to The provider could not allocate memory in which to return {0} data..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_CommandParameterBadAccessor">
- <summary>
- Looks up a localized string similar to Command parameter[{0}] '{1}' is invalid..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_CommandParameterCantConvertValue">
- <summary>
- Looks up a localized string similar to Command parameter[{0}] '{1}' data value could not be converted for reasons other than sign mismatch or data overflow..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_CommandParameterDataOverflow">
- <summary>
- Looks up a localized string similar to Conversion failed for command parameter[{0}] '{1}' because the data value overflowed the type used by the provider..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_CommandParameterDefault">
- <summary>
- Looks up a localized string similar to Parameter[{0}] '{1}' has no default value..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_CommandParameterError">
- <summary>
- Looks up a localized string similar to Error occurred with parameter[{0}]: {1}..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_CommandParameterSignMismatch">
- <summary>
- Looks up a localized string similar to Conversion failed for command parameter[{0}] '{1}' because the data value was signed and the type used by the provider was unsigned..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_CommandParameterUnavailable">
- <summary>
- Looks up a localized string similar to Provider encountered an error while sending command parameter[{0}] '{1}' value and stopped processing..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_CommandTextNotSupported">
- <summary>
- Looks up a localized string similar to The ICommandText interface is not supported by the '{0}' provider. Use CommandType.TableDirect instead..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_ConfigUnableToLoadXmlMetaDataFile">
- <summary>
- Looks up a localized string similar to Unable to load the XML file specified in configuration setting '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_ConfigWrongNumberOfValues">
- <summary>
- Looks up a localized string similar to The '{0}' configuration setting has the wrong number of values..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_ConnectionStringSyntax">
- <summary>
- Looks up a localized string similar to Format of the initialization string does not conform to the OLE DB specification. Starting around char[{0}] in the connection string..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_DataOverflow">
- <summary>
- Looks up a localized string similar to Conversion failed because the {0} data value overflowed the type specified for the {0} value part in the consumer's buffer..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_DBBindingGetVector">
- <summary>
- Looks up a localized string similar to DBTYPE_VECTOR data is not supported by the .NET Framework Data OLE DB Provider(Microsoft.Data.OleDb)..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_FailedGetDescription">
- <summary>
- Looks up a localized string similar to IErrorInfo.GetDescription failed with {0}..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_FailedGetSource">
- <summary>
- Looks up a localized string similar to IErrorInfo.GetSource failed with {0}..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_Fill_EmptyRecord">
- <summary>
- Looks up a localized string similar to Unable to retrieve the IRow interface from the ADODB.Record object..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_Fill_EmptyRecordSet">
- <summary>
- Looks up a localized string similar to Unable to retrieve the '{0}' interface from the ADODB.RecordSet object..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_Fill_NotADODB">
- <summary>
- Looks up a localized string similar to Object is not an ADODB.RecordSet or an ADODB.Record..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_GVtUnknown">
- <summary>
- Looks up a localized string similar to OleDbDataAdapter internal error: [get] Unknown OLE DB data type: 0x{0} ({1})..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_IDBInfoNotSupported">
- <summary>
- Looks up a localized string similar to Cannot construct the ReservedWords schema collection because the provider does not support IDBInfo..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_InvalidProviderSpecified">
- <summary>
- Looks up a localized string similar to The OLE DB Provider specified in the ConnectionString is too long..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_InvalidRestrictionsDbInfoKeywords">
- <summary>
- Looks up a localized string similar to No restrictions are expected for the DbInfoKeywords OleDbSchemaGuid..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_InvalidRestrictionsDbInfoLiteral">
- <summary>
- Looks up a localized string similar to No restrictions are expected for the DbInfoLiterals OleDbSchemaGuid..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_InvalidRestrictionsSchemaGuids">
- <summary>
- Looks up a localized string similar to No restrictions are expected for the schema guid OleDbSchemaGuid..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_ISourcesRowsetNotSupported">
- <summary>
- Looks up a localized string similar to Type does not support the OLE DB interface ISourcesRowset.
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_MDACNotAvailable">
- <summary>
- Looks up a localized string similar to The .NET Framework Data Providers require Microsoft Data Access Components(MDAC). Please install Microsoft Data Access Components(MDAC) version 2.6 or later..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_MDACWrongVersion">
- <summary>
- Looks up a localized string similar to The .NET Framework OleDb Data Provider requires Microsoft Data Access Components(MDAC) version 2.6 or later. Version {0} was found currently installed..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_MSDASQLNotSupported">
- <summary>
- Looks up a localized string similar to The .NET Framework Data Provider for OLEDB (Microsoft.Data.OleDb) does not support the Microsoft OLE DB Provider for ODBC Drivers (MSDASQL). Use the .NET Framework Data Provider for ODBC (System.Data.Odbc)..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_NoErrorInformation">
- <summary>
- Looks up a localized string similar to No error message available, result code: {0}..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_NoErrorInformation2">
- <summary>
- Looks up a localized string similar to '{0}' failed with no error message available, result code: {1}..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_NoErrorMessage">
- <summary>
- Looks up a localized string similar to Unspecified error: {0}.
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_NoProviderSpecified">
- <summary>
- Looks up a localized string similar to An OLE DB Provider was not specified in the ConnectionString. An example would be, 'Provider=SQLOLEDB;'..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_NoProviderSupportForParameters">
- <summary>
- Looks up a localized string similar to The ICommandWithParameters interface is not supported by the '{0}' provider. Command parameters are unsupported with the current provider..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_NoProviderSupportForSProcResetParameters">
- <summary>
- Looks up a localized string similar to Retrieving procedure parameter information is not supported by the '{0}' provider..
- </summary>
- </member>
- <member name="P:System.Strings.OLEDB_NotSupportedEnumerationValue">
- <summary>
- Looks up a localized string similar to The {0} enumeration value, {1}, is not supported by the .NET Framework OleDb Data Provider..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_NotSupportedSchemaTable">
- <summary>
- Looks up a localized string similar to The {0} OleDbSchemaGuid is not a supported schema by the '{1}' provider..
- </summary>
- </member>
- <member name="P:System.Strings.OLEDB_OLEDBCommandText">
- <summary>
- Looks up a localized string similar to OleDbCommandBuilder.DeriveParameters failed because the OleDbCommandBuilder.CommandText property value is an invalid multipart name.
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_PossiblePromptNotUserInteractive">
- <summary>
- Looks up a localized string similar to The .NET Framework Data Provider for OLEDB will not allow the OLE DB Provider to prompt the user in a non-interactive environment..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_PropertyBadColumn">
- <summary>
- Looks up a localized string similar to The ColumnID element was invalid..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_PropertyBadOption">
- <summary>
- Looks up a localized string similar to The value of Options was invalid..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_PropertyBadValue">
- <summary>
- Looks up a localized string similar to Failed to initialize the '{0}' property for one of the following reasons:
- The value data type was not the data type of the property or was not null. For example, the property was DBPROP_MEMORYUSAGE, which has a data type of Int32, and the data type was Int64.
- The value was not a valid value. For example, the property was DBPROP_MEMORYUSAGE and the value was negative.
- The value was a valid value for the property and the provider supports the property as a settable property, but the provider does not su [rest of string was truncated]";.
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_PropertyConflicting">
- <summary>
- Looks up a localized string similar to The '{0}'property's value was not set because doing so would have conflicted with an existing property..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_PropertyNotAllSettable">
- <summary>
- Looks up a localized string similar to A '{0}' property was specified to be applied to all columns but could not be applied to one or more of them..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_PropertyNotAvailable">
- <summary>
- Looks up a localized string similar to (Reserved)..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_PropertyNotSet">
- <summary>
- Looks up a localized string similar to The optional '{0}' property's value was not set to the specified value and setting the property to the specified value was not possible..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_PropertyNotSettable">
- <summary>
- Looks up a localized string similar to The '{0}' property was read-only, or the consumer attempted to set values of properties in the Initialization property group after the data source object was initialized. Consumers can set the value of a read-only property to its current value. This status is also returned if a settable column property could not be set for the particular column..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_PropertyNotSupported">
- <summary>
- Looks up a localized string similar to The property's value was not set because the provider did not support the '{0}' property, or the consumer attempted to get or set values of properties not in the Initialization property group and the data source object is uninitialized..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_PropertyStatusUnknown">
- <summary>
- Looks up a localized string similar to The provider returned an unknown DBPROPSTATUS_ value '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_ProviderUnavailable">
- <summary>
- Looks up a localized string similar to The '{0}' provider is not registered on the local machine..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_SchemaRowsetsNotSupported">
- <summary>
- Looks up a localized string similar to '{0}' interface is not supported by the '{1}' provider. GetOleDbSchemaTable is unavailable with the current provider..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_SignMismatch">
- <summary>
- Looks up a localized string similar to Conversion failed because the {0} data value was signed and the type specified for the {0} value part in the consumer's buffer was unsigned..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_SVtUnknown">
- <summary>
- Looks up a localized string similar to OleDbDataAdapter internal error: [set] Unknown OLE DB data type: 0x{0} ({1})..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_ThreadApartmentState">
- <summary>
- Looks up a localized string similar to The OleDbDataReader.Read must be used from the same thread on which is was created if that thread's ApartmentState was not ApartmentState.MTA..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_TransactionsNotSupported">
- <summary>
- Looks up a localized string similar to The ITransactionLocal interface is not supported by the '{0}' provider. Local transactions are unavailable with the current provider..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_Unavailable">
- <summary>
- Looks up a localized string similar to The provider could not determine the {0} value. For example, the row was just created, the default for the {0} column was not available, and the consumer had not yet set a new {0} value..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_UnexpectedStatusValue">
- <summary>
- Looks up a localized string similar to OLE DB Provider returned an unexpected status value of {0}..
- </summary>
- </member>
- <member name="P:System.Strings.OleDb_UninitializedParameters">
- <summary>
- Looks up a localized string similar to Parameter[{0}]: the OleDbType property is uninitialized: OleDbType.{1}..
- </summary>
- </member>
- <member name="P:System.Strings.OleDbCommandBuilder_DataAdapter">
- <summary>
- Looks up a localized string similar to The DataAdapter for which to automatically generate OleDbCommands.
- </summary>
- </member>
- <member name="P:System.Strings.OleDbCommandBuilder_DecimalSeparator">
- <summary>
- Looks up a localized string similar to The decimal separator used in numeric literals..
- </summary>
- </member>
- <member name="P:System.Strings.OleDbCommandBuilder_QuotePrefix">
- <summary>
- Looks up a localized string similar to The prefix string wrapped around sql objects.
- </summary>
- </member>
- <member name="P:System.Strings.OleDbCommandBuilder_QuoteSuffix">
- <summary>
- Looks up a localized string similar to The suffix string wrapped around sql objects.
- </summary>
- </member>
- <member name="P:System.Strings.OleDbConnection_ConnectionString">
- <summary>
- Looks up a localized string similar to Information used to connect to a Data Source..
- </summary>
- </member>
- <member name="P:System.Strings.OleDbConnection_ConnectionTimeout">
- <summary>
- Looks up a localized string similar to Current connection timeout value, 'Connect Timeout=X' in the ConnectionString..
- </summary>
- </member>
- <member name="P:System.Strings.OleDbConnection_Database">
- <summary>
- Looks up a localized string similar to Current data source catalog value, 'Initial Catalog=X' in the connection string..
- </summary>
- </member>
- <member name="P:System.Strings.OleDbConnection_DataSource">
- <summary>
- Looks up a localized string similar to Current data source, 'Data Source=X' in the connection string..
- </summary>
- </member>
- <member name="P:System.Strings.OleDbConnection_Provider">
- <summary>
- Looks up a localized string similar to Current OLE DB provider ProgID, 'Provider=X' in the connection string..
- </summary>
- </member>
- <member name="P:System.Strings.OleDbConnection_ServerVersion">
- <summary>
- Looks up a localized string similar to Version of the product accessed by the OLE DB Provider..
- </summary>
- </member>
- <member name="P:System.Strings.OleDbParameter_OleDbType">
- <summary>
- Looks up a localized string similar to The parameter native type..
- </summary>
- </member>
- <member name="P:System.Strings.propertyChangedEventDescr">
- <summary>
- Looks up a localized string similar to Occurs whenever a property for this control changes..
- </summary>
- </member>
- <member name="P:System.Strings.Range_Argument">
- <summary>
- Looks up a localized string similar to Min ({0}) must be less than or equal to max ({1}) in a Range object..
- </summary>
- </member>
- <member name="P:System.Strings.Range_NullRange">
- <summary>
- Looks up a localized string similar to This is a null range..
- </summary>
- </member>
- <member name="P:System.Strings.RbTree_EnumerationBroken">
- <summary>
- Looks up a localized string similar to Collection was modified; enumeration operation might not execute..
- </summary>
- </member>
- <member name="P:System.Strings.RbTree_InvalidState">
- <summary>
- Looks up a localized string similar to DataTable internal index is corrupted: '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.RecordManager_MinimumCapacity">
- <summary>
- Looks up a localized string similar to MinimumCapacity must be non-negative..
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_1">
- <summary>
- Looks up a localized string similar to I/O Error detected in read/write operation.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_10">
- <summary>
- Looks up a localized string similar to .
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_11">
- <summary>
- Looks up a localized string similar to Timeout error.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_12">
- <summary>
- Looks up a localized string similar to No server name supplied.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_13">
- <summary>
- Looks up a localized string similar to TerminateListener() has been called.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_14">
- <summary>
- Looks up a localized string similar to Win9x not supported.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_15">
- <summary>
- Looks up a localized string similar to Function not supported.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_16">
- <summary>
- Looks up a localized string similar to Shared-Memory heap error.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_17">
- <summary>
- Looks up a localized string similar to Cannot find an ip/ipv6 type address to connect.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_18">
- <summary>
- Looks up a localized string similar to Connection has been closed by peer.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_19">
- <summary>
- Looks up a localized string similar to Physical connection is not usable.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_2">
- <summary>
- Looks up a localized string similar to Connection was terminated.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_20">
- <summary>
- Looks up a localized string similar to Connection has been closed.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_21">
- <summary>
- Looks up a localized string similar to Encryption is enforced but there is no valid certificate.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_22">
- <summary>
- Looks up a localized string similar to Couldn't load library.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_23">
- <summary>
- Looks up a localized string similar to Cannot open a new thread in server process.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_24">
- <summary>
- Looks up a localized string similar to Cannot post event to completion port.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_25">
- <summary>
- Looks up a localized string similar to Connection string is not valid.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_26">
- <summary>
- Looks up a localized string similar to Error Locating Server/Instance Specified.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_27">
- <summary>
- Looks up a localized string similar to Error getting enabled protocols list from registry.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_28">
- <summary>
- Looks up a localized string similar to Server doesn't support requested protocol.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_29">
- <summary>
- Looks up a localized string similar to Shared Memory is not supported for clustered server connectivity.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_3">
- <summary>
- Looks up a localized string similar to Asynchronous operations not supported.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_30">
- <summary>
- Looks up a localized string similar to Invalid attempt bind to shared memory segment.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_31">
- <summary>
- Looks up a localized string similar to Encryption(ssl/tls) handshake failed.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_32">
- <summary>
- Looks up a localized string similar to Packet size too large for SSL Encrypt/Decrypt operations.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_33">
- <summary>
- Looks up a localized string similar to SSRP error.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_34">
- <summary>
- Looks up a localized string similar to Could not connect to the Shared Memory pipe.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_35">
- <summary>
- Looks up a localized string similar to An internal exception was caught.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_36">
- <summary>
- Looks up a localized string similar to The Shared Memory dll used to connect to SQL Server 2000 was not found.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_37">
- <summary>
- Looks up a localized string similar to The SQL Server 2000 Shared Memory client dll appears to be invalid/corrupted.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_38">
- <summary>
- Looks up a localized string similar to Cannot open a Shared Memory connection to SQL Server 2000.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_39">
- <summary>
- Looks up a localized string similar to Shared memory connectivity to SQL Server 2000 is either disabled or not available on this machine.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_4">
- <summary>
- Looks up a localized string similar to .
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_40">
- <summary>
- Looks up a localized string similar to Could not open a connection to SQL Server.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_41">
- <summary>
- Looks up a localized string similar to Cannot open a Shared Memory connection to a remote SQL server.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_42">
- <summary>
- Looks up a localized string similar to Could not establish dedicated administrator connection (DAC) on default port. Make sure that DAC is enabled.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_43">
- <summary>
- Looks up a localized string similar to An error occurred while obtaining the dedicated administrator connection (DAC) port. Make sure that SQL Browser is running, or check the error log for the port number.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_44">
- <summary>
- Looks up a localized string similar to Could not compose Service Principal Name (SPN) for Windows Integrated Authentication. Possible causes are server(s) incorrectly specified to connection API calls, Domain Name System (DNS) lookup failure or memory shortage.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_47">
- <summary>
- Looks up a localized string similar to Connecting with the MultiSubnetFailover connection option to a SQL Server instance configured with more than 64 IP addresses is not supported..
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_48">
- <summary>
- Looks up a localized string similar to Connecting to a named SQL Server instance using the MultiSubnetFailover connection option is not supported..
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_49">
- <summary>
- Looks up a localized string similar to Connecting to a SQL Server instance using the MultiSubnetFailover connection option is only supported when using the TCP protocol..
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_5">
- <summary>
- Looks up a localized string similar to Invalid parameter(s) found.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_50">
- <summary>
- Looks up a localized string similar to Local Database Runtime error occurred. .
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_51">
- <summary>
- Looks up a localized string similar to An instance name was not specified while connecting to a Local Database Runtime. Specify an instance name in the format (localdb)\instance_name..
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_52">
- <summary>
- Looks up a localized string similar to Unable to locate a Local Database Runtime installation. Verify that SQL Server Express is properly installed and that the Local Database Runtime feature is enabled..
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_53">
- <summary>
- Looks up a localized string similar to Invalid Local Database Runtime registry configuration found. Verify that SQL Server Express is properly installed..
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_54">
- <summary>
- Looks up a localized string similar to Unable to locate the registry entry for SQLUserInstance.dll file path. Verify that the Local Database Runtime feature of SQL Server Express is properly installed..
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_55">
- <summary>
- Looks up a localized string similar to Registry value contains an invalid SQLUserInstance.dll file path. Verify that the Local Database Runtime feature of SQL Server Express is properly installed..
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_56">
- <summary>
- Looks up a localized string similar to Unable to load the SQLUserInstance.dll from the location specified in the registry. Verify that the Local Database Runtime feature of SQL Server Express is properly installed..
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_57">
- <summary>
- Looks up a localized string similar to Invalid SQLUserInstance.dll found at the location specified in the registry. Verify that the Local Database Runtime feature of SQL Server Express is properly installed..
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_6">
- <summary>
- Looks up a localized string similar to Unsupported protocol specified.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_7">
- <summary>
- Looks up a localized string similar to Invalid connection found when setting up new session protocol.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_8">
- <summary>
- Looks up a localized string similar to Protocol not supported.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_ERROR_9">
- <summary>
- Looks up a localized string similar to Associating port with I/O completion mechanism failed.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_PN0">
- <summary>
- Looks up a localized string similar to HTTP Provider.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_PN1">
- <summary>
- Looks up a localized string similar to Named Pipes Provider.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_PN10">
- <summary>
- Looks up a localized string similar to .
- </summary>
- </member>
- <member name="P:System.Strings.SNI_PN11">
- <summary>
- Looks up a localized string similar to SQL Network Interfaces.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_PN2">
- <summary>
- Looks up a localized string similar to Session Provider.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_PN3">
- <summary>
- Looks up a localized string similar to Sign Provider.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_PN4">
- <summary>
- Looks up a localized string similar to Shared Memory Provider.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_PN5">
- <summary>
- Looks up a localized string similar to SMux Provider.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_PN6">
- <summary>
- Looks up a localized string similar to SSL Provider.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_PN7">
- <summary>
- Looks up a localized string similar to TCP Provider.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_PN8">
- <summary>
- Looks up a localized string similar to VIA Provider.
- </summary>
- </member>
- <member name="P:System.Strings.SNI_PN9">
- <summary>
- Looks up a localized string similar to CTAIP Provider.
- </summary>
- </member>
- <member name="P:System.Strings.Snix_AutoEnlist">
- <summary>
- Looks up a localized string similar to Connection open and login was successful, but then an error occurred while enlisting the connection into the current distributed transaction..
- </summary>
- </member>
- <member name="P:System.Strings.Snix_Close">
- <summary>
- Looks up a localized string similar to A transport-level error has occurred during connection clean-up..
- </summary>
- </member>
- <member name="P:System.Strings.Snix_Connect">
- <summary>
- Looks up a localized string similar to A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections..
- </summary>
- </member>
- <member name="P:System.Strings.Snix_EnableMars">
- <summary>
- Looks up a localized string similar to Connection open and login was successful, but then an error occurred while enabling MARS for this connection..
- </summary>
- </member>
- <member name="P:System.Strings.Snix_Execute">
- <summary>
- Looks up a localized string similar to A transport-level error has occurred when sending the request to the server..
- </summary>
- </member>
- <member name="P:System.Strings.Snix_GetMarsSession">
- <summary>
- Looks up a localized string similar to Failed to establish a MARS session in preparation to send the request to the server..
- </summary>
- </member>
- <member name="P:System.Strings.Snix_Login">
- <summary>
- Looks up a localized string similar to A connection was successfully established with the server, but then an error occurred during the login process..
- </summary>
- </member>
- <member name="P:System.Strings.Snix_LoginSspi">
- <summary>
- Looks up a localized string similar to A connection was successfully established with the server, but then an error occurred when obtaining the security/SSPI context information for integrated security login..
- </summary>
- </member>
- <member name="P:System.Strings.Snix_PreLogin">
- <summary>
- Looks up a localized string similar to A connection was successfully established with the server, but then an error occurred during the pre-login handshake..
- </summary>
- </member>
- <member name="P:System.Strings.Snix_PreLoginBeforeSuccessfullWrite">
- <summary>
- Looks up a localized string similar to The client was unable to establish a connection because of an error during connection initialization process before login. Possible causes include the following: the client tried to connect to an unsupported version of SQL Server; the server was too busy to accept new connections; or there was a resource limitation (insufficient memory or maximum allowed connections) on the server..
- </summary>
- </member>
- <member name="P:System.Strings.Snix_ProcessSspi">
- <summary>
- Looks up a localized string similar to A transport-level error has occured during SSPI handshake..
- </summary>
- </member>
- <member name="P:System.Strings.Snix_Read">
- <summary>
- Looks up a localized string similar to A transport-level error has occurred when receiving results from the server..
- </summary>
- </member>
- <member name="P:System.Strings.Snix_SendRows">
- <summary>
- Looks up a localized string similar to A transport-level error has occurred while sending information to the server..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ArgumentLengthMismatch">
- <summary>
- Looks up a localized string similar to The length of '{0}' must match the length of '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_AsyncConnectionRequired">
- <summary>
- Looks up a localized string similar to This command requires an asynchronous connection. Set "Asynchronous Processing=true" in the connection string..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_AsyncOperationCompleted">
- <summary>
- Looks up a localized string similar to The asynchronous operation has already completed..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_AuthenticationAndIntegratedSecurity">
- <summary>
- Looks up a localized string similar to Cannot use 'Authentication' with 'Integrated Security'..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_BatchedUpdatesNotAvailableOnContextConnection">
- <summary>
- Looks up a localized string similar to Batching updates is not supported on the context connection..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_BulkCopyDestinationTableName">
- <summary>
- Looks up a localized string similar to SqlBulkCopy.WriteToServer failed because the SqlBulkCopy.DestinationTableName is an invalid multipart name.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_BulkLoadCannotConvertValue">
- <summary>
- Looks up a localized string similar to The given value of type {0} from the data source cannot be converted to type {1} of the specified target column..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_BulkLoadConflictingTransactionOption">
- <summary>
- Looks up a localized string similar to Must not specify SqlBulkCopyOption.UseInternalTransaction and pass an external Transaction at the same time..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_BulkLoadExistingTransaction">
- <summary>
- Looks up a localized string similar to Unexpected existing transaction..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_BulkLoadInvalidDestinationTable">
- <summary>
- Looks up a localized string similar to Cannot access destination table '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_BulkLoadInvalidOperationInsideEvent">
- <summary>
- Looks up a localized string similar to Function must not be called during event..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_BulkLoadInvalidTimeout">
- <summary>
- Looks up a localized string similar to Timeout Value '{0}' is less than 0..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_BulkLoadInvalidVariantValue">
- <summary>
- Looks up a localized string similar to Value cannot be converted to SqlVariant..
- </summary>
- </member>
- <member name="P:System.Strings.Sql_BulkLoadLcidMismatch">
- <summary>
- Looks up a localized string similar to The locale id '{0}' of the source column '{1}' and the locale id '{2}' of the destination column '{3}' do not match..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_BulkLoadMappingInaccessible">
- <summary>
- Looks up a localized string similar to The mapped collection is in use and cannot be accessed at this time;.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_BulkLoadMappingsNamesOrOrdinalsOnly">
- <summary>
- Looks up a localized string similar to Mappings must be either all name or all ordinal based..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_BulkLoadMissingDestinationTable">
- <summary>
- Looks up a localized string similar to The DestinationTableName property must be set before calling this method..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_BulkLoadNoCollation">
- <summary>
- Looks up a localized string similar to Failed to obtain column collation information for the destination table. If the table is not in the current database the name must be qualified using the database name (e.g. [mydb]..[mytable](e.g. [mydb]..[mytable]); this also applies to temporary-tables (e.g. #mytable would be specified as tempdb..#mytable)..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_BulkLoadNonMatchingColumnMapping">
- <summary>
- Looks up a localized string similar to The given ColumnMapping does not match up with any column in the source or destination..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_BulkLoadNonMatchingColumnName">
- <summary>
- Looks up a localized string similar to The given ColumnName '{0}' does not match up with any column in data source..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_BulkLoadNotAllowDBNull">
- <summary>
- Looks up a localized string similar to Column '{0}' does not allow DBNull.Value..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_BulkLoadPendingOperation">
- <summary>
- Looks up a localized string similar to Attempt to invoke bulk copy on an object that has a pending operation..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_BulkLoadStringTooLong">
- <summary>
- Looks up a localized string similar to String or binary data would be truncated in table '{0}', column '{1}'. Truncated value: '{2}'..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_CannotCreateAuthInitializer">
- <summary>
- Looks up a localized string similar to Failed to instantiate a SqlAuthenticationInitializer with type '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_CannotCreateAuthProvider">
- <summary>
- Looks up a localized string similar to Failed to instantiate an authentication provider with type '{1}' for '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_CannotFindAuthProvider">
- <summary>
- Looks up a localized string similar to Cannot find an authentication provider for '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_CannotGetAuthProviderConfig">
- <summary>
- Looks up a localized string similar to Failed to read the config section for authentication providers..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_CannotGetDTCAddress">
- <summary>
- Looks up a localized string similar to Unable to get the address of the distributed transaction coordinator for the server, from the server. Is DTC enabled on the server?.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_CannotInitializeAuthProvider">
- <summary>
- Looks up a localized string similar to The provider '{0}' threw an exception while initializing..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_CannotModifyPropertyAsyncOperationInProgress">
- <summary>
- Looks up a localized string similar to {0} cannot be changed while async operation is in progress..
- </summary>
- </member>
- <member name="P:System.Strings.Sql_CanotCreateNormalizer">
- <summary>
- Looks up a localized string similar to Cannot create normalizer for '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_Certificate">
- <summary>
- Looks up a localized string similar to Incorrect authentication parameters specified with certificate authentication..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ChangePasswordArgumentMissing">
- <summary>
- Looks up a localized string similar to The '{0}' argument must not be null or empty..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ChangePasswordConflictsWithSSPI">
- <summary>
- Looks up a localized string similar to ChangePassword can only be used with SQL authentication, not with integrated security..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ChangePasswordRequiresYukon">
- <summary>
- Looks up a localized string similar to ChangePassword requires SQL Server 9.0 or later..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ChangePasswordUseOfUnallowedKey">
- <summary>
- Looks up a localized string similar to The keyword '{0}' must not be specified in the connectionString argument to ChangePassword..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ConnectionDoomed">
- <summary>
- Looks up a localized string similar to The requested operation cannot be completed because the connection has been broken..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ConnectionLockedForBcpEvent">
- <summary>
- Looks up a localized string similar to The connection cannot be used because there is an ongoing operation that must be finished..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ContextAllowsLimitedKeywords">
- <summary>
- Looks up a localized string similar to The only additional connection string keyword that may be used when requesting the context connection is the Type System Version keyword..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ContextAllowsOnlyTypeSystem2005">
- <summary>
- Looks up a localized string similar to The context connection does not support Type System Version=SQL Server 2000..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ContextConnectionIsInUse">
- <summary>
- Looks up a localized string similar to The context connection is already in use..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ContextUnavailableOutOfProc">
- <summary>
- Looks up a localized string similar to The requested operation requires a SqlClr context, which is only available when running in the Sql Server process..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ContextUnavailableWhileInProc">
- <summary>
- Looks up a localized string similar to The requested operation requires a Sql Server execution thread. The current thread was started by user code or other non-Sql Server engine code..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_CredentialsNotProvided">
- <summary>
- Looks up a localized string similar to Either Credential or both 'User ID' and 'Password' (or 'UID' and 'PWD') connection string keywords must be specified, if 'Authentication={0}'..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_CTAIPNotSupportedByServer">
- <summary>
- Looks up a localized string similar to The instance of SQL Server you attempted to connect to does not support CTAIP..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_CultureIdError">
- <summary>
- Looks up a localized string similar to The Collation specified by SQL Server is not supported..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_Duration_Login_Begin">
- <summary>
- Looks up a localized string similar to The duration spent while attempting to connect to this server was - [Pre-Login] initialization={0}; handshake={1}; [Login] initialization={2}; .
- </summary>
- </member>
- <member name="P:System.Strings.SQL_Duration_Login_ProcessConnectionAuth">
- <summary>
- Looks up a localized string similar to The duration spent while attempting to connect to this server was - [Pre-Login] initialization={0}; handshake={1}; [Login] initialization={2}; authentication={3}; .
- </summary>
- </member>
- <member name="P:System.Strings.SQL_Duration_PostLogin">
- <summary>
- Looks up a localized string similar to The duration spent while attempting to connect to this server was - [Pre-Login] initialization={0}; handshake={1}; [Login] initialization={2}; authentication={3}; [Post-Login] complete={4}; .
- </summary>
- </member>
- <member name="P:System.Strings.SQL_Duration_PreLogin_Begin">
- <summary>
- Looks up a localized string similar to The duration spent while attempting to connect to this server was - [Pre-Login] initialization={0};.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_Duration_PreLoginHandshake">
- <summary>
- Looks up a localized string similar to The duration spent while attempting to connect to this server was - [Pre-Login] initialization={0}; handshake={1}; .
- </summary>
- </member>
- <member name="P:System.Strings.SQL_EncryptionNotSupportedByClient">
- <summary>
- Looks up a localized string similar to The instance of SQL Server you attempted to connect to requires encryption but this machine does not support it..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_EncryptionNotSupportedByServer">
- <summary>
- Looks up a localized string similar to The instance of SQL Server you attempted to connect to does not support encryption..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_EnumeratedRecordFieldCountChanged">
- <summary>
- Looks up a localized string similar to Number of fields in record '{0}' does not match the number in the original record..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_EnumeratedRecordMetaDataChanged">
- <summary>
- Looks up a localized string similar to Metadata for field '{0}' of record '{1}' did not match the original record's metadata..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ExceedsMaxDataLength">
- <summary>
- Looks up a localized string similar to Specified data length {0} exceeds the allowed maximum length of {1}..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ExClientConnectionId">
- <summary>
- Looks up a localized string similar to ClientConnectionId:{0}.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ExErrorNumberStateClass">
- <summary>
- Looks up a localized string similar to Error Number:{0},State:{1},Class:{2}.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ExOriginalClientConnectionId">
- <summary>
- Looks up a localized string similar to ClientConnectionId before routing:{0}.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ExRoutingDestination">
- <summary>
- Looks up a localized string similar to Routing Destination:{0}.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_FatalTimeout">
- <summary>
- Looks up a localized string similar to Timeout expired. The connection has been broken as a result..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_InstanceFailure">
- <summary>
- Looks up a localized string similar to Instance failure..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_IntegratedWithUserIDAndPassword">
- <summary>
- Looks up a localized string similar to Cannot use 'Authentication=Active Directory Integrated' with 'User ID', 'UID', 'Password' or 'PWD' connection string keywords..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_InteractiveWithPassword">
- <summary>
- Looks up a localized string similar to Cannot use 'Authentication=Active Directory Interactive' with 'Password' or 'PWD' connection string keywords..
- </summary>
- </member>
- <member name="P:System.Strings.Sql_InternalError">
- <summary>
- Looks up a localized string similar to Internal Error.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_InvalidBufferSizeOrIndex">
- <summary>
- Looks up a localized string similar to Buffer offset '{1}' plus the bytes available '{0}' is greater than the length of the passed in buffer..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_InvalidDataLength">
- <summary>
- Looks up a localized string similar to Data length '{0}' is less than 0..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_InvalidInternalPacketSize">
- <summary>
- Looks up a localized string similar to Invalid internal packet size:.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_InvalidOptionLength">
- <summary>
- Looks up a localized string similar to The length of the value for the connection parameter <{0}> exceeds the maximum allowed 65535 characters..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_InvalidPacketSizeValue">
- <summary>
- Looks up a localized string similar to Invalid 'Packet Size'. The value must be an integer >= 512 and <= 32768..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_InvalidParameterNameLength">
- <summary>
- Looks up a localized string similar to The length of the parameter '{0}' exceeds the limit of 128 characters..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_InvalidParameterTypeNameFormat">
- <summary>
- Looks up a localized string similar to Invalid 3 part name format for TypeName..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_InvalidPartnerConfiguration">
- <summary>
- Looks up a localized string similar to Server {0}, database {1} is not configured for database mirroring..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_InvalidRead">
- <summary>
- Looks up a localized string similar to Invalid attempt to read when no data is present..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_InvalidServerCertificate">
- <summary>
- Looks up a localized string similar to The server certificate failed application validation..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_InvalidSqlDbTypeWithOneAllowedType">
- <summary>
- Looks up a localized string similar to The SqlDbType '{0}' is invalid for {1}. Only {2} is supported..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_InvalidSQLServerVersionUnknown">
- <summary>
- Looks up a localized string similar to Unsupported SQL Server version. The .NET Framework SqlClient Data Provider can only be used with SQL Server versions 7.0 and later..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_InvalidSSPIPacketSize">
- <summary>
- Looks up a localized string similar to Invalid SSPI packet size..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_InvalidTDSPacketSize">
- <summary>
- Looks up a localized string similar to Invalid Packet Size..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_InvalidTDSVersion">
- <summary>
- Looks up a localized string similar to The SQL Server instance returned an invalid or unsupported protocol version during login negotiation..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_InvalidUdt3PartNameFormat">
- <summary>
- Looks up a localized string similar to Invalid 3 part name format for UdtTypeName..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_MarsUnsupportedOnConnection">
- <summary>
- Looks up a localized string similar to The connection does not support MultipleActiveResultSets..
- </summary>
- </member>
- <member name="P:System.Strings.Sql_MismatchedMetaDataDirectionArrayLengths">
- <summary>
- Looks up a localized string similar to MetaData parameter array must have length equivalent to ParameterDirection array argument..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_MoneyOverflow">
- <summary>
- Looks up a localized string similar to SqlDbType.SmallMoney overflow. Value '{0}' is out of range. Must be between -214,748.3648 and 214,748.3647..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_MSALFailure">
- <summary>
- Looks up a localized string similar to Failed to authenticate the user {0} in Active Directory (Authentication={1})..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_MSALInnerException">
- <summary>
- Looks up a localized string similar to Error code 0x{0}; state {1}.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_NestedTransactionScopesNotSupported">
- <summary>
- Looks up a localized string similar to Nested TransactionScopes are not supported..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_NonBlobColumn">
- <summary>
- Looks up a localized string similar to Invalid attempt to GetBytes on column '{0}'. The GetBytes function can only be used on columns of type Text, NText, or Image..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_NonCharColumn">
- <summary>
- Looks up a localized string similar to Invalid attempt to GetChars on column '{0}'. The GetChars function can only be used on columns of type Text, NText, Xml, VarChar or NVarChar..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_NonLocalSSEInstance">
- <summary>
- Looks up a localized string similar to SSE Instance re-direction is not supported for non-local user instances..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_NonXmlResult">
- <summary>
- Looks up a localized string similar to Invalid command sent to ExecuteXmlReader. The command must return an Xml result..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_NotAvailableOnContextConnection">
- <summary>
- Looks up a localized string similar to The requested operation is not available on the context connection..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_NotificationsNotAvailableOnContextConnection">
- <summary>
- Looks up a localized string similar to Notifications are not available on the context connection..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_NotificationsRequireYukon">
- <summary>
- Looks up a localized string similar to Notifications require SQL Server 9.0 or later..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_NotSupportedEnumerationValue">
- <summary>
- Looks up a localized string similar to The {0} enumeration value, {1}, is not supported by the .NET Framework SqlClient Data Provider..
- </summary>
- </member>
- <member name="P:System.Strings.Sql_NullCommandText">
- <summary>
- Looks up a localized string similar to Command parameter must have a non null and non empty command text..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_NullEmptyTransactionName">
- <summary>
- Looks up a localized string similar to Invalid transaction or invalid name for a point at which to save within the transaction..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_OpenResultCountExceeded">
- <summary>
- Looks up a localized string similar to Open result count exceeded..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_OperationCancelled">
- <summary>
- Looks up a localized string similar to Operation cancelled by user..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ParameterCannotBeEmpty">
- <summary>
- Looks up a localized string similar to Parameter '{0}' cannot be null or empty..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ParameterInvalidVariant">
- <summary>
- Looks up a localized string similar to Parameter '{0}' exceeds the size limit for the sql_variant datatype..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ParameterTypeNameRequired">
- <summary>
- Looks up a localized string similar to The {0} type parameter '{1}' must have a valid type name..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ParsingError">
- <summary>
- Looks up a localized string similar to Internal connection fatal error..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ParsingErrorAuthLibraryType">
- <summary>
- Looks up a localized string similar to Internal connection fatal error. Error state: {0}, Authentication Library Type: {1}.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ParsingErrorFeatureId">
- <summary>
- Looks up a localized string similar to Internal connection fatal error. Error state: {0}, Feature Id: {1}.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ParsingErrorLength">
- <summary>
- Looks up a localized string similar to Internal connection fatal error. Error state: {0}, Length: {1}.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ParsingErrorOffset">
- <summary>
- Looks up a localized string similar to Internal connection fatal error. Error state: {0}, Offset: {1}.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ParsingErrorStatus">
- <summary>
- Looks up a localized string similar to Internal connection fatal error. Error state: {0}, Status: {1}.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ParsingErrorToken">
- <summary>
- Looks up a localized string similar to Internal connection fatal error. Error state: {0}, Token : {1}.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ParsingErrorValue">
- <summary>
- Looks up a localized string similar to Internal connection fatal error. Error state: {0}, Value: {1}.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ParsingErrorWithState">
- <summary>
- Looks up a localized string similar to Internal connection fatal error. Error state: {0}.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_PendingBeginXXXExists">
- <summary>
- Looks up a localized string similar to The command execution cannot proceed due to a pending asynchronous operation already in progress..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_PipeErrorRequiresSendEnd">
- <summary>
- Looks up a localized string similar to An error occurred with a prior row sent to the SqlPipe. SendResultsEnd must be called before anything else can be sent..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_PrecisionValueOutOfRange">
- <summary>
- Looks up a localized string similar to Precision value '{0}' is either less than 0 or greater than the maximum allowed precision of 38..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_ScaleValueOutOfRange">
- <summary>
- Looks up a localized string similar to Scale value '{0}' is either less than 0 or greater than the maximum allowed scale of 38..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_SettingCredentialWithIntegrated">
- <summary>
- Looks up a localized string similar to Cannot set the Credential property if 'Authentication=Active Directory Integrated' has been specified in the connection string..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_SettingIntegratedWithCredential">
- <summary>
- Looks up a localized string similar to Cannot use 'Authentication=Active Directory Integrated', if the Credential property has been set..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_SevereError">
- <summary>
- Looks up a localized string similar to A severe error occurred on the current command. The results, if any, should be discarded..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_SmallDateTimeOverflow">
- <summary>
- Looks up a localized string similar to SqlDbType.SmallDateTime overflow. Value '{0}' is out of range. Must be between 1/1/1900 12:00:00 AM and 6/6/2079 11:59:59 PM..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_SnapshotNotSupported">
- <summary>
- Looks up a localized string similar to The {0} enumeration value, {1}, is not supported by SQL Server 7.0 or SQL Server 2000..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_SNIPacketAllocationFailure">
- <summary>
- Looks up a localized string similar to Memory allocation for internal connection failed..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_SqlCommandCommandText">
- <summary>
- Looks up a localized string similar to SqlCommand.DeriveParameters failed because the SqlCommand.CommandText property value is an invalid multipart name.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_SqlRecordReadOnly">
- <summary>
- Looks up a localized string similar to '{0}' cannot be called when the record is read only..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_SqlRecordReadOnly2">
- <summary>
- Looks up a localized string similar to Operation cannot be completed because the record is read only..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_SqlResultSetClosed">
- <summary>
- Looks up a localized string similar to Invalid attempt to call method {0} when SqlResultSet is closed..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_SqlResultSetClosed2">
- <summary>
- Looks up a localized string similar to Operation cannot be completed because the SqlResultSet is closed..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_SqlResultSetCommandNotInSameConnection">
- <summary>
- Looks up a localized string similar to Operation cannot be completed because the command that created the SqlResultSet has been dissociated from the original connection. SqlResultSet is closed..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_SqlResultSetNoAcceptableCursor">
- <summary>
- Looks up a localized string similar to SqlResultSet could not be created for the given query with the desired options..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_SqlResultSetRowDeleted">
- <summary>
- Looks up a localized string similar to Invalid attempt to call method {0} when the current row is deleted.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_SqlResultSetRowDeleted2">
- <summary>
- Looks up a localized string similar to Operation cannot be completed because the current row is deleted.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_SqlUpdatableRecordReadOnly">
- <summary>
- Looks up a localized string similar to '{0}' cannot be called when the SqlDataRecord is read only..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_SSPIGenerateError">
- <summary>
- Looks up a localized string similar to The target principal name is incorrect. Cannot generate SSPI context..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_SSPIInitializeError">
- <summary>
- Looks up a localized string similar to Cannot initialize SSPI package..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_StreamNotSupportOnColumnType">
- <summary>
- Looks up a localized string similar to Invalid attempt to GetStream on column '{0}'. The GetStream function can only be used on columns of type Binary, Image, Udt or VarBinary..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_StreamReadNotSupported">
- <summary>
- Looks up a localized string similar to The Stream does not support reading..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_StreamSeekNotSupported">
- <summary>
- Looks up a localized string similar to The Stream does not support seeking..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_StreamWriteNotSupported">
- <summary>
- Looks up a localized string similar to The Stream does not support writing..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_TDSParserTableName">
- <summary>
- Looks up a localized string similar to Processing of results from SQL Server failed because of an invalid multipart name.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_TextReaderNotSupportOnColumnType">
- <summary>
- Looks up a localized string similar to Invalid attempt to GetTextReader on column '{0}'. The GetTextReader function can only be used on columns of type Char, NChar, NText, NVarChar, Text or VarChar..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_Timeout">
- <summary>
- Looks up a localized string similar to Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_Timeout_Execution">
- <summary>
- Looks up a localized string similar to Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_Timeout_FailoverInfo">
- <summary>
- Looks up a localized string similar to This failure occured while attempting to connect to the {0} server..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_Timeout_Login_Begin">
- <summary>
- Looks up a localized string similar to Connection Timeout Expired. The timeout period elapsed at the start of the login phase. This could be because of insufficient time provided for connection timeout..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_Timeout_Login_ProcessConnectionAuth">
- <summary>
- Looks up a localized string similar to Connection Timeout Expired. The timeout period elapsed while attempting to authenticate the login. This could be because the server failed to authenticate the user or the server was unable to respond back in time..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_Timeout_PostLogin">
- <summary>
- Looks up a localized string similar to Connection Timeout Expired. The timeout period elapsed during the post-login phase. The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while attempting to create multiple active connections..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_Timeout_PreLogin_Begin">
- <summary>
- Looks up a localized string similar to Connection Timeout Expired. The timeout period elapsed at the start of the pre-login phase. This could be because of insufficient time provided for connection timeout..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_Timeout_PreLogin_ConsumeHandshake">
- <summary>
- Looks up a localized string similar to Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_Timeout_PreLogin_InitializeConnection">
- <summary>
- Looks up a localized string similar to Connection Timeout Expired. The timeout period elapsed while attempting to create and initialize a socket to the server. This could be either because the server was unreachable or unable to respond back in time..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_Timeout_PreLogin_SendHandshake">
- <summary>
- Looks up a localized string similar to Connection Timeout Expired. The timeout period elapsed while making a pre-login handshake request. This could be because the server was unable to respond back in time..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_Timeout_RoutingDestinationInfo">
- <summary>
- Looks up a localized string similar to This failure occurred while attempting to connect to the routing destination. The duration spent while attempting to connect to the original server was - [Pre-Login] initialization={0}; handshake={1}; [Login] initialization={2}; authentication={3}; [Post-Login] complete={4}; .
- </summary>
- </member>
- <member name="P:System.Strings.SQL_TimeOverflow">
- <summary>
- Looks up a localized string similar to SqlDbType.Time overflow. Value '{0}' is out of range. Must be between 00:00:00.0000000 and 23:59:59.9999999..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_TimeScaleValueOutOfRange">
- <summary>
- Looks up a localized string similar to Scale value '{0}' is either less than 0 or greater than the maximum allowed scale of 7..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_TooManyValues">
- <summary>
- Looks up a localized string similar to Too many values..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_TypeName">
- <summary>
- Looks up a localized string similar to SqlParameter.TypeName is an invalid multipart name.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_UDTTypeName">
- <summary>
- Looks up a localized string similar to SqlParameter.UdtTypeName is an invalid multipart name.
- </summary>
- </member>
- <member name="P:System.Strings.SQL_UnexpectedSmiEvent">
- <summary>
- Looks up a localized string similar to Unexpected server event: {0}..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_UnknownSysTxIsolationLevel">
- <summary>
- Looks up a localized string similar to Unrecognized System.Transactions.IsolationLevel enumeration value: {0}..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_UnsupportedAuthentication">
- <summary>
- Looks up a localized string similar to The authentication '{0}' is not supported..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_UnsupportedAuthenticationByProvider">
- <summary>
- Looks up a localized string similar to The provider '{0}' does not support authentication '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_UnsupportedSqlAuthenticationMethod">
- <summary>
- Looks up a localized string similar to SQL authentication method '{0}' is not supported..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_UserInstanceFailoverNotCompatible">
- <summary>
- Looks up a localized string similar to User Instance and Failover are not compatible options. Please choose only one of the two in the connection string..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_UserInstanceFailure">
- <summary>
- Looks up a localized string similar to A user instance was requested in the connection string but the server specified does not support this option..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_UserInstanceNotAvailableInProc">
- <summary>
- Looks up a localized string similar to User instances are not allowed when running in the Sql Server process..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_WrongType">
- <summary>
- Looks up a localized string similar to Expecting argument of type {1}, but received type {0}..
- </summary>
- </member>
- <member name="P:System.Strings.SQL_XmlReaderNotSupportOnColumnType">
- <summary>
- Looks up a localized string similar to Invalid attempt to GetXmlReader on column '{0}'. The GetXmlReader function can only be used on columns of type Xml..
- </summary>
- </member>
- <member name="P:System.Strings.SqlCommand_Notification">
- <summary>
- Looks up a localized string similar to Notification values used by Microsoft SQL Server..
- </summary>
- </member>
- <member name="P:System.Strings.SqlCommand_NotificationAutoEnlist">
- <summary>
- Looks up a localized string similar to Automatic enlistment in notifications used by Microsoft SQL Server..
- </summary>
- </member>
- <member name="P:System.Strings.SqlCommandBuilder_DataAdapter">
- <summary>
- Looks up a localized string similar to The DataAdapter for which to automatically generate SqlCommands.
- </summary>
- </member>
- <member name="P:System.Strings.SqlCommandBuilder_DecimalSeparator">
- <summary>
- Looks up a localized string similar to The decimal separator used in numeric literals..
- </summary>
- </member>
- <member name="P:System.Strings.SqlCommandBuilder_QuotePrefix">
- <summary>
- Looks up a localized string similar to The character used in a text command as the opening quote for quoting identifiers that contain special characters..
- </summary>
- </member>
- <member name="P:System.Strings.SqlCommandBuilder_QuoteSuffix">
- <summary>
- Looks up a localized string similar to The character used in a text command as the closing quote for quoting identifiers that contain special characters..
- </summary>
- </member>
- <member name="P:System.Strings.SqlConnection_AccessToken">
- <summary>
- Looks up a localized string similar to Access token to use for authentication..
- </summary>
- </member>
- <member name="P:System.Strings.SqlConnection_Asynchronous">
- <summary>
- Looks up a localized string similar to State of connection, synchronous or asynchronous. 'Asynchronous Processing=x' in the connection string..
- </summary>
- </member>
- <member name="P:System.Strings.SqlConnection_ClientConnectionId">
- <summary>
- Looks up a localized string similar to A guid to represent the physical connection..
- </summary>
- </member>
- <member name="P:System.Strings.SqlConnection_ConnectionString">
- <summary>
- Looks up a localized string similar to Information used to connect to a DataSource, such as 'Data Source=x;Initial Catalog=x;Integrated Security=SSPI'..
- </summary>
- </member>
- <member name="P:System.Strings.SqlConnection_ConnectionTimeout">
- <summary>
- Looks up a localized string similar to Current connection timeout value, 'Connect Timeout=X' in the ConnectionString..
- </summary>
- </member>
- <member name="P:System.Strings.SqlConnection_Credential">
- <summary>
- Looks up a localized string similar to User Id and secure password to use for authentication..
- </summary>
- </member>
- <member name="P:System.Strings.SqlConnection_CustomColumnEncryptionKeyStoreProviders">
- <summary>
- Looks up a localized string similar to Custom column encryption key store providers..
- </summary>
- </member>
- <member name="P:System.Strings.SqlConnection_Database">
- <summary>
- Looks up a localized string similar to Current SQL Server database, 'Initial Catalog=X' in the connection string..
- </summary>
- </member>
- <member name="P:System.Strings.SqlConnection_DataSource">
- <summary>
- Looks up a localized string similar to Current SqlServer that the connection is opened to, 'Data Source=X' in the connection string..
- </summary>
- </member>
- <member name="P:System.Strings.SqlConnection_PacketSize">
- <summary>
- Looks up a localized string similar to Network packet size, 'Packet Size=x' in the connection string..
- </summary>
- </member>
- <member name="P:System.Strings.SqlConnection_Replication">
- <summary>
- Looks up a localized string similar to Information used to connect for replication..
- </summary>
- </member>
- <member name="P:System.Strings.SqlConnection_ServerVersion">
- <summary>
- Looks up a localized string similar to Version of the SQL Server accessed by the SqlConnection..
- </summary>
- </member>
- <member name="P:System.Strings.SqlConnection_StatisticsEnabled">
- <summary>
- Looks up a localized string similar to Collect statistics for this connection..
- </summary>
- </member>
- <member name="P:System.Strings.SqlConnection_WorkstationId">
- <summary>
- Looks up a localized string similar to Workstation Id, 'Workstation ID=x' in the connection string..
- </summary>
- </member>
- <member name="P:System.Strings.SqlConvert_ConvertFailed">
- <summary>
- Looks up a localized string similar to Cannot convert object of type '{0}' to object of type '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.SQLCR_AllAttemptsFailed">
- <summary>
- Looks up a localized string similar to The connection is broken and recovery is not possible. The client driver attempted to recover the connection one or more times and all attempts failed. Increase the value of ConnectRetryCount to increase the number of recovery attempts..
- </summary>
- </member>
- <member name="P:System.Strings.SQLCR_EncryptionChanged">
- <summary>
- Looks up a localized string similar to The server did not preserve SSL encryption during a recovery attempt, connection recovery is not possible..
- </summary>
- </member>
- <member name="P:System.Strings.SQLCR_InvalidConnectRetryCountValue">
- <summary>
- Looks up a localized string similar to Invalid ConnectRetryCount value (should be 0-255)..
- </summary>
- </member>
- <member name="P:System.Strings.SQLCR_InvalidConnectRetryIntervalValue">
- <summary>
- Looks up a localized string similar to Invalid ConnectRetryInterval value (should be 1-60)..
- </summary>
- </member>
- <member name="P:System.Strings.SQLCR_NextAttemptWillExceedQueryTimeout">
- <summary>
- Looks up a localized string similar to Next reconnection attempt will exceed query timeout. Reconnection was terminated..
- </summary>
- </member>
- <member name="P:System.Strings.SQLCR_NoCRAckAtReconnection">
- <summary>
- Looks up a localized string similar to The server did not acknowledge a recovery attempt, connection recovery is not possible..
- </summary>
- </member>
- <member name="P:System.Strings.SQLCR_TDSVestionNotPreserved">
- <summary>
- Looks up a localized string similar to The server did not preserve the exact client TDS version requested during a recovery attempt, connection recovery is not possible..
- </summary>
- </member>
- <member name="P:System.Strings.SQLCR_UnrecoverableClient">
- <summary>
- Looks up a localized string similar to The connection is broken and recovery is not possible. The connection is marked by the client driver as unrecoverable. No attempt was made to restore the connection..
- </summary>
- </member>
- <member name="P:System.Strings.SQLCR_UnrecoverableServer">
- <summary>
- Looks up a localized string similar to The connection is broken and recovery is not possible. The connection is marked by the server as unrecoverable. No attempt was made to restore the connection..
- </summary>
- </member>
- <member name="P:System.Strings.SqlDelegatedTransaction_PromotionFailed">
- <summary>
- Looks up a localized string similar to Failure while attempting to promote transaction..
- </summary>
- </member>
- <member name="P:System.Strings.SqlDependency_AddCommandDependency">
- <summary>
- Looks up a localized string similar to To add a command to existing dependency object..
- </summary>
- </member>
- <member name="P:System.Strings.SqlDependency_DatabaseBrokerDisabled">
- <summary>
- Looks up a localized string similar to The SQL Server Service Broker for the current database is not enabled, and as a result query notifications are not supported. Please enable the Service Broker for this database if you wish to use notifications..
- </summary>
- </member>
- <member name="P:System.Strings.SqlDependency_DefaultOptionsButNoStart">
- <summary>
- Looks up a localized string similar to When using SqlDependency without providing an options value, SqlDependency.Start() must be called prior to execution of a command added to the SqlDependency instance..
- </summary>
- </member>
- <member name="P:System.Strings.SqlDependency_Duplicate">
- <summary>
- Looks up a localized string similar to Command is already associated with another dependency object. Can not overwrite..
- </summary>
- </member>
- <member name="P:System.Strings.SqlDependency_DuplicateStart">
- <summary>
- Looks up a localized string similar to SqlDependency does not support calling Start() with different connection strings having the same server, user, and database in the same app domain..
- </summary>
- </member>
- <member name="P:System.Strings.SqlDependency_EventNoDuplicate">
- <summary>
- Looks up a localized string similar to SqlDependency.OnChange does not support multiple event registrations for the same delegate..
- </summary>
- </member>
- <member name="P:System.Strings.SqlDependency_HasChanges">
- <summary>
- Looks up a localized string similar to Property to indicate if this dependency is invalid..
- </summary>
- </member>
- <member name="P:System.Strings.SqlDependency_Id">
- <summary>
- Looks up a localized string similar to A string that uniquely identifies this dependency object..
- </summary>
- </member>
- <member name="P:System.Strings.SqlDependency_IdMismatch">
- <summary>
- Looks up a localized string similar to No SqlDependency exists for the key..
- </summary>
- </member>
- <member name="P:System.Strings.SqlDependency_InvalidTimeout">
- <summary>
- Looks up a localized string similar to Timeout specified is invalid. Timeout cannot be < 0..
- </summary>
- </member>
- <member name="P:System.Strings.SqlDependency_NoMatchingServerDatabaseStart">
- <summary>
- Looks up a localized string similar to SqlDependency.Start has been called for the server the command is executing against more than once, but there is no matching server/user/database Start() call for current command..
- </summary>
- </member>
- <member name="P:System.Strings.SqlDependency_NoMatchingServerStart">
- <summary>
- Looks up a localized string similar to When using SqlDependency without providing an options value, SqlDependency.Start() must be called for each server that is being executed against..
- </summary>
- </member>
- <member name="P:System.Strings.SqlDependency_OnChange">
- <summary>
- Looks up a localized string similar to Event that can be used to subscribe for change notifications..
- </summary>
- </member>
- <member name="P:System.Strings.SqlDependency_SqlDependency">
- <summary>
- Looks up a localized string similar to Dependency object used to receive query notifications..
- </summary>
- </member>
- <member name="P:System.Strings.SqlFileStream_FileAlreadyInTransaction">
- <summary>
- Looks up a localized string similar to The process cannot access the file specified because it has been opened in another transaction..
- </summary>
- </member>
- <member name="P:System.Strings.SqlFileStream_InvalidParameter">
- <summary>
- Looks up a localized string similar to An invalid parameter was passed to the function..
- </summary>
- </member>
- <member name="P:System.Strings.SqlFileStream_InvalidPath">
- <summary>
- Looks up a localized string similar to The path name is not valid..
- </summary>
- </member>
- <member name="P:System.Strings.SqlFileStream_PathNotValidDiskResource">
- <summary>
- Looks up a localized string similar to The path name is invalid or does not point to a disk file..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMetaData_InvalidSqlDbTypeForConstructorFormat">
- <summary>
- Looks up a localized string similar to The dbType {0} is invalid for this constructor..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMetaData_NameTooLong">
- <summary>
- Looks up a localized string similar to The name is too long..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMetaData_NoMetadata">
- <summary>
- Looks up a localized string similar to GetMetaData is not valid for this SqlDbType..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMetaData_SpecifyBothSortOrderAndOrdinal">
- <summary>
- Looks up a localized string similar to The sort order and ordinal must either both be specified, or neither should be specified (SortOrder.Unspecified and -1). The values given were: order = {0}, ordinal = {1}..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_AlreadyFilledMessage">
- <summary>
- Looks up a localized string similar to SQL Type has already been loaded with data..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_ArithOverflowMessage">
- <summary>
- Looks up a localized string similar to Arithmetic Overflow..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_BufferInsufficientMessage">
- <summary>
- Looks up a localized string similar to The buffer is insufficient. Read or write operation failed..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_ClosedXmlReaderMessage">
- <summary>
- Looks up a localized string similar to Invalid attempt to access a closed XmlReader..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_CompareDiffCollationMessage">
- <summary>
- Looks up a localized string similar to Two strings to be compared have different collation..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_ConcatDiffCollationMessage">
- <summary>
- Looks up a localized string similar to Two strings to be concatenated have different collation..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_ConversionOverflowMessage">
- <summary>
- Looks up a localized string similar to Conversion overflows..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_DateTimeOverflowMessage">
- <summary>
- Looks up a localized string similar to SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_DivideByZeroMessage">
- <summary>
- Looks up a localized string similar to Divide by zero error encountered..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_FormatMessage">
- <summary>
- Looks up a localized string similar to The input wasn't in a correct format..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_InvalidArraySizeMessage">
- <summary>
- Looks up a localized string similar to Invalid array size..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_InvalidDateTimeMessage">
- <summary>
- Looks up a localized string similar to Invalid SqlDateTime..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_InvalidFirstDayMessage">
- <summary>
- Looks up a localized string similar to Argument to GetDayOfWeek must be integer between 1 and 7..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_InvalidFlagMessage">
- <summary>
- Looks up a localized string similar to Invalid flag value..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_InvalidOpStreamClosed">
- <summary>
- Looks up a localized string similar to Invalid attempt to call {0} when the stream is closed..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_InvalidOpStreamNonReadable">
- <summary>
- Looks up a localized string similar to Invalid attempt to call {0} when the stream non-readable..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_InvalidOpStreamNonSeekable">
- <summary>
- Looks up a localized string similar to Invalid attempt to call {0} when the stream is non-seekable..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_InvalidOpStreamNonWritable">
- <summary>
- Looks up a localized string similar to Invalid attempt to call {0} when the stream non-writable..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_InvalidPrecScaleMessage">
- <summary>
- Looks up a localized string similar to Invalid numeric precision/scale..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_LenTooLargeMessage">
- <summary>
- Looks up a localized string similar to The SqlBytes and SqlChars don't support length of more than 2GB in this version..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_MessageString">
- <summary>
- Looks up a localized string similar to Message.
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_NoBufferMessage">
- <summary>
- Looks up a localized string similar to There is no buffer. Read or write operation failed..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_NotFilledMessage">
- <summary>
- Looks up a localized string similar to SQL Type has not been loaded with data..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_NullString">
- <summary>
- Looks up a localized string similar to Null.
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_NullValueMessage">
- <summary>
- Looks up a localized string similar to Data is Null. This method or property cannot be called on Null values..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_NumeToDecOverflowMessage">
- <summary>
- Looks up a localized string similar to Conversion from SqlDecimal to Decimal overflows..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_SetNonZeroLenOnNullMessage">
- <summary>
- Looks up a localized string similar to Cannot set to non-zero length, because current value is Null..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_SqlTypeMessage">
- <summary>
- Looks up a localized string similar to SqlType error..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_StreamClosedMessage">
- <summary>
- Looks up a localized string similar to Stream has been closed or disposed..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_StreamErrorMessage">
- <summary>
- Looks up a localized string similar to An error occurred while reading..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_SubclassMustOverride">
- <summary>
- Looks up a localized string similar to Subclass did not override a required method..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_TimeZoneSpecifiedMessage">
- <summary>
- Looks up a localized string similar to A time zone was specified. SqlDateTime does not support time zones..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_TruncationMaxDataMessage">
- <summary>
- Looks up a localized string similar to Data returned is larger than 2Gb in size. Use SequentialAccess command behavior in order to get all of the data..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_TruncationMessage">
- <summary>
- Looks up a localized string similar to Numeric arithmetic causes truncation..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_WriteNonZeroOffsetOnNullMessage">
- <summary>
- Looks up a localized string similar to Cannot write to non-zero offset, because current value is Null..
- </summary>
- </member>
- <member name="P:System.Strings.SqlMisc_WriteOffsetLargerThanLenMessage">
- <summary>
- Looks up a localized string similar to Cannot write from an offset that is larger than current length. It would leave uninitialized data in the buffer..
- </summary>
- </member>
- <member name="P:System.Strings.SQLMSF_FailoverPartnerNotSupported">
- <summary>
- Looks up a localized string similar to Connecting to a mirrored SQL Server instance using the MultiSubnetFailover connection option is not supported..
- </summary>
- </member>
- <member name="P:System.Strings.SQLNotify_AlreadyHasCommand">
- <summary>
- Looks up a localized string similar to This SqlCommand object is already associated with another SqlDependency object..
- </summary>
- </member>
- <member name="P:System.Strings.SQLNotify_ErrorFormat">
- <summary>
- Looks up a localized string similar to Notification Error. Type={0}, Info={1}, Source={2}..
- </summary>
- </member>
- <member name="P:System.Strings.SqlNotify_SqlDepCannotBeCreatedInProc">
- <summary>
- Looks up a localized string similar to SqlDependency object cannot be created when running inside the SQL Server process..
- </summary>
- </member>
- <member name="P:System.Strings.SqlParameter_DBNullNotSupportedForTVP">
- <summary>
- Looks up a localized string similar to DBNull value for parameter '{0}' is not supported. Table-valued parameters cannot be DBNull..
- </summary>
- </member>
- <member name="P:System.Strings.SqlParameter_InvalidTableDerivedPrecisionForTvp">
- <summary>
- Looks up a localized string similar to Precision '{0}' required to send all values in column '{1}' exceeds the maximum supported precision '{2}'. The values must all fit in a single precision..
- </summary>
- </member>
- <member name="P:System.Strings.SqlParameter_Offset">
- <summary>
- Looks up a localized string similar to Offset in variable length data types..
- </summary>
- </member>
- <member name="P:System.Strings.SqlParameter_ParameterName">
- <summary>
- Looks up a localized string similar to Name of the parameter, like '@p1'.
- </summary>
- </member>
- <member name="P:System.Strings.SqlParameter_SqlDbType">
- <summary>
- Looks up a localized string similar to The parameter native type..
- </summary>
- </member>
- <member name="P:System.Strings.SqlParameter_TypeName">
- <summary>
- Looks up a localized string similar to The server's name for the type..
- </summary>
- </member>
- <member name="P:System.Strings.SqlParameter_UnexpectedTypeNameForNonStruct">
- <summary>
- Looks up a localized string similar to TypeName specified for parameter '{0}'. TypeName must only be set for Structured parameters..
- </summary>
- </member>
- <member name="P:System.Strings.SqlParameter_UnsupportedTVPOutputParameter">
- <summary>
- Looks up a localized string similar to ParameterDirection '{0}' specified for parameter '{1}' is not supported. Table-valued parameters only support ParameterDirection.Input..
- </summary>
- </member>
- <member name="P:System.Strings.SqlParameter_XmlSchemaCollectionDatabase">
- <summary>
- Looks up a localized string similar to XmlSchemaCollectionDatabase.
- </summary>
- </member>
- <member name="P:System.Strings.SqlParameter_XmlSchemaCollectionName">
- <summary>
- Looks up a localized string similar to XmlSchemaCollectionName.
- </summary>
- </member>
- <member name="P:System.Strings.SqlParameter_XmlSchemaCollectionOwningSchema">
- <summary>
- Looks up a localized string similar to XmlSchemaCollectionOwningSchema.
- </summary>
- </member>
- <member name="P:System.Strings.SqlPipe_AlreadyHasAnOpenResultSet">
- <summary>
- Looks up a localized string similar to A result set is currently being sent to the pipe. End the current result set before calling {0}..
- </summary>
- </member>
- <member name="P:System.Strings.SqlPipe_CommandHookedUpToNonContextConnection">
- <summary>
- Looks up a localized string similar to SqlPipe does not support executing a command with a connection that is not a context connection..
- </summary>
- </member>
- <member name="P:System.Strings.SqlPipe_DoesNotHaveAnOpenResultSet">
- <summary>
- Looks up a localized string similar to Result set has not been initiated. Call SendResultSetStart before calling {0}..
- </summary>
- </member>
- <member name="P:System.Strings.SqlPipe_IsBusy">
- <summary>
- Looks up a localized string similar to Could not use the pipe while it is busy with another operation..
- </summary>
- </member>
- <member name="P:System.Strings.SqlPipe_MessageTooLong">
- <summary>
- Looks up a localized string similar to Message length {0} exceeds maximum length supported of 4000..
- </summary>
- </member>
- <member name="P:System.Strings.SqlProvider_DuplicateSortOrdinal">
- <summary>
- Looks up a localized string similar to The sort ordinal {0} was specified twice..
- </summary>
- </member>
- <member name="P:System.Strings.SqlProvider_InvalidDataColumnMaxLength">
- <summary>
- Looks up a localized string similar to The size of column '{0}' is not supported. The size is {1}..
- </summary>
- </member>
- <member name="P:System.Strings.SqlProvider_InvalidDataColumnType">
- <summary>
- Looks up a localized string similar to The type of column '{0}' is not supported. The type is '{1}'.
- </summary>
- </member>
- <member name="P:System.Strings.SqlProvider_MissingSortOrdinal">
- <summary>
- Looks up a localized string similar to The sort ordinal {0} was not specified..
- </summary>
- </member>
- <member name="P:System.Strings.SqlProvider_NotEnoughColumnsInStructuredType">
- <summary>
- Looks up a localized string similar to There are not enough fields in the Structured type. Structured types must have at least one field..
- </summary>
- </member>
- <member name="P:System.Strings.SqlProvider_SortOrdinalGreaterThanFieldCount">
- <summary>
- Looks up a localized string similar to The sort ordinal {0} on field {1} exceeds the total number of fields..
- </summary>
- </member>
- <member name="P:System.Strings.SQLROR_FailoverNotSupported">
- <summary>
- Looks up a localized string similar to Connecting to a mirrored SQL Server instance using the ApplicationIntent ReadOnly connection option is not supported..
- </summary>
- </member>
- <member name="P:System.Strings.SQLROR_InvalidRoutingInfo">
- <summary>
- Looks up a localized string similar to Invalid routing information received..
- </summary>
- </member>
- <member name="P:System.Strings.SQLROR_RecursiveRoutingNotSupported">
- <summary>
- Looks up a localized string similar to Two or more redirections have occurred. Only one redirection per login is allowed..
- </summary>
- </member>
- <member name="P:System.Strings.SQLROR_TimeoutAfterRoutingInfo">
- <summary>
- Looks up a localized string similar to Server provided routing information, but timeout already expired..
- </summary>
- </member>
- <member name="P:System.Strings.SQLROR_UnexpectedRoutingInfo">
- <summary>
- Looks up a localized string similar to Unexpected routing information received..
- </summary>
- </member>
- <member name="P:System.Strings.SQLTVP_TableTypeCanOnlyBeParameter">
- <summary>
- Looks up a localized string similar to Structured, multiple-valued types can only be used for parameters, and cannot be nested within another type..
- </summary>
- </member>
- <member name="P:System.Strings.SQLUDT_CantLoadAssembly">
- <summary>
- Looks up a localized string similar to The provider has failed to load the following assembly: {0}.
- </summary>
- </member>
- <member name="P:System.Strings.SQLUDT_InvalidDbId">
- <summary>
- Looks up a localized string similar to Unable to get Type Info for {0},{1}.
- </summary>
- </member>
- <member name="P:System.Strings.SQLUDT_InvalidSqlType">
- <summary>
- Looks up a localized string similar to Specified type is not registered on the target server.{0}..
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdt_InvalidUdtMessage">
- <summary>
- Looks up a localized string similar to '{0}' is an invalid user defined type, reason: {1}..
- </summary>
- </member>
- <member name="P:System.Strings.SQLUDT_InvalidUdtTypeName">
- <summary>
- Looks up a localized string similar to UdtTypeName property must be set for UDT parameters..
- </summary>
- </member>
- <member name="P:System.Strings.SQLUDT_InWhereClause">
- <summary>
- Looks up a localized string similar to UDT parameters not permitted in the where clause unless part of the primary key..
- </summary>
- </member>
- <member name="P:System.Strings.SQLUDT_MaxByteSizeValue">
- <summary>
- Looks up a localized string similar to range: 0-8000.
- </summary>
- </member>
- <member name="P:System.Strings.SQLUDT_Unexpected">
- <summary>
- Looks up a localized string similar to unexpected error encountered in SqlClient data provider. {0}.
- </summary>
- </member>
- <member name="P:System.Strings.SQLUDT_UnexpectedUdtTypeName">
- <summary>
- Looks up a localized string similar to UdtTypeName property must be set only for UDT parameters..
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdtReason_CannotSupportNative">
- <summary>
- Looks up a localized string similar to Native format can't be supported..
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdtReason_CannotSupportUserDefined">
- <summary>
- Looks up a localized string similar to does not implement IBinarySerialize.
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdtReason_MaplessNotYetSupported">
- <summary>
- Looks up a localized string similar to Serialization without mapping is not yet supported..
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdtReason_MultipleSerFormats">
- <summary>
- Looks up a localized string similar to supports both in-memory and user-defined formats.
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdtReason_MultivaluedAssemblyId">
- <summary>
- Looks up a localized string similar to Multiple valued assembly references must have a nonzero Assembly Id..
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdtReason_NativeFormatExplictLayoutNotAllowed">
- <summary>
- Looks up a localized string similar to The type of field '{0}' is marked as explicit layout which is not allowed in Native format.
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdtReason_NativeFormatNoFieldSupport">
- <summary>
- Looks up a localized string similar to Native format does not support fields (directly or through another field) of type '{0}'.
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdtReason_NativeUdtMaxByteSize">
- <summary>
- Looks up a localized string similar to Native UDT specifies a max byte size.
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdtReason_NativeUdtNotSequentialLayout">
- <summary>
- Looks up a localized string similar to Native UDT not sequential layout due to type '{0}'.
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdtReason_NonSerializableField">
- <summary>
- Looks up a localized string similar to field '{0}' is marked non-serialized.
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdtReason_NoPublicConstructor">
- <summary>
- Looks up a localized string similar to does not have a public constructor.
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdtReason_NoPublicConstructors">
- <summary>
- Looks up a localized string similar to no public constructors.
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdtReason_NotNullable">
- <summary>
- Looks up a localized string similar to does not implement INullable.
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdtReason_NotSerializable">
- <summary>
- Looks up a localized string similar to not serializable.
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdtReason_NoUdtAttribute">
- <summary>
- Looks up a localized string similar to no UDT attribute.
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdtReason_NullPropertyMissing">
- <summary>
- Looks up a localized string similar to 'public static x Null { get; }' method is missing.
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdtReason_ParseMethodMissing">
- <summary>
- Looks up a localized string similar to 'public static x Parse(System.Data.SqlTypes.SqlString)' method is missing.
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdtReason_ToStringMethodMissing">
- <summary>
- Looks up a localized string similar to 'public override string ToString()' method is missing.
- </summary>
- </member>
- <member name="P:System.Strings.SqlUdtReason_TypeNotPublic">
- <summary>
- Looks up a localized string similar to Type is not public.
- </summary>
- </member>
- <member name="P:System.Strings.StrongTyping_CananotAccessDBNull">
- <summary>
- Looks up a localized string similar to Cannot get value because it is DBNull..
- </summary>
- </member>
- <member name="P:System.Strings.StrongTyping_CananotRemoveRelation">
- <summary>
- Looks up a localized string similar to Cannot remove relation since it is built in to this dataSet..
- </summary>
- </member>
- <member name="P:System.Strings.StrongTyping_CannotRemoveColumn">
- <summary>
- Looks up a localized string similar to Cannot remove column since it is built in to this dataSet..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_AttestationInfoNotReturnedFromSQLServer">
- <summary>
- Looks up a localized string similar to Attestation information was not returned by SQL Server. Enclave type is '{0}' and enclave attestation URL is '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_AttestationProtocolNotSpecifiedForGeneratingEnclavePackage">
- <summary>
- Looks up a localized string similar to Error occured when generating enclave package. Attestation Protocol has not been specified in the connection string, but the query requires enclave computations..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_AttestationProtocolNotSupportEnclaveType">
- <summary>
- Looks up a localized string similar to Failed to initialize connection. The attestation protocol '{0}' does not support the enclave type '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_BatchedUpdateColumnEncryptionSettingMismatch">
- <summary>
- Looks up a localized string similar to {0} should be identical on all commands ({1}, {2}, {3}, {4}) when doing batch updates..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_CannotCreateSqlColumnEncryptionEnclaveProvider">
- <summary>
- Looks up a localized string similar to Failed to instantiate an enclave provider with type '{1}' for name '{0}'. Error message: {2} .
- </summary>
- </member>
- <member name="P:System.Strings.TCE_CannotGetSqlColumnEncryptionEnclaveProviderConfig">
- <summary>
- Looks up a localized string similar to Failed to read the configuration section for enclave providers. Make sure the section is correctly formatted in your application configuration file. Error Message: {0}.
- </summary>
- </member>
- <member name="P:System.Strings.TCE_CanOnlyCallOnce">
- <summary>
- Looks up a localized string similar to Key store providers cannot be set more than once..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_CertificateNotFound">
- <summary>
- Looks up a localized string similar to Certificate with thumbprint '{0}' not found in certificate store '{1}' in certificate location '{2}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_CertificateNotFoundSysErr">
- <summary>
- Looks up a localized string similar to Certificate with thumbprint '{0}' not found in certificate store '{1}' in certificate location '{2}'. Verify the certificate path in the column master key definition in the database is correct, and the certificate has been imported correctly into the certificate location/store..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_CertificateWithNoPrivateKey">
- <summary>
- Looks up a localized string similar to Certificate specified in key path '{0}' does not have a private key to encrypt a column encryption key. Verify the certificate is imported correctly..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_CertificateWithNoPrivateKeySysErr">
- <summary>
- Looks up a localized string similar to Certificate specified in key path '{0}' does not have a private key to decrypt a column encryption key. Verify the certificate is imported correctly..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_ColumnDecryptionFailed">
- <summary>
- Looks up a localized string similar to Failed to decrypt column '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_ColumnEncryptionKeysNotFound">
- <summary>
- Looks up a localized string similar to Internal Error. Encrypted column encryption keys not found when trying to send the keys to the enclave..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_ColumnMasterKeySignatureNotFound">
- <summary>
- Looks up a localized string similar to Internal error. The signature returned by SQL Server for enclave-enabled column master key, specified at key path '{0}', cannot be null or empty..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_ColumnMasterKeySignatureVerificationFailed">
- <summary>
- Looks up a localized string similar to The signature returned by SQL Server for the column master key, specified in key path '{0}', is invalid (does not match the computed signature). Recreate column master key metadata, making sure the signature inside the metadata is computed using the column master key being referenced in the metadata. If the error persists, please contact Microsoft for assistance..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_DbConnectionString_AttestationProtocol">
- <summary>
- Looks up a localized string similar to Specifies an attestation protocol for its corresponding enclave attestation service..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_DbConnectionString_ColumnEncryptionSetting">
- <summary>
- Looks up a localized string similar to Default column encryption setting for all the commands on the connection..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_DbConnectionString_EnclaveAttestationUrl">
- <summary>
- Looks up a localized string similar to Specifies an endpoint of an enclave attestation service, which will be used to verify whether the enclave, configured in the SQL Server instance for computations on database columns encrypted using Always Encrypted, is valid and secure..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_DecryptionFailed">
- <summary>
- Looks up a localized string similar to Decryption failed. The last 10 bytes of the encrypted column encryption key are: '{0}'. The first 10 bytes of ciphertext are: '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EmptyArgumentInConstructorInternal">
- <summary>
- Looks up a localized string similar to Internal Error. Empty argument '{0}' specified when constructing an object of type '{1}'. '{0}' cannot be empty..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EmptyArgumentInternal">
- <summary>
- Looks up a localized string similar to Internal Error. Argument '{0}' cannot be empty when executing method '{1}.{2}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EmptyCertificateThumbprint">
- <summary>
- Looks up a localized string similar to Empty certificate thumbprint specified in certificate path '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EmptyCertificateThumbprintSysErr">
- <summary>
- Looks up a localized string similar to Internal error. Empty certificate thumbprint specified in certificate path '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EmptyCngKeyId">
- <summary>
- Looks up a localized string similar to Empty key identifier specified in column master key path: '{0}'. Use the following format for a key stored in a Microsoft Cryptography API: Next Generation (CNG) provider: <CNG Provider Name>{1}<Key Identifier>..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EmptyCngKeyIdSysErr">
- <summary>
- Looks up a localized string similar to Internal error. Empty key identifier specified in column master key path: '{0}'. Use the following format for a key stored in a Microsoft Cryptography API: Next Generation (CNG) provider: <CNG Provider Name>{1}<Key Identifier>..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EmptyCngName">
- <summary>
- Looks up a localized string similar to Empty Microsoft Cryptography API: Next Generation (CNG) provider name specified in column master key path: '{0}'. Use the following format for a key stored in a Microsoft Cryptography API: Next Generation (CNG) provider: <CNG Provider Name>{1}<Key Identifier>..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EmptyCngNameSysErr">
- <summary>
- Looks up a localized string similar to Internal error. Empty Microsoft Cryptography API: Next Generation (CNG) provider name specified in column master key path: '{0}'. Use the following format for a key stored in a Microsoft Cryptography API: Next Generation (CNG) provider: <CNG Provider Name>{1}<Key Identifier>..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EmptyColumnEncryptionKey">
- <summary>
- Looks up a localized string similar to Empty column encryption key specified..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EmptyCspKeyId">
- <summary>
- Looks up a localized string similar to Empty key identifier specified in column master key path: '{0}'. Use the following format for a key stored in a Microsoft cryptographic service provider (CSP): <CSP Provider Name>{1}<Key Identifier>..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EmptyCspKeyIdSysErr">
- <summary>
- Looks up a localized string similar to Internal error. Empty key identifier specified in column master key path: '{0}'. Use the following format for a key stored in a Microsoft cryptographic service provider (CSP): <CSP Provider Name>{1}<Key Identifier>..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EmptyCspName">
- <summary>
- Looks up a localized string similar to Empty Microsoft cryptographic service provider (CSP) name specified in column master key path: '{0}'. Use the following format for a key stored in a Microsoft cryptographic service provider (CSP): <CSP Provider Name>{1}<Key Identifier>..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EmptyCspNameSysErr">
- <summary>
- Looks up a localized string similar to Internal error. Empty Microsoft cryptographic service provider (CSP) name specified in column master key path: '{0}'. Use the following format for a key stored in a Microsoft cryptographic service provider (CSP): <CSP Provider Name>{1}<Key Identifier>..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EmptyEncryptedColumnEncryptionKey">
- <summary>
- Looks up a localized string similar to Internal error. Empty encrypted column encryption key specified..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EmptyProviderName">
- <summary>
- Looks up a localized string similar to Invalid key store provider name specified. Key store provider names cannot be null or empty..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EnclaveComputationsNotSupported">
- <summary>
- Looks up a localized string similar to You have specified the enclave attestation URL in the connection string, but the SQL Server instance in use does not support enclave based computations..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EnclaveProviderNotFound">
- <summary>
- Looks up a localized string similar to No enclave provider found for enclave type '{0}' and attestation protocol '{1}'. Please specify the correct attestation protocol in the connection string. .
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EnclaveProvidersNotConfiguredForEnclaveBasedQuery">
- <summary>
- Looks up a localized string similar to Executing a query requires enclave computations, but the application configuration is missing the enclave provider section..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EnclaveTypeNotReturned">
- <summary>
- Looks up a localized string similar to You have specified the enclave attestation URL in the connection string, but the SQL Server instance did not return an enclave type. Please make sure the enclave type is correctly configured in your instance..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EnclaveTypeNotSupported">
- <summary>
- Looks up a localized string similar to The enclave type '{0}' returned from the server is not supported..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_EnclaveTypeNullForEnclaveBasedQuery">
- <summary>
- Looks up a localized string similar to Internal Error. Enclave type received from SQL Server is null or empty when executing a query requiring enclave computations..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_ExceptionWhenGeneratingEnclavePackage">
- <summary>
- Looks up a localized string similar to Error encountered while generating package to be sent to enclave. Error message: {0}.
- </summary>
- </member>
- <member name="P:System.Strings.TCE_FailedToEncryptRegisterRulesBytePackage">
- <summary>
- Looks up a localized string similar to Internal Error. Failed to encrypt byte package to be sent to the enclave. Error Message: {0} .
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InsufficientBuffer">
- <summary>
- Looks up a localized string similar to Internal Error. The buffer specified by argument '{0}' for method '{1}.{2}' has insufficient space..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidAlgorithmVersion">
- <summary>
- Looks up a localized string similar to The specified ciphertext's encryption algorithm version '{0}' does not match the expected encryption algorithm version '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidAlgorithmVersionInEncryptedCEK">
- <summary>
- Looks up a localized string similar to Specified encrypted column encryption key contains an invalid encryption algorithm version '{0}'. Expected version is '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidAttestationParameterUnableToConvertToUnsignedInt">
- <summary>
- Looks up a localized string similar to Invalid attestation parameters specified by the enclave provider for enclave type '{0}'. Error occurred when converting the value '{1}' of parameter '{2}' to unsigned int. Error Message: {3}.
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidAuthenticationTag">
- <summary>
- Looks up a localized string similar to Specified ciphertext has an invalid authentication tag..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCertificateLocation">
- <summary>
- Looks up a localized string similar to Invalid certificate location '{0}' in certificate path '{1}'. Use the following format: <certificate location>{4}<certificate store>{4}<certificate thumbprint>, where <certificate location> is either '{2}' or '{3}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCertificateLocationSysErr">
- <summary>
- Looks up a localized string similar to Internal error. Invalid certificate location '{0}' in certificate path '{1}'. Use the following format: <certificate location>{4}<certificate store>{4}<certificate thumbprint>, where <certificate location> is either '{2}' or '{3}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCertificatePath">
- <summary>
- Looks up a localized string similar to Invalid certificate path: '{0}'. Use the following format: <certificate location>{3}<certificate store>{3}<certificate thumbprint>, where <certificate location> is either '{1}' or '{2}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCertificatePathSysErr">
- <summary>
- Looks up a localized string similar to Internal error. Invalid certificate path: '{0}'. Use the following format: <certificate location>{3}<certificate store>{3}<certificate thumbprint>, where <certificate location> is either '{1}' or '{2}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCertificateSignature">
- <summary>
- Looks up a localized string similar to The specified encrypted column encryption key signature does not match the signature computed with the column master key (certificate) in '{0}'. The encrypted column encryption key may be corrupt, or the specified path may be incorrect..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCertificateStore">
- <summary>
- Looks up a localized string similar to Invalid certificate store '{0}' specified in certificate path '{1}'. Expected value: '{2}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCertificateStoreSysErr">
- <summary>
- Looks up a localized string similar to Internal error. Invalid certificate store '{0}' specified in certificate path '{1}'. Expected value: '{2}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCiphertextLengthInEncryptedCEK">
- <summary>
- Looks up a localized string similar to The specified encrypted column encryption key's ciphertext length: {0} does not match the ciphertext length: {1} when using column master key (certificate) in '{2}'. The encrypted column encryption key may be corrupt, or the specified certificate path may be incorrect..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCiphertextLengthInEncryptedCEKCng">
- <summary>
- Looks up a localized string similar to The specified encrypted column encryption key's ciphertext length: {0} does not match the ciphertext length: {1} when using column master key (asymmetric key) in '{2}'. The encrypted column encryption key may be corrupt, or the specified Microsoft Cryptography API: Next Generation (CNG) provider path may be incorrect..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCiphertextLengthInEncryptedCEKCsp">
- <summary>
- Looks up a localized string similar to The specified encrypted column encryption key's ciphertext length: {0} does not match the ciphertext length: {1} when using column master key (asymmetric key) in '{2}'. The encrypted column encryption key may be corrupt, or the specified Microsoft Cryptographic Service provider (CSP) path may be incorrect..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCipherTextSize">
- <summary>
- Looks up a localized string similar to Specified ciphertext has an invalid size of {0} bytes, which is below the minimum {1} bytes required for decryption..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCngKey">
- <summary>
- Looks up a localized string similar to An error occurred while opening the Microsoft Cryptography API: Next Generation (CNG) key: '{0}'. Verify that the CNG provider name '{1}' is valid, installed on the machine, and the key '{2}' exists..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCngKeySysErr">
- <summary>
- Looks up a localized string similar to Internal error. An error occurred while opening the Microsoft Cryptography API: Next Generation (CNG) key: '{0}'. Verify that the CNG provider name '{1}' is valid, installed on the machine, and the key '{2}' exists..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCngPath">
- <summary>
- Looks up a localized string similar to Invalid column master key path: '{0}'. Use the following format for a key stored in a Microsoft Cryptography API: Next Generation (CNG) provider: <CNG Provider Name>{1}<Key Identifier>..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCngPathSysErr">
- <summary>
- Looks up a localized string similar to Internal error. Invalid column master key path: '{0}'. Use the following format for a key stored in a Microsoft Cryptography API: Next Generation (CNG) provider: <CNG Provider Name>{1}<Key Identifier>..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCspKeyId">
- <summary>
- Looks up a localized string similar to Invalid key identifier: '{0}'. Verify that the key identifier in column master key path: '{1}' is valid and exists in the CSP..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCspKeyIdSysErr">
- <summary>
- Looks up a localized string similar to Internal error. Invalid key identifier: '{0}'. Verify that the key identifier in column master key path: '{1}' is valid and exists in the CSP..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCspName">
- <summary>
- Looks up a localized string similar to Invalid Microsoft cryptographic service provider (CSP) name: '{0}'. Verify that the CSP provider name in column master key path: '{1}' is valid and installed on the machine..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCspNameSysErr">
- <summary>
- Looks up a localized string similar to Internal error. Invalid Microsoft cryptographic service provider (CSP) name: '{0}'. Verify that the CSP provider name in column master key path: '{1}' is valid and installed on the machine..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCspPath">
- <summary>
- Looks up a localized string similar to Invalid column master key path: '{0}'. Use the following format for a key stored in a Microsoft cryptographic service provider (CSP): <CSP Provider Name>{1}<Key Identifier>..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCspPathSysErr">
- <summary>
- Looks up a localized string similar to Internal error. Invalid column master key path: '{0}'. Use the following format for a key stored in a Microsoft cryptographic service provider (CSP): <CSP Provider Name>{1}<Key Identifier>..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidCustomKeyStoreProviderName">
- <summary>
- Looks up a localized string similar to Invalid key store provider name '{0}'. '{1}' prefix is reserved for system key store providers..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidDatabaseIdUnableToCastToUnsignedInt">
- <summary>
- Looks up a localized string similar to Internal Error. The given database id '{0}' is not valid. Error occurred when converting the database id to unsigned int. Error Message: {1}.
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidEncryptionKeyOrdinalEnclaveMetadata">
- <summary>
- Looks up a localized string similar to Internal error. Error occurred when populating enclave metadata. The referenced column encryption key ordinal '{0}' is missing in the encryption metadata returned by SQL Server. Max ordinal is '{1}'. .
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidEncryptionKeyOrdinalParameterMetadata">
- <summary>
- Looks up a localized string similar to Internal error. Error occurred when populating parameter metadata. The referenced column encryption key ordinal '{0}' is missing in the encryption metadata returned by SQL Server. Max ordinal is '{1}'. .
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidEncryptionType">
- <summary>
- Looks up a localized string similar to Encryption type '{1}' specified for the column in the database is either invalid or corrupted. Valid encryption types for algorithm '{0}' are: {2}..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidKeyEncryptionAlgorithm">
- <summary>
- Looks up a localized string similar to Invalid key encryption algorithm specified: '{0}'. Expected value: '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidKeyEncryptionAlgorithmSysErr">
- <summary>
- Looks up a localized string similar to Internal error. Invalid key encryption algorithm specified: '{0}'. Expected value: '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidKeyIdUnableToCastToUnsignedShort">
- <summary>
- Looks up a localized string similar to Internal Error. The given key id '{0}' is not valid. Error occurred when converting the key id to unsigned short. Error Message: {1}.
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidKeySize">
- <summary>
- Looks up a localized string similar to The column encryption key has been successfully decrypted but it's length: {1} does not match the length: {2} for algorithm '{0}'. Verify the encrypted value of the column encryption key in the database..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidKeyStoreProviderName">
- <summary>
- Looks up a localized string similar to Invalid key store provider name: '{0}'. A key store provider name must denote either a system key store provider or a registered custom key store provider. Valid system key store provider names are: {1}. Valid (currently registered) custom key store provider names are: {2}. Please verify key store provider information in column master key definitions in the database, and verify all custom key store providers used in your application are registered properly..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidSignature">
- <summary>
- Looks up a localized string similar to The specified encrypted column encryption key signature does not match the signature computed with the column master key (asymmetric key) in '{0}'. The encrypted column encryption key may be corrupt, or the specified path may be incorrect..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidSignatureInEncryptedCEK">
- <summary>
- Looks up a localized string similar to The specified encrypted column encryption key's signature length: {0} does not match the signature length: {1} when using column master key (certificate) in '{2}'. The encrypted column encryption key may be corrupt, or the specified certificate path may be incorrect..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidSignatureInEncryptedCEKCng">
- <summary>
- Looks up a localized string similar to The specified encrypted column encryption key's signature length: {0} does not match the signature length: {1} when using column master key (asymmetric key) in '{2}'. The encrypted column encryption key may be corrupt, or the specified Microsoft Cryptography API: Next Generation (CNG) provider path may be incorrect..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_InvalidSignatureInEncryptedCEKCsp">
- <summary>
- Looks up a localized string similar to The specified encrypted column encryption key's signature length: {0} does not match the signature length: {1} when using column master key (asymmetric key) in '{2}'. The encrypted column encryption key may be corrupt, or the specified Microsoft cryptographic service provider (CSP) path may be incorrect..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_KeyDecryptionFailed">
- <summary>
- Looks up a localized string similar to Failed to decrypt a column encryption key using key store provider: '{0}'. Verify the properties of the column encryption key and its column master key in your database. The last 10 bytes of the encrypted column encryption key are: '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_KeyDecryptionFailedCertStore">
- <summary>
- Looks up a localized string similar to Failed to decrypt a column encryption key using key store provider: '{0}'. The last 10 bytes of the encrypted column encryption key are: '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_LargeCertificatePathLength">
- <summary>
- Looks up a localized string similar to Specified certificate path has {0} bytes, which exceeds maximum length of {1} bytes..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_LargeCertificatePathLengthSysErr">
- <summary>
- Looks up a localized string similar to Internal error. Specified certificate path has {0} bytes, which exceeds maximum length of {1} bytes..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_MultipleRowsReturnedForAttestationInfo">
- <summary>
- Looks up a localized string similar to Internal error. Error occurred when parsing the results of '{0}'. The attestation information resultset is expected to contain only one row, but it contains multiple rows..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NoAttestationUrlSpecifiedForEnclaveBasedQueryGeneratingEnclavePackage">
- <summary>
- Looks up a localized string similar to Error occured when generating enclave package. Attestation URL has not been specified in the connection string, but the query requires enclave computations. Enclave type is '{0}'. .
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NoAttestationUrlSpecifiedForEnclaveBasedQuerySpDescribe">
- <summary>
- Looks up a localized string similar to Error occured when reading '{0}' resultset. Attestation URL has not been specified in the connection string, but the query requires enclave computations. Enclave type is '{1}'. .
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NotSupportedByServer">
- <summary>
- Looks up a localized string similar to {0} instance in use does not support column encryption..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullArgumentInConstructorInternal">
- <summary>
- Looks up a localized string similar to Internal Error. Null argument '{0}' specified when constructing an object of type '{1}'. '{0}' cannot be null..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullArgumentInternal">
- <summary>
- Looks up a localized string similar to Internal Error. Argument '{0}' cannot be null when executing method '{1}.{2}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullCertificatePath">
- <summary>
- Looks up a localized string similar to Certificate path cannot be null. Use the following format: <certificate location>{2}<certificate store>{2}<certificate thumbprint>, where <certificate location> is either '{0}' or '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullCertificatePathSysErr">
- <summary>
- Looks up a localized string similar to Internal error. Certificate path cannot be null. Use the following format: <certificate location>{2}<certificate store>{2}<certificate thumbprint>, where <certificate location> is either '{0}' or '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullCipherText">
- <summary>
- Looks up a localized string similar to Internal error. Ciphertext value cannot be null..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullCngPath">
- <summary>
- Looks up a localized string similar to Column master key path cannot be null. Use the following format for a key stored in a Microsoft Cryptography API: Next Generation (CNG) provider: <CNG Provider Name>{0}<Key Identifier>..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullCngPathSysErr">
- <summary>
- Looks up a localized string similar to Internal error. Column master key path cannot be null. Use the following format for a key stored in a Microsoft Cryptography API: Next Generation (CNG) provider: <CNG Provider Name>{0}<Key Identifier>..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullColumnEncryptionAlgorithm">
- <summary>
- Looks up a localized string similar to Internal error. Encryption algorithm cannot be null. Valid algorithms are: {0}..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullColumnEncryptionKey">
- <summary>
- Looks up a localized string similar to Column encryption key cannot be null..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullColumnEncryptionKeySysErr">
- <summary>
- Looks up a localized string similar to Internal error. Column encryption key cannot be null..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullCspPath">
- <summary>
- Looks up a localized string similar to Column master key path cannot be null. Use the following format for a key stored in a Microsoft cryptographic service provider (CSP): <CSP Provider Name>{0}<Key Identifier>..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullCspPathSysErr">
- <summary>
- Looks up a localized string similar to Internal error. Column master key path cannot be null. Use the following format for a key stored in a Microsoft cryptographic service provider (CSP): <CSP Provider Name>{0}<Key Identifier>..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullCustomKeyStoreProviderDictionary">
- <summary>
- Looks up a localized string similar to Column encryption key store provider dictionary cannot be null. Expecting a non-null value..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullEnclavePackageForEnclaveBasedQuery">
- <summary>
- Looks up a localized string similar to Internal Error. Enclave package is null during execution of an enclave based query. Enclave type is '{0}' and enclaveAttestationUrl is '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullEnclaveSessionDuringQueryExecution">
- <summary>
- Looks up a localized string similar to Internal Error. Enclave session is null during query execution. Enclave type is '{0}' and enclaveAttestationUrl is '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullEnclaveSessionReturnedFromProvider">
- <summary>
- Looks up a localized string similar to Unable to communicate with the enclave. Null enclave session information received from the enclave provider. Enclave type is '{0}' and enclave attestation URL is '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullEncryptedColumnEncryptionKey">
- <summary>
- Looks up a localized string similar to Internal error. Encrypted column encryption key cannot be null..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullKeyEncryptionAlgorithm">
- <summary>
- Looks up a localized string similar to Key encryption algorithm cannot be null..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullKeyEncryptionAlgorithmSysErr">
- <summary>
- Looks up a localized string similar to Internal error. Key encryption algorithm cannot be null..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullPlainText">
- <summary>
- Looks up a localized string similar to Internal error. Plaintext value cannot be null..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_NullProviderValue">
- <summary>
- Looks up a localized string similar to Null reference specified for key store provider '{0}'. Expecting a non-null value..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_OffsetOutOfBounds">
- <summary>
- Looks up a localized string similar to Internal Error. Failed to serialize keys to be sent to the enclave. The start offset specified by argument '{0}' for method {1}.{2} is out of bounds..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_ParamDecryptionFailed">
- <summary>
- Looks up a localized string similar to Failed to decrypt parameter '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_ParamEncryptionFailed">
- <summary>
- Looks up a localized string similar to Failed to encrypt parameter '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_ParamEncryptionMetaDataMissing">
- <summary>
- Looks up a localized string similar to Internal error. Metadata for parameter '{1}' in statement or procedure '{2}' is missing in resultset returned by {0}..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_ParamInvalidForceColumnEncryptionSetting">
- <summary>
- Looks up a localized string similar to Cannot set {0} for {3} '{1}' because encryption is not enabled for the statement or procedure '{2}'..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_ParamUnExpectedEncryptionMetadata">
- <summary>
- Looks up a localized string similar to Cannot execute statement or procedure '{1}' because {2} was set for {3} '{0}' and the database expects this parameter to be sent as plaintext. This may be due to a configuration error..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_ProcEncryptionMetaDataMissing">
- <summary>
- Looks up a localized string similar to Internal error. Metadata for parameters for command '{1}' in a batch is missing in the resultset returned by {0}..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_SequentialAccessNotSupportedOnEncryptedColumn">
- <summary>
- Looks up a localized string similar to Retrieving encrypted column '{0}' with {1} is not supported..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_SqlColumnEncryptionEnclaveProviderNameCannotBeEmpty">
- <summary>
- Looks up a localized string similar to Internal Error. SqlColumnEncryptionEnclaveProviderName cannot be null or empty..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_SqlCommand_ColumnEncryptionSetting">
- <summary>
- Looks up a localized string similar to Column encryption setting for the command. Overrides the connection level default..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_SqlConnection_ColumnEncryptionKeyCacheTtl">
- <summary>
- Looks up a localized string similar to Defines the time-to-live of entries in the column encryption key cache..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_SqlConnection_ColumnEncryptionQueryMetadataCacheEnabled">
- <summary>
- Looks up a localized string similar to Defines whether query metadata caching is enabled..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_SqlConnection_TrustedColumnMasterKeyPaths">
- <summary>
- Looks up a localized string similar to Dictionary object containing SQL Server names and their trusted column master key paths..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_SqlParameter_ForceColumnEncryption">
- <summary>
- Looks up a localized string similar to Forces parameter to be encrypted before sending sensitive data to server. .
- </summary>
- </member>
- <member name="P:System.Strings.TCE_StreamNotSupportOnEncryptedColumn">
- <summary>
- Looks up a localized string similar to Retrieving encrypted column '{0}' as a {1} is not supported..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_UnableToEstablishSecureChannel">
- <summary>
- Looks up a localized string similar to Unable to establish secure channel. Error Message: {0}.
- </summary>
- </member>
- <member name="P:System.Strings.TCE_UnableToVerifyColumnMasterKeySignature">
- <summary>
- Looks up a localized string similar to Unable to verify a column master key signature. Error message: {0} .
- </summary>
- </member>
- <member name="P:System.Strings.TCE_UnexpectedDescribeParamFormatAttestationInfo">
- <summary>
- Looks up a localized string similar to Internal error. The result returned by '{0}' is invalid. The attestation information resultset is missing for enclave type '{1}'. .
- </summary>
- </member>
- <member name="P:System.Strings.TCE_UnexpectedDescribeParamFormatParameterMetadata">
- <summary>
- Looks up a localized string similar to Internal error. The result returned by '{0}' is invalid. The parameter metadata resultset is missing..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_UnknownColumnEncryptionAlgorithm">
- <summary>
- Looks up a localized string similar to Encryption algorithm '{0}' for the column in the database is either invalid or corrupted. Valid algorithms are: {1}..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_UnknownColumnEncryptionAlgorithmId">
- <summary>
- Looks up a localized string similar to Encryption algorithm id '{0}' for the column in the database is either invalid or corrupted. Valid encryption algorithm ids are: {1}..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_UnrecognizedKeyStoreProviderName">
- <summary>
- Looks up a localized string similar to Failed to decrypt a column encryption key. Invalid key store provider name: '{0}'. A key store provider name must denote either a system key store provider or a registered custom key store provider. Valid system key store provider names are: {1}. Valid (currently registered) custom key store provider names are: {2}. Please verify key store provider information in column master key definitions in the database, and verify all custom key store providers used in your application are registered properly..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_UnsupportedDatatype">
- <summary>
- Looks up a localized string similar to Encryption and decryption of data type '{0}' is not supported..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_UnsupportedNormalizationVersion">
- <summary>
- Looks up a localized string similar to Normalization version '{0}' received from {2} is not supported. Valid normalization versions are: {1}..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_UntrustedKeyPath">
- <summary>
- Looks up a localized string similar to Column master key path '{0}' received from server '{1}' is not a trusted key path..
- </summary>
- </member>
- <member name="P:System.Strings.TCE_VeryLargeCiphertext">
- <summary>
- Looks up a localized string similar to Cannot encrypt. Encrypting resulted in {0} bytes of ciphertext which exceeds the maximum allowed limit of {1} bytes. The specified plaintext value is likely too large (plaintext size is: {2} bytes)..
- </summary>
- </member>
- <member name="P:System.Strings.VerifyEnclaveDebuggable">
- <summary>
- Looks up a localized string similar to Failed to check if the enclave is running in the production mode. Contact Customer Support Services..
- </summary>
- </member>
- <member name="P:System.Strings.VerifyEnclavePolicyFailedFormat">
- <summary>
- Looks up a localized string similar to Could not verify enclave policy due to a difference between the expected and actual values of the policy on property '{0}'. Actual: '{1}', Expected: '{2}'..
- </summary>
- </member>
- <member name="P:System.Strings.VerifyEnclaveReportFailed">
- <summary>
- Looks up a localized string similar to Signature verification of the enclave report failed. The report signature does not match the signature computed using the HGS root certificate. Verify the DNS mapping for the endpoint. If correct, contact Customer Support Services..
- </summary>
- </member>
- <member name="P:System.Strings.VerifyEnclaveReportFormatFailed">
- <summary>
- Looks up a localized string similar to The enclave report received from SQL Server is not in the correct format. Contact Customer Support Services..
- </summary>
- </member>
- <member name="P:System.Strings.VerifyHealthCertificateChainFormat">
- <summary>
- Looks up a localized string similar to Failed to build a chain of trust between the enclave host's health report and the HGS root certificate for attestation URL '{0}' with status: '{1}'. Verify the attestation URL matches the URL configured on the SQL Server machine. If both the client and SQL Server use the same attestation service, contact Customer Support Services..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_AttributeValues">
- <summary>
- Looks up a localized string similar to The value of attribute '{0}' should be '{1}' or '{2}'..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_CannotConvert">
- <summary>
- Looks up a localized string similar to Cannot convert '{0}' to type '{1}'..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_CanNotDeserializeObjectType">
- <summary>
- Looks up a localized string similar to Unable to proceed with deserialization. Data does not implement IXMLSerializable, therefore polymorphism is not supported..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_CannotInstantiateAbstract">
- <summary>
- Looks up a localized string similar to DataSet cannot instantiate an abstract ComplexType for the node {0}..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_CircularComplexType">
- <summary>
- Looks up a localized string similar to DataSet doesn't allow the circular reference in the ComplexType named '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_ColumnConflict">
- <summary>
- Looks up a localized string similar to Column name '{0}' is defined for different mapping types..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_DataTableInferenceNotSupported">
- <summary>
- Looks up a localized string similar to DataTable does not support schema inference from Xml..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_DatatypeNotDefined">
- <summary>
- Looks up a localized string similar to Data type not defined..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_DuplicateConstraint">
- <summary>
- Looks up a localized string similar to The constraint name {0} is already used in the schema..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_DynamicWithoutXmlSerializable">
- <summary>
- Looks up a localized string similar to DataSet will not serialize types that implement IDynamicMetaObjectProvider but do not also implement IXmlSerializable..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_ElementTypeNotFound">
- <summary>
- Looks up a localized string similar to Cannot find ElementType name='{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_FoundEntity">
- <summary>
- Looks up a localized string similar to DataSet cannot expand entities. Use XmlValidatingReader and set the EntityHandling property accordingly..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_InvalidField">
- <summary>
- Looks up a localized string similar to Invalid XPath selection inside field node. Cannot find: {0}..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_InvalidKey">
- <summary>
- Looks up a localized string similar to Invalid 'Key' node inside constraint named: {0}..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_InvalidPrefix">
- <summary>
- Looks up a localized string similar to Prefix '{0}' is not valid, because it contains special characters..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_InvalidSelector">
- <summary>
- Looks up a localized string similar to Invalid XPath selection inside selector node: {0}..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_IsDataSetAttributeMissingInSchema">
- <summary>
- Looks up a localized string similar to IsDataSet attribute is missing in input Schema..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_MergeDuplicateDeclaration">
- <summary>
- Looks up a localized string similar to Duplicated declaration '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_MismatchKeyLength">
- <summary>
- Looks up a localized string similar to Invalid Relation definition: different length keys..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_MissingAttribute">
- <summary>
- Looks up a localized string similar to Invalid {0} syntax: missing required '{1}' attribute..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_MissingRefer">
- <summary>
- Looks up a localized string similar to Missing '{0}' part in '{1}' constraint named '{2}'..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_MissingSQL">
- <summary>
- Looks up a localized string similar to Cannot load diffGram. The 'sql' node is missing..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_MissingTable">
- <summary>
- Looks up a localized string similar to Cannot load diffGram. Table '{0}' is missing in the destination dataset..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_MultipleParentRows">
- <summary>
- Looks up a localized string similar to Cannot proceed with serializing DataTable '{0}'. It contains a DataRow which has multiple parent rows on the same Foreign Key..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_MultipleTargetConverterEmpty">
- <summary>
- Looks up a localized string similar to An error occurred with the multiple target converter while writing an Xml Schema. A null or empty string was returned..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_MultipleTargetConverterError">
- <summary>
- Looks up a localized string similar to An error occurred with the multiple target converter while writing an Xml Schema. See the inner exception for details..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_NestedCircular">
- <summary>
- Looks up a localized string similar to Circular reference in self-nested table '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_PolymorphismNotSupported">
- <summary>
- Looks up a localized string similar to Type '{0}' does not implement IXmlSerializable interface therefore can not proceed with serialization..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_RelationChildKeyMissing">
- <summary>
- Looks up a localized string similar to Child table key is missing in relation '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_RelationChildNameMissing">
- <summary>
- Looks up a localized string similar to Child table name is missing in relation '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_RelationParentNameMissing">
- <summary>
- Looks up a localized string similar to Parent table name is missing in relation '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_RelationTableKeyMissing">
- <summary>
- Looks up a localized string similar to Parent table key is missing in relation '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_SimpleTypeNotSupported">
- <summary>
- Looks up a localized string similar to DataSet doesn't support 'union' or 'list' as simpleType..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_TooManyIsDataSetAtributeInSchema">
- <summary>
- Looks up a localized string similar to Cannot determine the DataSet Element. IsDataSet attribute exist more than once..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_UndefinedDatatype">
- <summary>
- Looks up a localized string similar to Undefined data type: '{0}'..
- </summary>
- </member>
- <member name="P:System.Strings.Xml_ValueOutOfRange">
- <summary>
- Looks up a localized string similar to Value '{1}' is invalid for attribute '{0}'..
- </summary>
- </member>
- <member name="T:BidMethodAttribute">
- <summary>
- This attribute is used by FxCopBid rule to mark methods that accept format string and list of arguments that match it
- FxCopBid rule uses this attribute to check if the method needs to be included in checks and to read type mappings
- between the argument type to printf Type spec.
-
- If you need to rename/remove the attribute or change its properties, make sure to update the FxCopBid rule!
- </summary>
- </member>
- <member name="T:BidArgumentTypeAttribute">
- <summary>
- This attribute is used by FxCopBid rule to tell FXCOP the 'real' type sent to the native trace call for this argument. For
- example, if Bid.Trace accepts enumeration value, but marshals it as string to the native trace method, set this attribute
- on the argument and set ArgumentType = typeof(string)
-
- It can be applied on a parameter, to let FxCopBid rule know the format spec type used for the argument, or it can be applied on a method,
- to insert additional format spec arguments at specific location.
-
- If you need to rename/remove the attribute or change its properties, make sure to update the FxCopBid rule!
- </summary>
- </member>
- </members>
- </doc>
|