ConnectionManagerBase.ProtectionLevel Property


Gets or sets a value, by using the DTSProtectionLevel enumeration, that enforces how the connection controls sensitive information.

Namespace:   Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public virtual DTSProtectionLevel ProtectionLevel { get; set; }

The following code example gives an sample of what code may be in an overridden ProtectionLevel property for a custom connection manager.

public virtual DTSProtectionLevel ProtectionLevel
        get{return DTSProtectionLevel.DontSaveSensitive;}
               // Vadidate that protection level is within company guidelines.
Return to top