/// <summary> /// Creates a Discovery Service Proxy /// </summary> /// <returns></returns> public static DiscoveryServiceProxy CreateDiscoveryProxy() { return(CreateDiscoveryProxy(CrmService.CreateCrmService())); }
private static Uri GetDiscoveryServiceUri() { var crmService = CrmService.CreateCrmService(); return(GetDiscoveryServiceUri(crmService.CrmSdkServerUrl)); }
/// <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())); }