private static string InternalOnPremiseLinkToOffice365(string serviceInstance) { if (EacEnvironment.Instance.IsDataCenter) { return(string.Empty); } string url = CrossPremiseUtil.InternalGetLinkToCrossPremise(HttpContext.Current, HttpContext.Current.Request, serviceInstance); return(EcpUrl.AppendQueryParameter(url, "ov", "1")); }
public static string GetLinkToCrossPremise(HttpContext context, HttpRequest request) { return(CrossPremiseUtil.InternalGetLinkToCrossPremise(context, request, OrganizationCache.ServiceInstance)); }