Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConnectionStringsSection.cs / 1305376 / ConnectionStringsSection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System; using System.Xml; using System.Configuration; using System.Collections.Specialized; using System.Collections; using System.IO; using System.Text; public sealed class ConnectionStringsSection : ConfigurationSection { private static ConfigurationPropertyCollection _properties; private static readonly ConfigurationProperty _propConnectionStrings = new ConfigurationProperty(null, typeof(ConnectionStringSettingsCollection), null, ConfigurationPropertyOptions.IsDefaultCollection); static ConnectionStringsSection() { // Property initialization _properties = new ConfigurationPropertyCollection(); _properties.Add(_propConnectionStrings); } public ConnectionStringsSection() { } protected internal override object GetRuntimeObject() { SetReadOnly(); return this; // return the read only object } protected internal override ConfigurationPropertyCollection Properties { get { return _properties; } } [ConfigurationProperty("", Options = ConfigurationPropertyOptions.IsDefaultCollection)] public ConnectionStringSettingsCollection ConnectionStrings { get { return (ConnectionStringSettingsCollection)base[_propConnectionStrings]; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AlgoModule.cs
- TreeView.cs
- Helpers.cs
- HtmlShimManager.cs
- GenerateTemporaryTargetAssembly.cs
- TextElement.cs
- TableLayoutPanelCodeDomSerializer.cs
- TimeSpanStorage.cs
- TargetParameterCountException.cs
- WebPartZoneCollection.cs
- IndependentAnimationStorage.cs
- ServerProtocol.cs
- XmlSchemaImporter.cs
- XmlSchemaExternal.cs
- EntityParameterCollection.cs
- TextParagraph.cs
- DecodeHelper.cs
- SchemaCollectionCompiler.cs
- MsmqIntegrationBindingCollectionElement.cs
- DataGridPreparingCellForEditEventArgs.cs
- RegistrationServices.cs
- SHA512.cs
- FontStyles.cs
- XmlComment.cs
- DoubleLink.cs
- Query.cs
- PageThemeCodeDomTreeGenerator.cs
- RedistVersionInfo.cs
- COSERVERINFO.cs
- TextCompositionEventArgs.cs
- HttpValueCollection.cs
- AbstractDataSvcMapFileLoader.cs
- ChangeDirector.cs
- UserControlBuildProvider.cs
- DataGridViewCellStyleConverter.cs
- ComponentManagerBroker.cs
- LeafCellTreeNode.cs
- SystemWebExtensionsSectionGroup.cs
- WebPartConnectionsEventArgs.cs
- GenericAuthenticationEventArgs.cs
- DesignerTextViewAdapter.cs
- CharacterBufferReference.cs
- PageStatePersister.cs
- CheckBox.cs
- UInt32.cs
- IInstanceContextProvider.cs
- ExceptionUtil.cs
- DataBinding.cs
- AuthenticationServiceManager.cs
- WebSysDisplayNameAttribute.cs
- Win32.cs
- AmbientLight.cs
- httpapplicationstate.cs
- HtmlTable.cs
- TableLayoutStyle.cs
- FixedLineResult.cs
- EventLogSession.cs
- ByteStream.cs
- ListViewGroupConverter.cs
- WSSecureConversation.cs
- CommandField.cs
- ZoneButton.cs
- CheckBox.cs
- DockEditor.cs
- OpCopier.cs
- FindCriteria11.cs
- HtmlGenericControl.cs
- ValidatorCollection.cs
- Math.cs
- ElementHostPropertyMap.cs
- WsdlBuildProvider.cs
- ConnectionStringSettingsCollection.cs
- PropertyGridView.cs
- ServiceModelSecurityTokenTypes.cs
- NullableDoubleMinMaxAggregationOperator.cs
- BooleanSwitch.cs
- BamlLocalizabilityResolver.cs
- AddressHeaderCollectionElement.cs
- DefaultValueConverter.cs
- ReadContentAsBinaryHelper.cs
- IPPacketInformation.cs
- OpenFileDialog.cs
- ProviderUtil.cs
- ErrorRuntimeConfig.cs
- ClientFormsAuthenticationCredentials.cs
- XPathArrayIterator.cs
- HtmlGenericControl.cs
- ModelTreeEnumerator.cs
- WorkerRequest.cs
- EntityContainerEntitySet.cs
- LongTypeConverter.cs
- WebExceptionStatus.cs
- Helper.cs
- WinFormsUtils.cs
- StylusPointDescription.cs
- BinaryNode.cs
- WebServicesSection.cs
- LambdaCompiler.Lambda.cs
- SqlWebEventProvider.cs
- AsyncCallback.cs