⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classpremoteconnection.html

📁 pwlib开发文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
      &nbsp;    </td>    <td><p>Get an array of names for all of the available remote connections on this system.<p><dl compact><dt><b>Returns: </b></dt><dd> Array of strings for remote connection names. </dl>    </td>  </tr></table><a name="z317_2" doxytag="PRemoteConnection::GetConfiguration"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classPRemoteConnection.html#z313_0">Status</a> PRemoteConnection::GetConfiguration </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>name</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="structPRemoteConnection_1_1Configuration.html">Configuration</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>config</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [static]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get the configuration of the specified remote access connection.<p><dl compact><dt><b>Returns: </b></dt><dd> <a class="el" href="classPRemoteConnection.html#z313_0s1">Connected</a># if the configuration information was obtained, <a class="el" href="classPRemoteConnection.html#z313_0s7">NoNameOrNumber</a># if the particular RAS name does not exist, <a class="el" href="classPRemoteConnection.html#z313_0s12">NotInstalled</a># if there is no RAS support in the operating system, <a class="el" href="classPRemoteConnection.html#z313_0s10">GeneralFailure</a># on any other error. </dl><dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>config</em>&nbsp;</td><td>Remote connection name to get configuration </td></tr></table></dl>    </td>  </tr></table><a name="z317_0" doxytag="PRemoteConnection::GetConfiguration"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classPRemoteConnection.html#z313_0">Status</a> PRemoteConnection::GetConfiguration </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="structPRemoteConnection_1_1Configuration.html">Configuration</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>config</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get the configuration of the specified remote access connection.<p><dl compact><dt><b>Returns: </b></dt><dd> <a class="el" href="classPRemoteConnection.html#z313_0s1">Connected</a># if the configuration information was obtained, <a class="el" href="classPRemoteConnection.html#z313_0s7">NoNameOrNumber</a># if the particular RAS name does not exist, <a class="el" href="classPRemoteConnection.html#z313_0s12">NotInstalled</a># if there is no RAS support in the operating system, <a class="el" href="classPRemoteConnection.html#z313_0s10">GeneralFailure</a># on any other error. </dl><dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>config</em>&nbsp;</td><td><a class="el" href="structPRemoteConnection_1_1Configuration.html">Configuration</a> of remote connection </td></tr></table></dl>    </td>  </tr></table><a name="z313_2" doxytag="PRemoteConnection::GetErrorCode"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> DWORD PRemoteConnection::GetErrorCode </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get the error code for the last operation.<p><dl compact><dt><b>Returns: </b></dt><dd> Operating system error code. </dl>    </td>  </tr></table><a name="z315_0" doxytag="PRemoteConnection::GetName"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> const <a class="el" href="classPString.html">PString</a>&amp; PRemoteConnection::GetName </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get the name of the RAS connection.<p><dl compact><dt><b>Returns: </b></dt><dd> String for IP address, or empty string if none. </dl>    </td>  </tr></table><a name="z313_1" doxytag="PRemoteConnection::GetStatus"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classPRemoteConnection.html#z313_0">Status</a> PRemoteConnection::GetStatus </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get the current status of the RAS connection.<p><dl compact><dt><b>Returns: </b></dt><dd> Status code. </dl>    </td>  </tr></table><a name="z309_1" doxytag="PRemoteConnection::HashFunction"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> virtual PINDEX PRemoteConnection::HashFunction </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get has value for the connection <dl compact><dt><b>Returns: </b></dt><dd>Hash value of the connection name string. </dl><p>Reimplemented from <a class="el" href="classPObject.html#z203_1">PObject</a>.    </td>  </tr></table><a name="z311_2" doxytag="PRemoteConnection::Open"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> BOOL PRemoteConnection::Open </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>name</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>username</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>password</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>BOOL&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>existing</em> = FALSE</td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Open the remote connection. <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>username</em>&nbsp;</td><td>RAS name of of connection to open. </td></tr><tr><td valign=top><em>password</em>&nbsp;</td><td>Username for remote log in. </td></tr><tr><td valign=top><em>existing</em>&nbsp;</td><td>password for remote log in. Flag for open only if already connected. </td></tr></table></dl>    </td>  </tr></table><a name="z311_1" doxytag="PRemoteConnection::Open"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> BOOL PRemoteConnection::Open </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>name</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>BOOL&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>existing</em> = FALSE</td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Open the remote connection. <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>existing</em>&nbsp;</td><td>RAS name of of connection to open. Flag for open only if already connected. </td></tr></table></dl>    </td>  </tr></table><a name="z311_0" doxytag="PRemoteConnection::Open"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> BOOL PRemoteConnection::Open </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">BOOL&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>existing</em> = FALSE          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Open the remote connection. <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>existing</em>&nbsp;</td><td>Flag for open only if already connected. </td></tr>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -