GetGraphServerTwitterSearchNetworkConfiguration ( out String searchTerm, out Int32 startDateInDaysBeforeToday, out Int32 maximumStatusesGoingBackward, out Boolean expandStatusUrls, out String graphServerUserName, out String graphServerPassword, out String networkFileFolderPath ) { AssertValid(); Debug.Assert(m_oNetworkConfigurationXmlDocument != null); Debug.Assert(GetNetworkType() == NetworkType.GraphServerTwitterSearch); XmlNode oGraphServerTwitterSearchNetworkConfigurationNode = XmlUtil2.SelectRequiredSingleNode( m_oNetworkConfigurationXmlDocument, "/NetworkConfiguration/" + " GraphServerTwitterSearchNetworkConfiguration", null); searchTerm = XmlUtil2.SelectRequiredSingleNodeAsString( oGraphServerTwitterSearchNetworkConfigurationNode, "SearchTerm/text()", null); startDateInDaysBeforeToday = XmlUtil2.SelectRequiredSingleNodeAsInt32( oGraphServerTwitterSearchNetworkConfigurationNode, "StartDateInDaysBeforeToday/text()", null); if (startDateInDaysBeforeToday < 0) { throw new XmlException( "The StartDateInDaysBeforeToday value can't be less than 0." ); } maximumStatusesGoingBackward = XmlUtil2.SelectRequiredSingleNodeAsInt32( oGraphServerTwitterSearchNetworkConfigurationNode, "MaximumStatusesGoingBackward/text()", null); if (maximumStatusesGoingBackward < 1) { throw new XmlException( "The MaximumStatusesGoingBackward value can't be less than 1." ); } expandStatusUrls = XmlUtil2.SelectRequiredSingleNodeAsBoolean( oGraphServerTwitterSearchNetworkConfigurationNode, "ExpandStatusUrls/text()", null); graphServerUserName = XmlUtil2.SelectRequiredSingleNodeAsString( oGraphServerTwitterSearchNetworkConfigurationNode, "GraphServerUserName/text()", null); graphServerPassword = XmlUtil2.SelectRequiredSingleNodeAsString( oGraphServerTwitterSearchNetworkConfigurationNode, "GraphServerPassword/text()", null); GetCommonConfiguration( oGraphServerTwitterSearchNetworkConfigurationNode, out networkFileFolderPath); }