共用方式為


Parameters Class

Definition

Represents a class used by both the package parameters and project parameters collection.

public ref class Parameters abstract : Microsoft::SqlServer::Dts::Runtime::DTSReadOnlyCollectionBase
public abstract class Parameters : Microsoft.SqlServer.Dts.Runtime.DTSReadOnlyCollectionBase
type Parameters = class
    inherit DTSReadOnlyCollectionBase
Public MustInherit Class Parameters
Inherits DTSReadOnlyCollectionBase
Inheritance

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[Int32]

Returns a parameter object in the parameters collection with the specified index.

Item[String]

Returns a parameter object in the parameters collection with the specified name.

SyncRoot

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

(Inherited from DTSReadOnlyCollectionBase)

Methods

Add(String, TypeCode)

Adds a parameter object to the parameters collection with the specified name and data type.

Contains(String)

Determines whether a parameter object with the specified name is contained in the parameters collection.

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 that can iterate through the DTSReadOnlyCollectionBase instance.

(Inherited from DTSReadOnlyCollectionBase)
GetManagedEnumerator(Object)

Gets the managed enumerator from an unmanaged enumerator.

(Inherited from DTSReadOnlyCollectionBase)
Insert(Int32, String, TypeCode)

Inserts a parameter object to the parameters collection with the specified index, name, and data type. Only project parameters can be inserted to the parameters collection.

Join(Parameter)

Joins the specified parameter to the parameters collection.

Remove(String)

Removes a parameter object from the parameters collection.

RemoveAt(Int32)

Removes a parameter object from the parameters collection with the specified index. Only project parameters can be removed from the parameters collection.

Applies to