ConnectionManagerBase.ProtectionLevel 속성

정의

연결에서 중요한 정보를 제어하는 방법을 강제 적용하는 DTSProtectionLevel 열거형을 사용하여 값을 가져오거나 설정합니다.

public:
 virtual property Microsoft::SqlServer::Dts::Runtime::DTSProtectionLevel ProtectionLevel { Microsoft::SqlServer::Dts::Runtime::DTSProtectionLevel get(); void set(Microsoft::SqlServer::Dts::Runtime::DTSProtectionLevel value); };
public virtual Microsoft.SqlServer.Dts.Runtime.DTSProtectionLevel ProtectionLevel { get; set; }
member this.ProtectionLevel : Microsoft.SqlServer.Dts.Runtime.DTSProtectionLevel with get, set
Public Overridable Property ProtectionLevel As DTSProtectionLevel

속성 값

DTSProtectionLevel 열거형입니다.

예제

다음 코드 예제에서는 사용자 지정 연결 관리자에 대 한 재정의 된 ProtectionLevel 속성에 있을 수 있는 코드의 샘플을 제공 합니다.

public virtual DTSProtectionLevel ProtectionLevel  
    {  
        get{return DTSProtectionLevel.DontSaveSensitive;}  
        set{  
               // Vadidate that protection level is within company guidelines.  
        }  
    }  
Public Overridable Property ProtectionLevel() As DTSProtectionLevel  
    Get   
        Return DTSProtectionLevel.DontSaveSensitive  
    End Get  
    Set (ByVal Value As DTSProtectionLevel)   
               ' Vadidate that protection level is within company guidelines.  
    End Set  
End Property  

적용 대상