DTSPersistState Enumeration

Specifies how an IDTSCustomProperty100 is persisted in the package XML file.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntax

'Declaration
Public Enumeration DTSPersistState
'Usage
Dim instance As DTSPersistState
public enum DTSPersistState
public enum class DTSPersistState
type DTSPersistState
public enum DTSPersistState

Members

Member name Description
PS_DEFAULT Specifies to persist the property directly in the package XML.
PS_PERSISTASHEX Specifies to store the property value as a hexadecimal value in the package XML.
PS_PERSISTASCDATA Specifies to wrap the property value in a CDATA section in the XML for the package.

Remarks

The State property of a IDTSCustomProperty100 defaults to PS_DEFAULT.

If a custom property might contain invalid characters in its value, components should use the PS_PERSISTASCDATA field.