다음을 통해 공유


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

참고 항목

참조

Package 클래스

Microsoft.SqlServer.Dts.Runtime 네임스페이스