ConfigurationHelperService::ReadConnectionStrings Method (String^, DocData^, String^)
Visual Studio 2015
Returns all the connection strings in the specified configuration that start with the specified prefix.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
public:
ConnectionStringSettingsCollection^ ReadConnectionStrings(
String^ configFileName,
DocData^ configDocData,
String^ prefix
)
Parameters
- configFileName
-
Type:
System::String^
The target configuration file.
- configDocData
-
Type:
Microsoft.VisualStudio.Shell.Design.Serialization::DocData^
The DocData for the configuration.
- prefix
-
Type:
System::String^
The string to search for.
Return Value
Type: System.Configuration::ConnectionStringSettingsCollection^The ConnectionStringSettingsCollection of the strings that were found.
Show: