共用方式為


DTSPersistState Enum

Definition

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

public enum class DTSPersistState
public enum DTSPersistState
type DTSPersistState = 
Public Enum DTSPersistState
Inheritance
DTSPersistState

Fields

Name Value Description
PS_DEFAULT 0

Specifies to persist the property directly in the package XML.

PS_PERSISTASDEFAULT 0

Specifies to persist the property directly in the package XML.

PS_PERSISTASHEX 1

Specifies to store the property value as a hexadecimal value in the package XML.

PS_PERSISTASCDATA 2

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.

Applies to