共用方式為


IDTSProject100.GetPackageCount 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Returns the number of package for the project.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Function GetPackageCount As Integer
'用途
Dim instance As IDTSProject100 
Dim returnValue As Integer 

returnValue = instance.GetPackageCount()
int GetPackageCount()
int GetPackageCount()
abstract GetPackageCount : unit -> int
function GetPackageCount() : int

傳回值

型別:System.Int32
The number of packages.

請參閱

參考

IDTSProject100 介面

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間