語言

IDTSCustomProperty100.State 屬性

定義

從 中 DTSPersistState 取得或設定一個值,控制該值如何 IDTSCustomProperty100 儲存在套件 XML 中。

public:
 property Microsoft::SqlServer::Dts::Pipeline::Wrapper::DTSPersistState State { Microsoft::SqlServer::Dts::Pipeline::Wrapper::DTSPersistState get(); void set(Microsoft::SqlServer::Dts::Pipeline::Wrapper::DTSPersistState value); };
[System.Runtime.InteropServices.DispId(102)]
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSPersistState State { [System.Runtime.InteropServices.DispId(102)] get; [System.Runtime.InteropServices.DispId(102)] set; }
[<System.Runtime.InteropServices.DispId(102)>]
[<get: System.Runtime.InteropServices.DispId(102)>]
[<set: System.Runtime.InteropServices.DispId(102)>]
member this.State : Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSPersistState with get, set
Public Property State As DTSPersistState

屬性值

一個來自 DTSPersistState 枚舉的數值。

屬性

備註

預設值為 PS_DEFAULT ,表示屬性值直接儲存在套件 XML 的 XML 元素中。 包含 XML 文件中無效值的屬性應指定 PS_PERSISTASCDATA,將 XML 元素值包裹在 CDATA 區段,確保套件正確持久化。

適用於