共用方式為


AutoGenerateIDForNewObjects 屬性

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 (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Property AutoGenerateIDForNewObjects As Boolean
    Get
    Set
'用途
Dim instance As IDTSPipeline100
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. The default is true.

實作

IDTSObjectModel100. . :: . .AutoGenerateIDForNewObjects

備註

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