<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ArcObject with database connection in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcobject-with-database-connection/m-p/1036463#M20281</link>
    <description>&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;I am new to ArcObjects. Any help or guidance is deeply appreciated.&lt;/P&gt;&lt;P&gt;I have installed ArcObjects with Visual Studio 2015. I am using ArcMap 10.6. I need guidance connecting ArcObjects Adddatabase (sql server 2012) with VS 2015. Can I connect&amp;nbsp; with web service only?&lt;/P&gt;&lt;P&gt;I am connecting with C# as a desktop application and getting errors. Is there a sample code I could re-use?&lt;/P&gt;&lt;P&gt;Thanks for reading.&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;</description>
    <pubDate>Mon, 15 Mar 2021 04:31:34 GMT</pubDate>
    <dc:creator>rajujee</dc:creator>
    <dc:date>2021-03-15T04:31:34Z</dc:date>
    <item>
      <title>ArcObject with database connection</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcobject-with-database-connection/m-p/1036463#M20281</link>
      <description>&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;I am new to ArcObjects. Any help or guidance is deeply appreciated.&lt;/P&gt;&lt;P&gt;I have installed ArcObjects with Visual Studio 2015. I am using ArcMap 10.6. I need guidance connecting ArcObjects Adddatabase (sql server 2012) with VS 2015. Can I connect&amp;nbsp; with web service only?&lt;/P&gt;&lt;P&gt;I am connecting with C# as a desktop application and getting errors. Is there a sample code I could re-use?&lt;/P&gt;&lt;P&gt;Thanks for reading.&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 04:31:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcobject-with-database-connection/m-p/1036463#M20281</guid>
      <dc:creator>rajujee</dc:creator>
      <dc:date>2021-03-15T04:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: ArcObject with database connection</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcobject-with-database-connection/m-p/1036739#M20283</link>
      <description>&lt;P&gt;There are a lot of samples in &lt;A href="https://github.com/Esri/developer-support/tree/21e23404921f35bc8614375728e4188a0cbb51a5/arcobjects-net" target="_self"&gt;this github repo&lt;/A&gt;, like &lt;A href="https://github.com/Esri/developer-support/blob/21e23404921f35bc8614375728e4188a0cbb51a5/arcobjects-net/editing-with-geodatabse-api-arcobjects/_CreateFeature.cs#L109" target="_blank" rel="noopener"&gt;this one&lt;/A&gt;.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;public static IWorkspace GetWorkspace()
{
    Type factoryType = Type.GetTypeFromProgID("esriDataSourcesGDB.SdeWorkspaceFactory");
    IWorkspaceFactory workspaceFactory = (IWorkspaceFactory)Activator.CreateInstance(factoryType);
    IWorkspace workspace = workspaceFactory.OpenFromFile(@"C:\Users\YourUserName\AppData\Roaming\ESRI\Desktop10.3\ArcCatalog\express2014@samigdb.sde", 0);
    return workspace;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 17:43:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcobject-with-database-connection/m-p/1036739#M20283</guid>
      <dc:creator>KirkKuykendall1</dc:creator>
      <dc:date>2021-03-15T17:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: ArcObject with database connection</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcobject-with-database-connection/m-p/1041060#M20298</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN class="UserName lia-user-name lia-user-rank-Occasional-Contributor-III"&gt;&lt;SPAN class="lia-link-navigation lia-page-link lia-link-disabled lia-user-name-link"&gt;&lt;SPAN class=""&gt;KirkKuykendall1 for sharing code. It is helpful.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Occasional-Contributor-III"&gt;&lt;SPAN class="lia-link-navigation lia-page-link lia-link-disabled lia-user-name-link"&gt;&lt;SPAN class=""&gt;Could you also share sample code to connect sql server database.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 14:49:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcobject-with-database-connection/m-p/1041060#M20298</guid>
      <dc:creator>rajujee</dc:creator>
      <dc:date>2021-03-26T14:49:56Z</dc:date>
    </item>
  </channel>
</rss>

