Share via


PackageClass.ProtectionLevel Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets or sets the level of protection on the package.

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

Syntax

'Declaration
Public Overridable Property ProtectionLevel As DTSProtectionLevel 
    Get 
    Set
'Usage
Dim instance As PackageClass 
Dim value As DTSProtectionLevel 

value = instance.ProtectionLevel

instance.ProtectionLevel = value
public virtual DTSProtectionLevel ProtectionLevel { get; set; }
public:
virtual property DTSProtectionLevel ProtectionLevel {
    DTSProtectionLevel get ();
    void set (DTSProtectionLevel value);
}
abstract ProtectionLevel : DTSProtectionLevel with get, set 
override ProtectionLevel : DTSProtectionLevel with get, set
function get ProtectionLevel () : DTSProtectionLevel 
function set ProtectionLevel (value : DTSProtectionLevel)

Property Value

Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSProtectionLevel
The level of protection on the package.

Implements

IDTSPackage100.ProtectionLevel

Remarks

For more information, see Package.

See Also

Reference

PackageClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace