Name Property

DTS Programming

DTS Programming
Syntax

object.Name [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Name of a DTS object

Data Type

Object

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetName(BSTR *pRetVal);

HRESULT SetName(BSTR NewValue);

Remarks

Name is a unique, user-defined text label for a Package2 object. When saved to an instance of Microsoft® SQL Server™ or SQL Server 2000 Meta Data Services, this name is used as a primary key.

A nonempty value for the Name property is required for most other DTS objects, as well.

See Also

Description Property