Export (0) Print
Expand All

Package.ImportConfigurationFile Method

Loads a configuration file associated with the package.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public void ImportConfigurationFile(
	string str
)

Parameters

str
Type: System.String
The path and name of the file that contains the configuration.

The following code example shows the ImportConfigurationFile method. The string parameter contains the path to the configuration.

package.ImportConfigurationFile(@"c:\myConfiguration.xml")

Community Additions

ADD
Show:
© 2014 Microsoft