62,047
社区成员
发帖
与我相关
我的任务
分享
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="SAP.Middleware.Connector">
<sectionGroup name="ClientSettings">
<section name="DestinationConfiguration" type="SAP.Middleware.Connector.RfcDestinationConfiguration, sapnco"/>
</sectionGroup>
</sectionGroup>
</configSections>
<SAP.Middleware.Connector>
<ClientSettings>
<DestinationConfiguration>
<destination>
<add NAME="CON" USER="###" PASSWORD="******" CLIENT="***" Language="ZH" AppServerHost="0.0.0.0" SystemNumber="23" MAX_POOL_SIZE="10" IDLE_TIMEOUT="10"/>
</destination>
</DestinationConfiguration>
</ClientSettings>
</SAP.Middleware.Connector>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
<connectionStrings>
<!--Oracle连接字符串设定-->
<add connectionString="Data Source=orcl;User Id=system;Password=***;Integrated Security=no" name="OracleHelper"/>
</connectionStrings>
</configuration>
private void btn1_Click(object sender, EventArgs e)
{
RfcDestination dest = RfcDestinationManager.GetDestination("CON");
RfcRepository rfcrep = dest.Repository;
IRfcFunction myfun = null;
<add NAME="CON" USER="PS1" PASSWD="***" CLIENT="123" LANG="ZH" MSHOST="/H/192.168.0.1/W/6S9PFLY2NHTQZ69H/H/192.168.0.2" SYSID="P01" GROUP="PUBLIC" MAX_POOL_SIZE="10"/>