<html>
<head>
<title>Connection IuWFNg </title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div id="">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">Connection IuWFNg </td>
<td valign="top" class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description">
<synopsis>
Dim <span class="replaceable">connection</span> As ADODB.Connection</synopsis>


<p>Connection IuWFNǵAf[^\[Xւ̌ŗL̐ڑ\܂BConnection IuWFNǵÂׂĂ ADO IuWFNgɈˑ܂B</p>

</td></tr>
</table>
</div>
<div id="Connection.Attributes">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.Attributes vpeB </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br><span class="replaceable">Connection.Attributes</span> = XactArgumentsEnum [+ XactArgumentsEnum...]</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>Attributes vpeB́AConnection IuWFNgɌŗL̑ݒ܂͕Ԃ܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">f[^^Cv</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>XactArgumentsEnum (Long)</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Attributes vpeB́Aǂݎ肨я݉\łBAttributes vpeB̒ĺA<link linkend="ado-APP-E">t^ E</link> Ɏ XactArgumentsEnum 񋓒l̂ꂩ̍vɐݒł܂B</p>


<p>Attributes vpeB̏ݒl 0 łB</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>voC_ɂĂ Attributes vpeB̋@\T|[gȂ̂܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection.BeginTrans \bhAConnection.CommitTrans \bhAConnection.RollBackTrans \bhAXactAttributeEnum </p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.BeginTrans">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.BeginTrans \bh</td>
<td class="COMPATIBILITY">CBT \bh (o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br><span class="replaceable">connection</span>.BeginTrans<br><span class="replaceable">level = connection</span>.BeginTrans(  )<br><span class="replaceable">connection</span>.CommitTrans<br><span class="replaceable">connection</span>.RollbackTrans</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>BeginTransACommitTransA RollbackTrans ̃\bh́A݂ Connection IuWFNg̃gUNVǗ܂B</p>


<p>BeginTrans \bh́A[U[̑zǂɃgUNVJn܂B</p>


<p>CommitTrans \bh́Ã݂gUNVIŁAŏɕύXۑA\łΕʂ̃gUNVJn܂B</p>


<p>RollbackTrans \bh́Ã݂gUNVI܂Ã݂gUNVɍsꂽύX[obN܂BɁARollbackTrans \bh́ACommitTrans \bhƓlɕʂ̃gUNVJnł܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection IuWFNg BeginTransACommitTransA RollbackTrans ̃\bh́A̐ڑŃgUNVǗs܂BgUNVǗKvɂȂłʓIȗ́AoLOVXełBʂ̌ɓ]ꍇA֗^ 2 ̎菇 (oƗa)  1 ̃gUNVƂĎs邱ƂdvłB 3 ̃gUNVǗ\bhgp邱ƂɂAsɊւL̗菇mɎs邩A̎菇sȂƂł܂Bo̊ɗaŖ肪ꍇARollbackTrans \bhgpČʓIɎԂ[obNł܂B</p>


<p>BeginTrans \bh́A݂ Connection IuWFNgŐVgUNVJn܂BBeginTrans \bhgpƁAR[hɃlXgꂽ If . . . Then Xe[gg쐬ł̂ƂقړlɁAlXgꂽgUNV쐬ł܂Bf[^voC_lXgꂽgUNVT|[gĂꍇABeginTrans \bh߂l long ^̌`Ŏ󂯎邱Ƃł܂B̖߂ĺA쐬ς݂̃lXgꂽgUNṼxAŏ̃x 1 ƂĎ܂B</p>


<p>CommitTrans \bh́AŌ̃gUNV̊Jnȍ~ɉꂽύXR~bg܂BRollbackTrans \bh͋t̓sȂAŌ̃gUNVɑ΂čsꂽύXLZ܂B̏ꍇAŌ̃gUNV͏I܂BɁA쐬ꂽŌ̃gUNV́ACommitTrans \bh܂ RollbackTrans \bhÕgUNVIȑOɏIKv܂B</p>


<p>Connection IuWFNg Arguments vpeB <span class="LITERAL">adXactCommitRetaining</span> ɐݒ肷ƁACommitTrans \bȟĂяoɁAVgUNVIɍ쐬܂B̃vpeB <span class="LITERAL">adXactAbortRetaining</span> ɐݒ肷ƁARollbackTrans \bȟĂяoɁAVgUNVIɍ쐬܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection.Arguments vpeB</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.BeginTransComplete">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.BeginTransComplete Cxg </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br>Private Sub BeginTransComplete(ByVal <span class="replaceable">TransactionLevel</span> As Long, _<br>                               ByVal <span class="replaceable">pError</span> As ADODB.Error, _<br>                               <span class="replaceable">adStatus</span> As ADODB.EventStatusEnum, _<br>                               ByVal <span class="replaceable">pConnection</span> As ADODB.Connection)</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>BeginTransComplete CxǵABeginTrans \bh̑삪ɐ܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">p[^</td>
</tr>
<tr>
<td colspan="2" class="description">


<dl>
<dt><span class="replaceable">TransactionLevel</span></dt>
<dd><p>VgUNṼlXgx long ^̒lłB</p></dd>

</dl>


<dl>
<dt><span class="replaceable">pError</span></dt>
<dd><p><span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusErrorsOccurred</span> ɐݒ肳ĂꍇɔG[Ɋւڍׂ܂ Error IuWFNgłB</p></dd>

</dl>


<dl>
<dt><span class="replaceable">adStatus</span></dt>
<dd><p>݂̑̏Ԃ EventStatusEnum lłB<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusOK</span> ɐݒ肳ĂꍇA͐łB<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusErrorsOccurred</span> ɐݒ肳ĂꍇA͎sA<span class="replaceable">pError</span> IuWFNgɂ̓G[Ɋւڍׂ܂܂܂B<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusUnwantedEvent</span> ɐݒ肷ƁÃCxg͍ēxĂяo܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">pConnection</span></dt>
<dd><p>̃Cxg𔭐 Connection IuWFNgłB</p></dd>

</dl>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection.BeginTrans \bhAConnection.CommitTransComplete CxgAConnection.RollbackTransComplete CxgAEventStatusEnum </p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.Cancel">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.Cancel \bh </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br><span class="replaceable">connection</span>.Cancel</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>Cancel \bh́Aۗ̔񓯊ڑ܂͎sLZ܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection IuWFNg Execute \bh܂ Open \bh <span class="LITERAL">adAsyncConnect</span>A<span class="LITERAL">adAsyncExecute</span>A܂ <span class="LITERAL">adAsyncFetch</span> ̃IvVtŌĂяoꂽꍇACancel \bh͕ۗ̔񓯊LZ܂B</p>


<p><span class="LITERAL">adAsyncExecute</span> IvVݒ肹Ɏsɑ΂ Cancel \bhĂяoƁAG[܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection.Execute \bhAConnection.Open \bh</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.Close">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.Close \bh </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br><span class="replaceable">connection</span>.Close</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>Close \bhgpāAConnection IuWFNg܂ Recordset IuWFNgA̒Ɋ܂܂ĂˑIuWFNgƋɕ܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Close \bh́Af[^\[XƂ̐ڑI܂BConnection IuWFNgAvpeB𒲐AIuWFNgēxJƂł܂BConnection IuWFNgĂƂɁAڑv郁\bhĂяoƁAG[܂B</p>


<p>Recordset IuWFNg̍쐬 Connection IuWFNgƁA쐬ꂽ Recordset IuWFNg܂Bۗ̕ύXׂ͂Ď܂Bۗ̃gUNV΁AG[܂B</p>


<p>Connection IuWFNgĂAIuWFNg폜킯ł͂ȂAgpĂ郊\[X邾łBVisual Basic  Connection IuWFNg폜ɂ́AIuWFNg <span class="LITERAL">Nothing</span> ɐݒ肵܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.CommandTimeout">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.CommandTimeout vpeB </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br><span class="replaceable">connection</span>.CommandTimeout = <span class="replaceable">timeout</span></td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>CommandTimeout vpeB́AR}h̎s ADO G[𐶐܂őҋ@鎞Ԃ܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">f[^^Cv</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Long</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>CommandTimeout vpeB́Aǂݎ肨я݉\łBCommandTimeout vpeBgpƁAADO R}h̎sҋ@鎞Ԃwł܂BCommandTimeout vpeB̐ݒ͕bPʂŕ\Aݒl <span class="LITERAL">30</span> łB̃vpeB 0 ɐݒ肷ƁAADO ͎w肳ꂽR}h̎s𖳊ɑҋ@ł܂BR}h^CAEgƁAG[܂B</p>


<p>Command IuWFNg CommandTimeout vpeB́AConnection IuWFNg CommandTimeout vpeBƂ͖֌WłB</p>


<p>Connection IuWFNg CommandTimeout ́AConnection IuWFNgJĂƂłAǂݎ肨я݉\łB</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>voC_ɂĂ CommandTimeout vpeBT|[gȂ̂܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.CommitTrans">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.CommitTrans \bh </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)
</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><synopsis/></td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">s/>
<p>Connection.BeginTrans \bhQƂĂB</p></td>
</tr>
</table>
</div>
<div id="Connection.CommitTransComplete">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.CommitTransComplete Cxg </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br>Private Sub CommitTransComplete(ByVal <span class="replaceable">pError</span> As ADODB.Error, _<br>                                <span class="replaceable">adStatus</span> As ADODB.EventStatusEnum, _<br>                                ByVal <span class="replaceable">pConnection</span> As ADODB.Connection)</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>CommitTransComplete CxǵACommitTrans \bh̑삪ɐ܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">p[^</td>
</tr>
<tr>
<td colspan="2" class="description">


<dl>
<dt><span class="replaceable">pError</span></dt>
<dd><p><span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusErrorsOccurred</span> ɐݒ肳ĂꍇɔG[Ɋւڍׂ܂ Error IuWFNgłB</p></dd>

</dl>


<dl>
<dt><span class="replaceable">adStatus</span></dt>
<dd><p>݂̑̏Ԃ EventStatusEnum lłB<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusOK</span> ɐݒ肳ĂꍇA͐łB<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusErrorsOccurred</span> ɐݒ肳ĂꍇA͎sA<span class="replaceable">pError</span> IuWFNgɂ̓G[Ɋւڍׂ܂܂܂B<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusUnwantedEvent</span> ɐݒ肷ƁÃCxg͍ēxĂяo܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">pConnection</span></dt>
<dd><p>̃Cxg𔭐 Connection IuWFNgłB</p></dd>

</dl>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection.BeginTransComplete CxgAConnection.CommitTrans \bhAConnection.RollbackTransComplete CxgAEventStatusEnum </p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.ConnectComplete">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.ConnectComplete Cxg </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br>Private Sub ConnectComplete(ByVal <span class="replaceable">pError</span> As ADODB.Error, _<br>                            <span class="replaceable">adStatus</span> As ADODB.EventStatusEnum, _<br>                            ByVal <span class="replaceable">pConnection</span> As ADODB.Connection)</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>ConnectComplete CxǵAڑsƐ܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">p[^</td>
</tr>
<tr>
<td colspan="2" class="description">


<dl>
<dt><span class="replaceable">pError</span></dt>
<dd><p><span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusErrorsOccurred</span> ɐݒ肳ĂꍇɔG[Ɋւڍׂ܂ Error IuWFNgłB</p></dd>

</dl>


<dl>
<dt><span class="replaceable">adStatus</span></dt>
<dd><p>݂̑̏Ԃ EventStatusEnum lłB<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusOK</span> ɐݒ肳ĂꍇA͐łB<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusErrorsOccurred</span> ɐݒ肳ĂꍇA͎sA<span class="replaceable">pError</span> IuWFNgɂ̓G[Ɋւڍׂ܂܂܂B<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusUnwantedEvent</span> ɐݒ肳ĂꍇÃCxg͍ēxĂяo܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">pConnection</span></dt>
<dd><p>̃Cxg𔭐 Connection IuWFNgłB</p></dd>

</dl>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection.Disconnect CxgAConnection.WillConnect CxgAConnectOptionEnum 񋓁AEventStatusEnum </p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.ConnectionString">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.ConnectionString vpeB </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br><span class="replaceable">connection</span>.ConnectionString = <span class="replaceable">connectionstring</span></td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>ConnectionString vpeB́Af[^\[Xւ̃ANZXɎgpڑ`܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">f[^^Cv</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>String</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>ConnectionString vpeB́AڑŎgpf[^\[X܂BDSN (f[^\[X) ܂̓p[^̃XgłڍׂȐڑnƂł܂Bp[^̌` <span class="replaceable">argument=value</span> ƂÃp[^̓Z~Rŋ؂Kv܂BADO ł ConnectionString vpeBɓƁAڍׂȐڑ񂪓n̂ƌȂ܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">p[^</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>T|[gĂ 3 ̃p[^Ɏ܂Bǉ̃p[^nƁAp[^̓f[^voC_ɒړn̂ŁAADO ł̓`FbN܂B</p>


<dl>
<dt><span class="replaceable">Provider</span></dt>
<dd><p>̐ڑɎgpf[^voC_̖Ow肵܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">Filename</span></dt>
<dd><p>܂ރf[^voC_ŗL̃t@Cw肵܂B̃p[^́A<span class="replaceable">Provider</span> p[^ƕpł܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">URL</span></dt>
<dd><p>t@C܂̓fBNg̐ URL ʂ܂B</p></dd>

</dl>


<p>ConnectionString vpeB̃RećAConnection IuWFNgJアł ADO ŕύXł̂ŁARecsmȏꍇ͂̃vpeBǂłB</p>


<p>Connection IuWFNg Open \bh ConnectionString p[^gpꍇAl Connection IuWFNg ConnectionString vpeBɒu܂B</p>


<p>ConnectionString ́AConnection IuWFNgJĂƂ͓ǂݎpłAIuWFNgƓǂݎ肨я݉\ɂȂ܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection.Open \bh</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.ConnectionTimeout">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.ConnectionTimeout vpeB </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br><span class="replaceable">connection</span>.ConnectionTimeout = <span class="replaceable">timeout</span></td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>ConnectionTimeout vpeB́Af[^\[Xւ̐ڑs ADO ҋ@鎞ԂbPʂŎ܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">f[^^Cv</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Long</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>ConnectionTimeout vpeBgpƁAADO f[^\[Xւ̐ڑҋ@鎞Ԃwł܂BConnectionTimeout vpeB̐ݒ́AbPʂŕ\܂B̃vpeB 0 ɐݒ肷ƁAADO ͎w肳ꂽڑ𖳊ɑҋ@ł܂Bڑ^CAEgƁAG[܂B</p>


<p>ConnectionTimeout vpeB́AConnection IuWFNgĂƂ͓ǂݎ肨я݉\łAIuWFNgJƓǂݎpɂȂ܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>voC_ɂĂ ConnectionTimeout vpeBT|[gȂ̂܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection.Open \bh</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.CursorLocation">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.CursorLocation vpeB </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br><span class="replaceable">connection</span>.CursorLocation = <span class="replaceable">CursorLocationEnum</span></td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>CursorLocation vpeB́AJ[\T[rẌʒu܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">f[^^Cv</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>CursorLocationEnum (Long)</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>CursorLocation vpeB̒ĺA<link linkend="ado-APP-E">t^ E</link> ɎL CursorLocationEnum l̂ꂩɐݒł܂B</p>


<p>CursorLocation vpeB̒ĺAǂݎ肨я݂̂\łBÃvpeB̒lύXĂAl̕ύXɊJꂽ Connection ɂe^܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection.Open \bh</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.DefaultDatabase">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.DefaultDatabase vpeB </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br><span class="replaceable">connection</span>.DefaultDatabase = <span class="replaceable">database</span></td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>DefaultDatabase vpeB́A݂̐ڑ̃ftHgƂđIꂽf[^x[X܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">f[^^Cv</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>String</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>DefaultDatabase vpeBgpƁAAvP[Vł Connection IuWFNg̃ftHg̃f[^x[Xwł܂B</p>


<p>C̍\́AI DefaultDatabase vpeBw肷f[^x[XQƂ܂Bׂ̂Ẵf[^x[XɃANZXɂ́AړĨf[^x[XŃIuWFNgCKv܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>voC_ɂĂ DefaultDatabase vpeBT|[gȂ̂܂BvoC_̃vpeBT|[gĂȂꍇAG[邩A̕񂪕Ԃ܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.Disconnect">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.Disconnect Cxg </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br>Private Sub Disconnect(<span class="replaceable">adStatus</span> As ADODB.EventStatusEnum, _<br>                       ByVal <span class="replaceable">pConnection</span> As ADODB.Connection)</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>Disconnect CxǵAڑIƐ܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">p[^</td>
</tr>
<tr>
<td colspan="2" class="description">


<dl>
<dt><span class="replaceable">adStatus</span></dt>
<dd><p>݂̑̏Ԃ EventStatusEnum lłB<span class="replaceable">adStatus</span> p[^́ACxgƏ <span class="LITERAL">adStatusOK</span> ɐݒ肳܂BCxgR[h̏IO <span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusUnwantedEvent</span> ɐݒ肷ƁÃCxg͍ēxĂяoȂȂ܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">pConnection</span></dt>
<dd><p>̃Cxg𔭐 Connection IuWFNgłB</p></dd>

</dl>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection.ConnectComplete CxgAEventStatusEnum </p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.Errors">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.Errors RNV </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br>Set <span class="replaceable">errors</span> = <span class="replaceable">connection</span>.Errors</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>Errors RNV́A݂ Connection IuWFNg̍Ō̑ŔX̃G[ƌx̃RNVłB</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">f[^^Cv</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Errors (Collection IuWFNg)</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection IuWFNg Errors vpeB͓ǂݎpłB̃vpeB́AADO ܂̓voC_ŗL̃G[A0 ܂͑ Error IuWFNgێł Errors RNVIuWFNgւ̎QƂԂ܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.Execute">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.Execute \bh </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br>connection.Execute <span class="replaceable">CommandText, RecordsAffected, Options</span><br>Set recordset = connection.Execute(<span class="replaceable">CommandText, RecordsAffected, Options</span>)</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>Execute \bh́Af[^\[Xɑ΂Ďw肳ꂽ SQL Xe[ggANG[AXgAhvV[WA܂̓voC_ŗL̃R}hs܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">p[^</td>
</tr>
<tr>
<td colspan="2" class="description">


<dl>
<dt><span class="replaceable">CommandText</span> ()</dt>
<dd><p>IvVłBs SQL Xe[ggANG[AXgAhvV[WAURLA܂̓voC_ŗL̃R}hێ܂Bp[^ Command.CommandText vpeBɗގĂ܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">RecordsAffected</span> (Long)</dt>
<dd><p>IvVłBsR}h̉e󂯂R[hێ܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">Options</span> (Long)</dt>
<dd><p>IvVłBf[^voC_ɂR}h̏@ CommandTypeEnum l ExecuteOptionEnum l̑gݍ킹\܂Bݒl -1 łBIvV͐ݒł܂B</p></dd>

</dl>


<p>CommandTypeEnum  ExecuteOptionEnum ̗񋓒l<link linkend="ado-APP-E">t^ E</link> Ɏ܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">߂l</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>RecordsetObject</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Execute \bh́ACommandText p[^Ŏw肳ꂽR}hs܂B̃p[^́AOptions p[^ɊÂĕ]܂BR}h̎sƁAConnection.ExecuteComplete Cxg܂B</p>


<p>R}h̎sŃR[hԂꍇAExecute \bhV Recordset IuWFNgԂ܂BR}h̎sŃR[hԂȂꍇAExecute \bh Recordset IuWFNgԂ܂B̏ꍇAԂ Recordset IuWFNǵAɓǂݎpŁA]pJ[\܂B</p>


<p>Execute \bh Options p[^ <span class="LITERAL">adAsyncExecute</span>A<span class="LITERAL">adAsyncFetch</span>A܂ <span class="LITERAL">adAsyncFetchNonBlocking</span> ̂ꂩ̒l܂܂ĂꍇA̓AvP[Vt[̃obNOEhős܂B̑̑sɁAConnection.Cancel \bhĂяoƁAׂۗ̂Ă̔񓯊LZł܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>ADO 2.6 (x[^ 2) ̃}jAɂ́ACommandText p[^ƃvpeB𑊑 URL ɐݒłƋLڂĂ܂A̒lǂ̂悤ɐݒ肵Ă֌Wł邱Ƃ܂BfBNg̃Rec擾ꍇAConnectionString vpeBɃfBNgw肷Kv܂BExecute \bh CommandText p[^܂ Connection IuWFNg CommandText vpeBƂĂǂȒlw肵ĂA܂BAlƂċ̕ (") w肷ƁA"Errors Occurred" ƂG[\܂B</p>


<p>̗́AExecute \bȟĂяo CommandText vpeB̒l֌Wł邱ƂĂ܂B</p>


<span class="PROGRAMLISTING"><pre>Dim con As ADODB.Connection
Dim rec As ADODB.Recordset

Set con = New ADODB.Connection

con.Open "URL=http://jroff_laptop/"

Set rec = con.Execute("nothing really matters")
    
'
' rec contains contents of jroff_laptop
'

rec.Close
con.Close

Set rec = Nothing
Set con = Nothing</pre></span>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection.Cancel \bhACommand.CommandText vpeBAConnection.ExecuteComplete CxgACommandTypeEnum 񋓁AExecuteOptionEnum </p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.ExecuteComplete">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.ExecuteComplete Cxg </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br>Private Sub con_ExecuteComplete(ByVal <span class="replaceable">RecordsAffected</span> As Long, _<br>                                ByVal <span class="replaceable">pError</span> As ADODB.Error, _<br>                                <span class="replaceable">adStatus</span> As ADODB.EventStatusEnum, _<br>                                ByVal <span class="replaceable">pCommand</span> As ADODB.Command, _<br>                                ByVal <span class="replaceable">pRecordset</span> As ADODB.Recordset, _<br>                                ByVal <span class="replaceable">pConnection</span> As ADODB.Connection)</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>ExecuteComplete CxǵAR}h̎sƌĂяo܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">p[^</td>
</tr>
<tr>
<td colspan="2" class="description">


<dl>
<dt><span class="replaceable">RecordsAffected</span> (Long)</dt>
<dd><p>sR}h̉e󂯂郌R[h܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">pError</span> (Error)</dt>
<dd><p><span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusErrorsOccurred</span> ɐݒ肳ĂꍇɔG[Ɋւڍׂ܂݂܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">adStatus</span> (EventStatusEnum)</dt>
<dd><p>݂̑̏Ԃ܂B<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusOK</span> ɐݒ肳ĂꍇA͐łB<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusErrorsOccurred</span> ɐݒ肳ĂꍇA͎sA<span class="replaceable">pError</span> IuWFNgɂ̓G[Ɋւڍׂ܂܂܂B<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusUnwantedEvent</span> ɐݒ肳ĂꍇÃCxg͍ēxĂяo܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">pCommand</span></dt>
<dd><p>s Command IuWFNgꍇɂ̃IuWFNg\܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">pRecordset</span></dt>
<dd><p>R}hšʎ擾ꂽ Recordset IuWFNg\܂B Recordset IuWFNg͋̉\܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">pConnection</span></dt>
<dd><p>̃Cxg𔭐 Connection IuWFNg\܂B</p></dd>

</dl>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection.Execute \bhACommand.Execute \bhARecordset.NextRecordset \bhARecordset.Open \bhAEventStatusEnum </p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.InfoMessage">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.InfoMessage Cxg </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br>Private Sub InfoMessage(ByVal <span class="replaceable">pError</span> As ADODB.Error, _<br>                        <span class="replaceable">adStatus</span> As ADODB.EventStatusEnum, _<br>                        ByVal <span class="replaceable">pConnection</span> As ADODB.Connection)</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>InfoMessage CxǵAConnectionEvent 쒆ɌxƌĂяo܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">p[^</td>
</tr>
<tr>
<td colspan="2" class="description">


<dl>
<dt><span class="replaceable">pError</span></dt>
<dd><p><span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusErrorsOccurred</span> ɐݒ肳ĂꍇɔG[Ɋւڍׂ܂ Error IuWFNgłB</p></dd>

</dl>


<dl>
<dt><span class="replaceable">adStatus</span></dt>
<dd><p>݂̑̏Ԃ EventStatusEnum lłB<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusOK</span> ɐݒ肳ĂꍇA͐łB<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusErrorsOccurred</span> ɐݒ肳ĂꍇA͎sA<span class="replaceable">pError</span> IuWFNgɂ̓G[Ɋւڍׂ܂܂܂B<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusUnwantedEvent</span> ɐݒ肳ĂꍇÃCxg͍ēxĂяo܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">pRecordset</span></dt>
<dd><p>̃Cxg𔭐 Recordset IuWFNgłB</p></dd>

</dl>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>EventStatusEnum </p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.IsolationLevel">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.IsolationLevel vpeB </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br><span class="replaceable">connection</span>.IsolationLevel = <span class="replaceable">IsolationLevelEnum</span></td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>IsolationLevel vpeB́AgUNVǗ̗pɎgpuxݒ肵܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">f[^^Cv</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>IsolationLevelEnum (Long)</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>IsolationLevel vpeB́Aǂݎ肨я݂̂\łB̃vpeB̒lύXĂABeginTrans \bhĂяo܂ŁǍʂ͔f܂Bvꂽuxf[^voC_t^Ȃꍇ́A̎̃xIɐݒ肳܂B</p>


<p>IsolationLevel vpeB́A<link linkend="ado-APP-E">t^ E</link> Ɏꂩ IsolationLevelEnum 񋓂ɐݒł܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection.BeginTrans \bhAIsolationLevelEnum </p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.Mode">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.Mode vpeB </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br><span class="replaceable">connection</span>.Mode = <span class="replaceable">ConnectModeEnum</span></td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>Mode vpeB́Aw肳ꂽڑ̃f[^ύXɗpł錠ʂ܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">f[^^Cv</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>ConnectModeEnum (Long)</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Mode vpeB́AConnection IuWFNgĂƂ͓ǂݎ肨я݉\łAIuWFNgJƓǂݎpɂȂ܂B</p>


<p>Mode vpeB́A<link linkend="ado-APP-E">t^ E</link> Ɏꂩ IsolationLevelEnum 񋓂ɐݒł܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.Open">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.Open \bh </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br><span class="replaceable">connection</span>.Open <span class="replaceable">ConnectionString, UserID, Password, Options</span></td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>Connection IuWFNg Open \bh́Ãf[^\[Xɑ΂ڑJ܂BRecordset IuWFNg Open \bh́AJ[\J܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">p[^</td>
</tr>
<tr>
<td colspan="2" class="description">


<dl>
<dt><span class="replaceable">ConnectionString</span> ()</dt>
<dd><p>IvVłBADO f[^voC_ɐڑۂɕKvȏێ܂B̃vpeB́AConnection.ConnectionString vpeBɃ}bv܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">UserID</span> ()</dt>
<dd><p>IvVłBړI̐ڑmۂɎgp郆[U[ێ܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">Password</span> ()</dt>
<dd><p>IvVłBړI̐ڑmۂɎgppX[hێ܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">Options</span> (Long)</dt>
<dd><p>IvVłBConnectOptionEnum 񋓒l\܂B݂̂ƂAConnectOptionEnum 񋓂ɒ`ĂB̒l <span class="LITERAL">adAsyncConnect</span> (16) łA ADO ɑ΂ăf[^\[Xɔ񓯊Őڑ悤w܂Bݒl -1 łBIvV͐ݒł܂B</p></dd>

</dl>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Open \bh́Af[^voC_Ƃ̐ڑm܂BڑmƁAf[^voC_ɑ΂ăR}h𔭍sAf[^\[X擾ł܂B</p>


<p>f[^voC_ւ̐ڑ́A<span class="LITERAL">adConnectAsync</span> l Open \bh Options p[^ɓnƂŁA񓯊Ɋmł܂B񑀍삪n܂ƁAAvP[V́AڑɎԂƔfꍇAConnection.Cancel \bhĂяoĕۗ̔񓯊ڑLZł܂B</p>


<p>f[^voC_ւ̐ڑ́AConnectionString p[^̒lŒ`܂B܂A<span class="replaceable">UserName</span>  <span class="replaceable">Password</span> ̃p[^́Af[^voC_̃[U[F؂܂BConnectionString A Open \bhɑ΂p[^Ƃ <span class="replaceable">UserName</span>  <span class="replaceable">Password</span> ̒lݒł܂B̏ꍇÃp[^́AConnectionString vpeBŎw肳ꂽp[^㏑܂B</p>


<p>ConnectionString p[^́AConnection.ConnectionString vpeBɐݒ肳Ăl㏑܂BقƂǂ̏ꍇAConnectionString vpeB́AOpen \bh ConnectionString p[^oRœnAڑɊւڍ׏ێ܂BConnectionString vpeBǂݎƁAǉꂽ̏ڍ׏𒲂ׂ邱Ƃł܂B</p>


<p>ConnectionString vpeBȂǂ ConnectionString p[^́AZ~Rŋ؂ꂽ <span class="replaceable">argument=value</span> Xe[gg̃T[rXō\zĂ܂BConnectionString p[^уvpeBŎgpp[^́Aڑ̃f[^voC_ɊSɈˑ܂B</p>


<p>Connection.Close \bh́AJꂽ Connection IuWFNgAvP[V̏Iɕ܂Bꂽ Connection IuWFNǵAύXčēxJƂł܂BVisual Basic  Connection IuWFNg폜ɂ́AIuWFNg <span class="LITERAL">Nothing</span> ɐݒ肵܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection.Cancel \bhAConnection.Close \bhAConnection.ConnectionString vpeBAConnectModeEnum 񋓁AConnectOptionEnum </p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.OpenSchema">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.OpenSchema </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br>Set recordset = <span class="replaceable">connection</span>.OpenSchema(<span class="replaceable">Schema, Criteria, SchemaID</span>)</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>OpenSchema \bh́Af[^\[X̃XL[}ɊւێĂ Recordset IuWFNgԂ܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">p[^</td>
</tr>
<tr>
<td colspan="2" class="description">


<dl>
<dt><span class="replaceable">Schema</span> (SchemaEnum)</dt>
<dd><p>OpenSchema \bhԂ Recordset IuWFNgɕtĂAXL[}̃^Cv܂B</p></dd>

</dl>


<p>SchemaEnum ́A\ F-1 Ɏ񋓒lێ܂B</p>


<dl>
<dt><span class="replaceable">Criteria</span> (Variant z)</dt>
<dd><p>IvVłBvꂽ Schema Ɏgp鐧܂BeXL[}^Cvɑ΂ĎgpłẽXg\ G-1 Ɏ܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">SchemaID</span> (Long)</dt>
<dd><p>IvVłBvoC_ŗL̃XL[}NG[ GUID \܂BSchema p[^́A<span class="LITERAL">adSchemaProviderSpecific</span> (-1) ɐݒ肷ƕK{ɂȂ܂BȊȌꍇÃp[^͎gp܂B</p></dd>

</dl>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>OpenSchema \bh́Af[^\[X̍\A܂AXL[}Ɋւ擾܂B</p>


<p><span class="replaceable">Schema</span> p[^ SchemaEnum lɐݒ肷ƁAADO ̓AvP[VvĂ𔻒fł܂BɁA<span class="replaceable">Criteria</span> p[^ݒ肵Či荞ނƂł܂BƂ΁A<span class="LITERAL">adSchemaTables</span> 񋓒lnƁAOpenSchema \bh̓e[û݂Ԃ܂B</p>


<p>voC_ɂĂ͓Ǝ̃XL[}NG[^CvT|[ĝ܂B̋@\gpɂ́A<span class="replaceable">Schema</span> p[^ <span class="LITERAL">adSchemaProviderSpecific</span> ɐݒ肵A<span class="replaceable">SchemaID</span> p[^voC_ŗL̃XL[}NG[ GUID ɐݒ肵܂B<span class="replaceable">Schema</span> p[^ <span class="LITERAL">adSchemaProviderSpecific</span> lɐݒ肵A<span class="replaceable">SchemaID</span> p[^w肵ȂꍇAG[܂B</p>


<p>voC_ɂẮA\ G-1 ɒ`ׂẴXL[}NG[T|[gȂ̂܂BہAׂẴvoC_ŃT|[gĂ̂́AadSchemaTablesAadSchemaColumnsA adSchemaProviderTypes ̃XL[}NG[݂̂łBAł̃T|[gۏ؂킯ł͂܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>SchemaEnum </p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.Properties">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.Properties RNV </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br>Set <span class="replaceable">properties</span> = <span class="replaceable">connection</span>.Properties</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>Properties RNV́AݎgpĂvoC_ Connection IuWFNgɌŗL̑ێ܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">f[^^Cv</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Properties (Collection IuWFNg)</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Properties RNVNX́Af[^voC_ Connection IuWFNgɌŗL̊evpeBɑ΂AProperty NX̃CX^Xێ܂B</p>


<p>Connection IuWFNg Properties RNV́AConnection J܂Ŏ̃vpeB݂̂ێ܂B</p>


<ul><li><p>Password</p></li></ul>
<ul><li><p>Persist Security Info</p></li></ul>
<ul><li><p>User ID</p></li></ul>
<ul><li><p>Data Source</p></li></ul>
<ul><li><p>Window Handle</p></li></ul>
<ul><li><p>Location</p></li></ul>
<ul><li><p>Mode</p></li></ul>
<ul><li><p>Prompt</p></li></ul>
<ul><li><p>Connect Timeout</p></li></ul>
<ul><li><p>Extended Properties</p></li></ul>
<ul><li><p>Locale Identifier</p></li></ul>
<ul><li><p>Initial Catalog</p></li></ul>
<ul><li><p>OLE DB Services</p></li></ul>
<ul><li><p>General Timeout</p></li></ul>
</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.Provider">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.Provider vpeB </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br><span class="replaceable">connection</span>.Provider = <span class="replaceable">provider</span></td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>Provider vpeB́A݂ Connection IuWFNg̃f[^voC_̖O܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">f[^^Cv</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>String</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Provider vpeB́A݂ Connection IuWFNg̃voC_w肵܂B̃voC_́AConnection IuWFNg ConnectionString vpeBA܂ Connection IuWFNg Open \bhɑ΂ ConnectionString p[^łwł܂BA\ʌʂ\邽߁AvoC_̎w͂̒ 1 ̏ꏊł̂ݍsƂ߂܂B</p>


<p>Connection IuWFNg Provider vpeB́A֘A Connection IuWFNgĂƂ͓ǂݎ肨я݉\łAIuWFNgJƓǂݎpɂȂ܂B</p>


<p>Connection IuWFNgJ܂ŁA܂ Connection IuWFNg Properties RNVgp܂ł́AProvider vpeB͎gp܂B</p>


<p>voC_w肵ȂꍇAADO ł̏ݒl <span class="LITERAL">MSDASQL</span>AMicrosoft ODBC Provider for OLE DB łB</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection.ConnectionString vpeBAConnection.Open \bh</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.RollbackTrans">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.RollbackTrans \bh </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><synopsis/></td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">s/>

<p>Connection.BeginTrans \bhQƂĂB</p></td>
</tr>
</table>
</div>
<div id="Connection.RollbackTransComplete">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.RollbackTransComplete Cxg </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br>Private Sub con_RollbackTransComplete(ByVal <span class="replaceable">pError</span> As ADODB.Error, _<br>                                      <span class="replaceable">adStatus</span> As ADODB.EventStatusEnum, _<br>                                      ByVal <span class="replaceable">pConnection</span> As ADODB.Connection)</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>RollbackTransComplete CxǵARollbackTrans \bh̑삪ɐ܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">p[^</td>
</tr>
<tr>
<td colspan="2" class="description">


<dl>
<dt><span class="replaceable">pError</span></dt>
<dd><p><span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusErrorsOccurred</span> ɐݒ肳ĂꍇɔG[Ɋւڍׂ܂ Error IuWFNgłB</p></dd>

</dl>


<dl>
<dt><span class="replaceable">adStatus</span></dt>
<dd><p>݂̑̏Ԃ EventStatusEnum lłB<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusOK</span> ɐݒ肳ĂꍇA͐łB<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusErrorsOccurred</span> ɐݒ肳ĂꍇA͎sA<span class="replaceable">pError</span> IuWFNgɂ̓G[Ɋւڍׂ܂܂܂B<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusUnwantedEvent</span> ɐݒ肳ĂꍇÃCxg͍ēxĂяo܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">pConnection</span></dt>
<dd><p>̃Cxg𔭐 Connection IuWFNgłB</p></dd>

</dl>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection.BeginTransComplete CxgAConnection.CommitTransComplete CxgAConnection.RollbackTrans \bhAEventStatusEnum </p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.State">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.State vpeB </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br><span class="replaceable">state = connection</span>.State</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>State vpeB́ACommandAConnectionARecordARecordsetA܂ Stream IuWFNǧ݂̏Ԃ܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">f[^^Cv</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>ObjectStateEnum (Long)</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>State vpeB́A<link linkend="ado-APP-E">t^ E</link> Ɏ ObjectStateEnum l̑gݍ킹Ԃ܂B̒l̑gݍ킹́AIuWFNǧ݂̏Ԃ܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>ObjectStateEnum </p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.Version">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.Version vpeB </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br>version = <span class="replaceable">connection</span>.Version</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>Version vpeB́Agp ADO ݂̌̃o[W܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">f[^^Cv</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>String</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Version vpeB́AAvP[VŎgpĂ ADO ̃o[W𕶎̌`ŕԂ܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.WillConnect">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.WillConnect Cxg </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br>Private Sub WillConnect(<span class="replaceable">ConnectionString</span> As String, _<br>                        <span class="replaceable">UserID</span> As String, _<br>                        <span class="replaceable">Password</span> As String, _<br>                        <span class="replaceable">Options</span> As Long, _<br>                        <span class="replaceable">adStatus</span> As ADODB.EventStatusEnum, _<br>                        ByVal <span class="replaceable">pConnection</span> As ADODB.Connection)</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>WillConnect CxǵAڑsƐ܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">p[^</td>
</tr>
<tr>
<td colspan="2" class="description">


<dl>
<dt><span class="replaceable">ConnectionString</span> ()</dt>
<dd><p>ҋ@̐ڑ̐ڑێ܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">UserID</span> ()</dt>
<dd><p>ҋ@̐ڑ̃[U[ێ܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">Password</span> ()</dt>
<dd><p>ҋ@̐ڑ̃pX[hێ܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">Options</span> (Long)</dt>
<dd><p>ConnectionString p[^̕]@܂B̃p[^̗B̗LȒl <span class="LITERAL">adAsyncOpen</span> łB</p></dd>

</dl>


<dl>
<dt><span class="replaceable">adStatus</span> (EventStatusEnum)</dt>
<dd><p>݂̑̏Ԃ܂B̃Cxg𔭐삪ꍇA<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusOK</span> ɐݒ肳܂B<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusCantDeny</span> ɐݒ肳ĂꍇACxg͑̃LZvł܂B<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusUnwantedEvent</span> ɐݒ肳ĂꍇÃCxg͍ēxĂяo܂B<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusCancel</span> ɐݒ肳ĂꍇȂɑ΂ăLZvs܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">pConnection</span></dt>
<dd><p>̃Cxg𔭐 Connection IuWFNg\܂B</p></dd>

</dl>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">


<p><span class="replaceable">ConnectionString</span>A<span class="replaceable">UserID</span>A <span class="replaceable">Password</span> ̃p[^́A̎sOɂ̃CxgŃAvP[VɂĕύXł܂B</p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection.ConnectComplete CxgAEventStatusEnum </p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="Connection.WillExecute">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
Connection.WillExecute Cxg </td>
<td class="COMPATIBILITY">(o[W 2.0A2.1A2.5A2.6)</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><br>Private Sub WillExecute(<span class="replaceable">Source</span> As String, _<br>                        <span class="replaceable">CursorType</span> As ADODB.CursorTypeEnum, _<br>                        <span class="replaceable">LockType</span> As ADODB.LockTypeEnum, _<br>                        <span class="replaceable">Options</span> As Long, _<br>                        <span class="replaceable">adStatus</span> As ADODB.EventStatusEnum, _<br>                        ByVal <span class="replaceable">pCommand</span> As ADODB.Command, _<br>                        ByVal <span class="replaceable">pRecordset</span> As ADODB.Recordset, _<br>                        ByVal <span class="replaceable">pConnection</span> As ADODB.Connection)</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">


<p>WillExecute CxǵAR}h̎sJnOɐ܂B</p>

</td>
</tr>
<tr>
<td colspan="2" class="TITLE">p[^</td>
</tr>
<tr>
<td colspan="2" class="description">


<dl>
<dt><span class="replaceable">Source</span> ()</dt>
<dd><p>sR}h̃\[Xێ܂B̒ĺAʏ SQL Xe[gg܂̓XgAhvV[WłB</p></dd>

</dl>


<dl>
<dt><span class="replaceable">CursorType</span> (CursorTypeEnum)</dt>
<dd><p>J Recordset IuWFNg̃^Cv܂B̒l̃CxgŕύXƁARecordset.Open \bȟĂяoɎgpJ[\̃^CvύXł܂B̃\bhł̃CxgꍇÃp[^͖܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">LockType</span> (LockTypeEnum)</dt>
<dd><p>Recordset IuWFNgJƂɎgp郍bNXL[܂B̒l̃CxgŕύXƁARecordset.Open \bȟĂяoɎgp郍bNXL[ύXł܂B̃\bhł̃CxgꍇÃp[^͖܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">Options</span> (Long)</dt>
<dd><p>R}hs܂̓R[hZbgJۂɎgp鑼̃IvV܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">adStatus</span> (EventStatusEnum)</dt>
<dd><p>݂̑̏Ԃ܂B̃Cxg𔭐삪ꍇA<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusOK</span> ɐݒ肳܂B<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusCantDeny</span> ɐݒ肳ĂꍇACxg͑̃LZvł܂B<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusUnwantedEvent</span> ɐݒ肳ĂꍇÃCxg͍ēxĂяo܂B<span class="replaceable">adStatus</span> p[^ <span class="LITERAL">adStatusCancel</span> ɐݒ肷ƁȂɑ΂ăLZvs܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">pCommand</span></dt>
<dd><p>̃CxgKp Command IuWFNg\܂BConnection.Execute \bh܂ Recordset.Open \bhɂẴCxgꂽꍇ́A<span class="LITERAL">Nothing</span> ɐݒ肳܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">pRecordset</span></dt>
<dd><p>̃CxgKp Recordset IuWFNg\܂BConnection.Execute \bh܂ Command.Execute \bhɂẴCxgꂽꍇ́A<span class="LITERAL">Nothing</span> ɐݒ肳܂B</p></dd>

</dl>


<dl>
<dt><span class="replaceable">pConnection</span></dt>
<dd><p>̃Cxg𔭐 Connection IuWFNg\܂B</p></dd>

</dl>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">֘A</td>
</tr>
<tr>
<td colspan="2" class="description">


<p>Connection.Execute \bhACommand.Execute \bhARecordset.Open \bhAEventStatusEnum 񋓁ALockTypeEnum </p>


</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
</body>
</html>
