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.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
IDTSCustomProperty90 Interface
IDTSCustomProperty90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace