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
)
public void ImportConfigurationFile (
	String str
)
public function ImportConfigurationFile (
	str : String
)

Parameters

str

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")

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Community Additions

ADD
Show:
© 2014 Microsoft