Freigeben über


ImportConfigurationFile-Methode

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 _
)
'Usage
Dim instance As Package
Dim str As String

instance.ImportConfigurationFile(str)
public void ImportConfigurationFile(
    string str
)
public:
void ImportConfigurationFile(
    String^ str
)
member ImportConfigurationFile : 
        str:string -> unit 
public function ImportConfigurationFile(
    str : String
)

Parameter

Beispiele

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