コード例 #1
0
 /// <summary>
 /// Creates a Discovery Service Proxy
 /// </summary>
 /// <returns></returns>
 public static DiscoveryServiceProxy CreateDiscoveryProxy()
 {
     return(CreateDiscoveryProxy(CrmService.CreateCrmService()));
 }
コード例 #2
0
        private static Uri GetDiscoveryServiceUri()
        {
            var crmService = CrmService.CreateCrmService();

            return(GetDiscoveryServiceUri(crmService.CrmSdkServerUrl));
        }
コード例 #3
0
 /// <summary>
 /// Creates an OrganizationServiceProxy.  This should always be wrapped in a using statement so the dispose method is called.
 /// </summary>
 /// <returns></returns>
 public static OrganizationServiceProxy CreateOrgProxy()
 {
     return(CrmService.CreateOrgProxy(CrmService.CreateCrmService()));
 }