共用方式為


IDTSComponentMetaData90.Name Property

Gets or sets the name of a component.

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

'宣告
<DispIdAttribute(13)> _
Property Name As String
[DispIdAttribute(13)] 
string Name { get; set; }
[DispIdAttribute(13)] 
property String^ Name {
    String^ get ();
    void set ([InAttribute] String^ pbstrName);
}
/** @property */
/** @attribute DispIdAttribute(13) */ 
String get_Name ()

/** @property */
/** @attribute DispIdAttribute(13) */ 
void set_Name (/** @attribute InAttribute() */ String pbstrName)
DispIdAttribute(13) 
function get Name () : String

DispIdAttribute(13) 
function set Name (pbstrName : String)

屬性值

A String that contains the name of the component.

備註

Components typically do not set their Name property. This property is required, so after programmatically adding a component to a data flow task, the developer must assign a value for this property.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

IDTSComponentMetaData90 Interface
IDTSComponentMetaData90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace