共用方式為


ProjectInfo.Packages 屬性

Gets the packages in the project.

命名空間:  Microsoft.SqlServer.Management.IntegrationServices
組件:  Microsoft.SqlServer.Management.IntegrationServices (在 Microsoft.SqlServer.Management.IntegrationServices.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(PackageInfo))> _
Public ReadOnly Property Packages As PackageCollection 
    Get
'用途
Dim instance As ProjectInfo 
Dim value As PackageCollection 

value = instance.Packages
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(PackageInfo))]
public PackageCollection Packages { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(PackageInfo))]
public:
property PackageCollection^ Packages {
    PackageCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(PackageInfo))>]
member Packages : PackageCollection
function get Packages () : PackageCollection

屬性值

型別:Microsoft.SqlServer.Management.IntegrationServices.PackageCollection
The packages in the project.

請參閱

參考

ProjectInfo 類別

Microsoft.SqlServer.Management.IntegrationServices 命名空間