IDTSName.Name Property

 

Gets or sets a name assigned to the object.

Namespace:   Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

abstract Name : string with get, set

Property Value

Type: System.String

A String that contains the object name.

This name may not be the same as the CreationName. In several run-time objects that inherit from IDTSName, the Name property is the value shown in the graphical user interface.

The IDTSName class is inherited by many classes, including the Package class, through the DtsContainer class and into the EventsProvider class, which from there, it is inherited into the Package class and most other classes. The following code sample shows the IDTSName properties as used by the Package class.

No code example is currently available or this language may not be supported.

Sample Output:

CreationName: MSDTS.Package.1

Name: {8E2F8EC1-A6E8-4114-8760-0C1A72277B8C}

Description:

ID: {8E2F8EC1-A6E8-4114-8760-0C1A72277B8C}

Return to top
Show: