共用方式為


IDTSPipeline90.AutoGenerateIDForNewObjects Property

Gets or sets a value that specifies whether the data flow automatically generates and sets the ID property for newly created objects.

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

'宣告
<DispIdAttribute(15)> _
Property AutoGenerateIDForNewObjects As Boolean
[DispIdAttribute(15)] 
bool AutoGenerateIDForNewObjects { get; set; }
[DispIdAttribute(15)] 
property bool AutoGenerateIDForNewObjects {
    bool get ();
    void set ([InAttribute] bool pbAutoGenerateIDForNewObjects);
}
/** @property */
/** @attribute DispIdAttribute(15) */ 
boolean get_AutoGenerateIDForNewObjects ()

/** @property */
/** @attribute DispIdAttribute(15) */ 
void set_AutoGenerateIDForNewObjects (/** @attribute InAttribute() */ boolean pbAutoGenerateIDForNewObjects)
DispIdAttribute(15) 
function get AutoGenerateIDForNewObjects () : boolean

DispIdAttribute(15) 
function set AutoGenerateIDForNewObjects (pbAutoGenerateIDForNewObjects : boolean)

屬性值

true if the data flow automatically generates the ID for new objects; otherwise, false. The default is true.

備註

If this property is set to false then you must explicitly set the ID property of newly created data flow objects.

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

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