共用方式為


IDTSObjectModel100.AutoGenerateIDForNewObjects 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

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

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Property AutoGenerateIDForNewObjects As Boolean 
    Get 
    Set
'用途
Dim instance As IDTSObjectModel100 
Dim value As Boolean 

value = instance.AutoGenerateIDForNewObjects

instance.AutoGenerateIDForNewObjects = value
bool AutoGenerateIDForNewObjects { get; set; }
property bool AutoGenerateIDForNewObjects {
    bool get ();
    void set (bool value);
}
abstract AutoGenerateIDForNewObjects : bool with get, set
function get AutoGenerateIDForNewObjects () : boolean 
function set AutoGenerateIDForNewObjects (value : boolean)

屬性值

型別:System.Boolean
true if the data flow automatically generates the ID for new objects; otherwise, false.

請參閱

參考

IDTSObjectModel100 介面

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空間