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  

適用対象