private ServerReport(ServerReport parentReport, ExecutionInfo executionInfo) : this(parentReport) { m_reportPath = executionInfo.ReportPath; m_executionID = executionInfo.ExecutionID; m_executionInfo = executionInfo; m_trustedUserHeader = parentReport.TrustedUserHeaderValue; base.DrillthroughDepth = parentReport.DrillthroughDepth + 1; }
internal ServerReport(ServerReport original) : this() { ReportServerUrl = new Uri(original.ReportServerUrl.ToString()); Timeout = original.Timeout; foreach (string header in original.Headers) { Headers.Add(header); } foreach (Cookie cooky in original.Cookies) { Cookies.Add(cooky); } ReportServerCredentials.CopyFrom(original.ReportServerCredentials); }