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)

public enum DTSPersistState

Member nameDescription
PS_DEFAULTSpecifies to persist the property directly in the package XML.
PS_PERSISTASHEXSpecifies to store the property value as a hexadecimal value in the package XML.
PS_PERSISTASCDATASpecifies to wrap the property value in a CDATA section in the XML for the package.

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.

Community Additions