Configuration 클래스

Represents a configuration class that contains information about how a package is configured. This class cannot be inherited.

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS.dll의 Microsoft.SqlServer.ManagedDTS

구문

‘선언
Public NotInheritable Class Configuration _
    Inherits DtsObject _
    Implements IDTSPersist, IDTSName
‘사용 방법
Dim instance As Configuration
public sealed class Configuration : DtsObject, 
    IDTSPersist, IDTSName
public ref class Configuration sealed : public DtsObject, 
    IDTSPersist, IDTSName
[<SealedAttribute>]
type Configuration =  
    class
        inherit DtsObject
        interface IDTSPersist
        interface IDTSName
    end
public final class Configuration extends DtsObject implements IDTSPersist, IDTSName

주의

Configurations are useful when deploying packages to many different servers, and make it easy to move packages from development to production environments.

You can use variables to update packages dynamically, which enables you to customize package functionality and adapt packages to the environments in which they run. To update package properties at run time by using variables, map variables to package object properties, create configurations for the variables, deploy the configurations with the package, and then update the variable values in the configuration file to suit the new environment. At run time, the package automatically uses the updated values. This flexibility is useful when the packages that you have deployed connect to different servers, run different SQL statements, or run different child packages. For more information, see 패키지 구성 만들기 and 패키지에서 변수 사용.

상속 계층 구조

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
    Microsoft.SqlServer.Dts.Runtime..::..Configuration

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.