共用方式為


ScriptComponent 建構函式

Initializes a new instance of the ScriptComponent class.

命名空間:  Microsoft.SqlServer.Dts.Pipeline
組件:  Microsoft.SqlServer.TxScript (在 Microsoft.SqlServer.TxScript.dll 中)

語法

'宣告
Public Sub New
'用途
Dim instance As New ScriptComponent()
public ScriptComponent()
public:
ScriptComponent()
new : unit -> ScriptComponent
public function ScriptComponent()

備註

The Script component developer does not use the ScriptComponent class directly, but indirectly, by coding the methods and properties of the ScriptMain class, which inherits from ScriptComponent through the UserComponent class.

The developer does not have to use the constructor for the ScriptComponent class.

請參閱

參考

ScriptComponent 類別

Microsoft.SqlServer.Dts.Pipeline 命名空間