언어

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  

적용 대상