다음을 통해 공유


PackageInfos 클래스

Contains a collection of packages found in Microsoft SQL Server or the Integration Services service. This class cannot be inherited.

상속 계층

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DTSReadOnlyCollectionBase
    Microsoft.SqlServer.Dts.Runtime..::..PackageInfos

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)

구문

‘선언
Public NotInheritable Class PackageInfos _
    Inherits DTSReadOnlyCollectionBase
‘사용 방법
Dim instance As PackageInfos
public sealed class PackageInfos : DTSReadOnlyCollectionBase
public ref class PackageInfos sealed : public DTSReadOnlyCollectionBase
[<SealedAttribute>]
type PackageInfos =  
    class
        inherit DTSReadOnlyCollectionBase
    end
public final class PackageInfos extends DTSReadOnlyCollectionBase

PackageInfos 유형에서 다음 멤버를 표시합니다.

속성

  이름 설명
공용 속성 Count Gets the number of elements contained in the DTSReadOnlyCollectionBase instance. (DTSReadOnlyCollectionBase에서 상속됨)
공용 속성 IsSynchronized Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe). (DTSReadOnlyCollectionBase에서 상속됨)
공용 속성 Item Retrieves the PackageInfo object from the collection.
공용 속성 SyncRoot Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase. (DTSReadOnlyCollectionBase에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 Contains Returns a Boolean that indicates whether an object can be retrieved from the collection by using the name, index, GUID, or description parameter.
공용 메서드 CopyTo Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array. (DTSReadOnlyCollectionBase에서 상속됨)
보호된 메서드 CreateManagedObject 인프라입니다. (DTSReadOnlyCollectionBase에서 상속됨)
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
보호된 메서드 GetCount 인프라입니다. (DTSReadOnlyCollectionBase에서 상속됨)
공용 메서드 GetEnumerator Returns an enumerator for use in iterating over the PackageInfos collection.
공용 메서드 GetHashCode (Object에서 상속됨)
보호된 메서드 GetManagedEnumerator 인프라입니다. (DTSReadOnlyCollectionBase에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

필드

  이름 설명
보호된 필드 m_unmanagedColl 인프라입니다. (DTSReadOnlyCollectionBase에서 상속됨)

맨 위로 이동

주의

This collection enumerates packages. You can retrieve packages that are stored in the Integration Services service and then iterate through them, or you can retrieve packages that are stored in SQL Server. For a sample of how to retrieve Integration Services service packages programmatically, see GetDtsServerPackageInfos. For information about retrieving SQL Server packages programmatically, see GetPackageInfos.

The following code example instantiates a PackageInfos object from the Application object.

PackageInfos pInfos = app.GetDtsServerPackageInfos(@"File System", "YOURSERVER");

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.