ConfigurationHelperService.ReadConnectionStrings Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns all the connection strings in the specified configuration that start with the specified prefix.
public:
System::Configuration::ConnectionStringSettingsCollection ^ ReadConnectionStrings(System::String ^ configFileName, Microsoft::VisualStudio::Shell::Design::Serialization::DocData ^ configDocData, System::String ^ prefix);
public System.Configuration.ConnectionStringSettingsCollection ReadConnectionStrings (string configFileName, Microsoft.VisualStudio.Shell.Design.Serialization.DocData configDocData, string prefix);
member this.ReadConnectionStrings : string * Microsoft.VisualStudio.Shell.Design.Serialization.DocData * string -> System.Configuration.ConnectionStringSettingsCollection
Public Function ReadConnectionStrings (configFileName As String, configDocData As DocData, prefix As String) As ConnectionStringSettingsCollection
- configFileName
- String
The target configuration file.
- prefix
- String
The string to search for.
The ConnectionStringSettingsCollection of the strings that were found.