共用方式為


Configurations Class

Definition

Represents a collection of Configuration objects. This class cannot be inherited.

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

Remarks

The Configurations collection contains Configuration objects, which describe the configuration file type, the location of the configuration information, and the name of the target variable. For more information, see Create Package Configurations.

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 Configuration object from the collection.

SyncRoot

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

(Inherited from DTSReadOnlyCollectionBase)

Methods

Add()

Adds a Configuration object to the end of the collection.

Contains(Object)

Returns a Boolean that indicates whether the items in the collection can be accessed by an index 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 an enumerator for iterating over the Configurations collection.

GetManagedEnumerator(Object)

Gets the managed enumerator from an unmanaged enumerator.

(Inherited from DTSReadOnlyCollectionBase)
InsertAfter(Object, Configuration)

Adds a Configuration object into the collection after an existing Configuration object.

InsertBefore(Object, Configuration)

Adds a Configuration object into the collection before an existing Configuration object.

MoveAfter(Object, Configuration)

Moves a Configuration object after an existing Configuration object.

MoveBefore(Object, Configuration)

Moves a Configuration object in front of an existing Configuration object.

Remove(Object)

Removes a Configuration object from the Configurations collection.

Applies to