Package.ImportConfigurationFile(String) Method
Definition
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.
Loads a configuration file associated with the package.
public:
void ImportConfigurationFile(System::String ^ str);
public void ImportConfigurationFile (string str);
member this.ImportConfigurationFile : string -> unit
Public Sub ImportConfigurationFile (str As String)
Parameters
- str
- String
The path and name of the file that contains the configuration.
Examples
The following code example shows the ImportConfigurationFile method. The string parameter contains the path to the configuration.
package.ImportConfigurationFile(@"c:\myConfiguration.xml")
package.ImportConfigurationFile("c:\myConfiguration.xml")