Partager via


IDTSCustomProperty90.State Property

Gets or sets a value from a DTSPersistState that controls how the IDTSCustomProperty90 value is stored in the package XML.

Espace de noms: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntaxe

'Déclaration
<DispIdAttribute(102)> _
Property State As DTSPersistState
[DispIdAttribute(102)] 
DTSPersistState State { get; set; }
[DispIdAttribute(102)] 
property DTSPersistState State {
    DTSPersistState get ();
    void set ([InAttribute] DTSPersistState pePropertyState);
}
/** @property */
/** @attribute DispIdAttribute(102) */ 
DTSPersistState get_State ()

/** @property */
/** @attribute DispIdAttribute(102) */ 
void set_State (/** @attribute InAttribute() */ DTSPersistState pePropertyState)
DispIdAttribute(102) 
function get State () : DTSPersistState

DispIdAttribute(102) 
function set State (pePropertyState : DTSPersistState)

Valeur de propriété

A value from the DTSPersistState enumeration.

Notes

The default value is PS_DEFAULT and indicates the property value is stored directly in the XML element in the package XML. Properties that contain values that are not valid in an XML document should specify PS_PERSISTASCDATA, which wraps the XML element value in a CDATA section, ensuring the package is persisted correctly.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

IDTSCustomProperty90 Interface
IDTSCustomProperty90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace