internal void CopyFrom(ReportServerCredentials other) { m_impersonationUser = other.m_impersonationUser; m_networkCredentials = other.m_networkCredentials; m_formsCookie = other.m_formsCookie; m_formsUserName = other.m_formsUserName; m_formsPassword = other.m_formsPassword; m_formsAuthority = other.m_formsAuthority; }
public ServerReport() { m_headers = new ReportViewerHeaderCollection(m_syncObject); m_cookies = new ReportViewerCookieCollection(m_syncObject); m_serverCredentialsImpl = new ReportServerCredentials(m_syncObject); m_serverCredentialsImpl.Change += delegate { OnCredentialsChanged(m_serverCredentials); }; m_serverCredentials = m_serverCredentialsImpl; }
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); }