ConfigurationHelperService.WriteConnectionStrings Method

Definition

Writes the connection strings to the specified configuration file after deleting any existing connection strings with the specified prefix.

public:
 void WriteConnectionStrings(System::String ^ configFileName, Microsoft::VisualStudio::Shell::Design::Serialization::DocData ^ configDocData, System::String ^ groupPrefix, System::Configuration::ConnectionStringSettingsCollection ^ connectionStrings);

Parameters

configFileName
String

The target configuration file.

configDocData
DocData

The working DocData.

groupPrefix
String

The section of the file where the connectionStrings should be written.

Applies to