Метод Package.ImportConfigurationFile
Loads a configuration file associated with the package.
Пространство имен: Microsoft.SqlServer.Dts.Runtime
Сборка: Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)
Синтаксис
'Декларация
Public Sub ImportConfigurationFile ( _
str As String _
)
'Применение
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
)
Параметры
- str
Тип: 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")
package.ImportConfigurationFile("c:\myConfiguration.xml")