Share via


DTSReadOnlyCollectionBase Class

Defines an abstract base class that implements the common members used by all Integration Services read-only collections. It provides the abstract (MustInherit in Visual Basic) base class for a strongly typed collection.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dts.Runtime.DTSReadOnlyCollectionBase
    More...

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public MustInherit Class DTSReadOnlyCollectionBase _
    Implements ICollection, IEnumerable
'Usage
Dim instance As DTSReadOnlyCollectionBase
public abstract class DTSReadOnlyCollectionBase : ICollection, 
    IEnumerable
public ref class DTSReadOnlyCollectionBase abstract : ICollection, 
    IEnumerable
[<AbstractClassAttribute>]
type DTSReadOnlyCollectionBase =  
    class 
        interface ICollection 
        interface IEnumerable 
    end
public abstract class DTSReadOnlyCollectionBase implements ICollection, IEnumerable

The DTSReadOnlyCollectionBase type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of elements contained in the DTSReadOnlyCollectionBase instance.
Public property IsSynchronized Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe).
Public property SyncRoot Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase.

Top

Methods

  Name Description
Public method CopyTo Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array.
Protected method CreateManagedObject Infrastructure. Creates managed object from an unmanaged object.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method GetCount Infrastructure. Retrieves the number of objects in the collection.
Public method GetEnumerator Returns an enumerator that can iterate through the DTSReadOnlyCollectionBase instance.
Public method GetHashCode (Inherited from Object.)
Protected method GetManagedEnumerator Infrastructure. Gets the managed enumerator from an unmanaged enumerator.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected field m_unmanagedColl Infrastructure. The unmanaged collection.

Top

Remarks

This class inherits from ICollection and IEnumerable.

Thread Safety

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

See Also

Reference

Microsoft.SqlServer.Dts.Runtime Namespace

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dts.Runtime.DTSReadOnlyCollectionBase
    Microsoft.SqlServer.Dts.Runtime.BreakpointTargets
    Microsoft.SqlServer.Dts.Runtime.Configurations
    Microsoft.SqlServer.Dts.Runtime.ConnectionInfos
    Microsoft.SqlServer.Dts.Runtime.Connections
    Microsoft.SqlServer.Dts.Runtime.DataTypeInfos
    Microsoft.SqlServer.Dts.Runtime.DBProviderInfos
    Microsoft.SqlServer.Dts.Runtime.DtsErrors
    Microsoft.SqlServer.Dts.Runtime.DtsEventHandlers
    Microsoft.SqlServer.Dts.Runtime.DtsProperties
    Microsoft.SqlServer.Dts.Runtime.DtsWarnings
    Microsoft.SqlServer.Dts.Runtime.EventInfos
    Microsoft.SqlServer.Dts.Runtime.Executables
    Microsoft.SqlServer.Dts.Runtime.ExtendedProperties
    Microsoft.SqlServer.Dts.Runtime.ForEachEnumeratorInfos
    Microsoft.SqlServer.Dts.Runtime.ForEachVariableMappings
    Microsoft.SqlServer.Dts.Runtime.LogEntryInfos
    Microsoft.SqlServer.Dts.Runtime.LogProviderInfos
    Microsoft.SqlServer.Dts.Runtime.LogProviders
    Microsoft.SqlServer.Dts.Runtime.PackageInfos
    Microsoft.SqlServer.Dts.Runtime.Parameters
    Microsoft.SqlServer.Dts.Runtime.PipelineComponentInfos
    Microsoft.SqlServer.Dts.Runtime.PrecedenceConstraints
    Microsoft.SqlServer.Dts.Runtime.RunningPackages
    Microsoft.SqlServer.Dts.Runtime.SelectedLogProviders
    Microsoft.SqlServer.Dts.Runtime.TaskInfos
    Microsoft.SqlServer.Dts.Runtime.Variables