Package.ImportConfigurationFile Método
Loads a configuration file associated with the package.
Espacio de nombres: Microsoft.SqlServer.Dts.Runtime
Ensamblado: Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)
Sintaxis
'Declaración
Public Sub ImportConfigurationFile ( _
str As String _
)
'Uso
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
)
Parámetros
- str
Tipo: System.String
The path and name of the file that contains the configuration.
Ejemplos
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")