Share via


MainPipeClass.IDTSObjectModel100_AutoGenerateIDForNewObjects Property

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

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntax

'Declaration
Public Overridable Property IDTSObjectModel100_AutoGenerateIDForNewObjects As Boolean
    Get
    Set
'Usage
Dim instance As MainPipeClass
Dim value As Boolean

value = instance.IDTSObjectModel100_AutoGenerateIDForNewObjects

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

Property Value

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

Implements

IDTSObjectModel100.AutoGenerateIDForNewObjects

Remarks

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