Partager via


Énumération DTSProtectionLevel

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Controls the handling of sensitive information in the package.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
Public Enumeration DTSProtectionLevel
'Utilisation
Dim instance As DTSProtectionLevel
public enum DTSProtectionLevel
public enum class DTSProtectionLevel
type DTSProtectionLevel
public enum DTSProtectionLevel

Membres

Nom de membre Description
DTSPL_DONTSAVESENSITIVE Sensitive information is not saved in the package. The sensitive information is removed and replaced with blanks.
DTSPL_ENCRYPTALL_PASSWORD Encrypts the entire package by using a password.
DTSPL_ENCRYPTALL_USERKEY Encrypts the entire package by using keys based on the user profile. Only the same user using the same profile can load the package.
DTSPL_ENCRYPTSENSITIVE_PASSWORD Encrypts only sensitive information contained in the package by using a password. DPAPI is used for this encryption.
DTSPL_ENCRYPTSENSITIVE_USERKEY Encrypts sensitive properties only by using keys based on the current user. Only the same user using the same profile can load the package. If a different user opens the package, the sensitive information is replaced with blanks. DPAPI is used for this encryption.
DTSPL_SERVERSTORAGE Encrypts the package within a SQL Server msdb database. This option is supported only when a package is saved to SQL Server. It is not supported when a package is saved to the File System. The access control of who can decrypt the package is controlled by SQL Server database roles. For more information, see Rôles au niveau de la base de données and sysssispackages (Transact-SQL).

Notes

For more information, see DTSProtectionLevel.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper