Jaa


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)

Syntax

'Declaration
Public Sub ImportConfigurationFile ( _
    str As String _
)
public void ImportConfigurationFile (
    string str
)
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.

Example

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

Thread Safety

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.

Platforms

Development Platforms

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

Target Platforms

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

See Also

Reference

Package Class
Package Members
Microsoft.SqlServer.Dts.Runtime Namespace