Поделиться через


IDTSCustomProperty90.State Property

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

Пространство имен: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Сборка: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Синтаксис

'Декларация
<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)

Значение свойства

A value from the DTSPersistState enumeration.

Замечания

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.

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

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