Sdílet prostřednictvím


DtsWarnings Class

Definition

Contains a collection of DtsWarning objects. This class cannot be inherited.

public ref class DtsWarnings sealed : Microsoft::SqlServer::Dts::Runtime::DTSReadOnlyCollectionBase
public sealed class DtsWarnings : Microsoft.SqlServer.Dts.Runtime.DTSReadOnlyCollectionBase
type DtsWarnings = class
    inherit DTSReadOnlyCollectionBase
Public NotInheritable Class DtsWarnings
Inherits DTSReadOnlyCollectionBase
Inheritance

Remarks

This class inherits from DTSReadOnlyCollectionBase.

Fields

m_unmanagedColl

The unmanaged collection.

(Inherited from DTSReadOnlyCollectionBase)

Properties

Count

Gets the number of elements contained in the DTSReadOnlyCollectionBase instance.

(Inherited from DTSReadOnlyCollectionBase)
IsSynchronized

Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe).

(Inherited from DTSReadOnlyCollectionBase)
Item[Object]

Returns a DtsWarning object from the collection.

SyncRoot

Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase.

(Inherited from DTSReadOnlyCollectionBase)

Methods

Clear()

Clears all objects from the DtsWarnings collection.

Contains(Object)

Returns a Boolean that indicates if the items in the collection can be accessed using indexing without throwing an exception.

CopyTo(Array, Int32)

Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array.

(Inherited from DTSReadOnlyCollectionBase)
CreateManagedObject(Object)

Creates managed object from an unmanaged object.

(Inherited from DTSReadOnlyCollectionBase)
GetCount()

Retrieves the number of objects in the collection.

(Inherited from DTSReadOnlyCollectionBase)
GetEnumerator()

Returns a WarningEnumerator for use in iterating over the DtsWarnings collection.

GetManagedEnumerator(Object)

Gets the managed enumerator from an unmanaged enumerator.

(Inherited from DTSReadOnlyCollectionBase)

Applies to