Variables Members

Contains a collection of Variables objects, which are accessed through several objects. This class cannot be inherited.

The following tables list the members exposed by the Variables type.

Protected Fields

  名称 Description
ms213200.protfield(zh-cn,SQL.90).gif m_unmanagedColl  (inherited from DTSReadOnlyCollectionBase )

顶部

Public Properties

  名称 Description
ms213200.pubproperty(zh-cn,SQL.90).gif Count  Gets the number of elements contained in the DTSReadOnlyCollectionBase instance. (inherited from DTSReadOnlyCollectionBase)
ms213200.pubproperty(zh-cn,SQL.90).gif IsSynchronized  Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe). (inherited from DTSReadOnlyCollectionBase)
ms213200.pubproperty(zh-cn,SQL.90).gif Item Returns a Variable object from the Variables collection.
ms213200.pubproperty(zh-cn,SQL.90).gif Locked A Boolean indicating whether the variables in the Variables collection are locked.
ms213200.pubproperty(zh-cn,SQL.90).gif SyncRoot  Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase. (inherited from DTSReadOnlyCollectionBase)

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms213200.pubmethod(zh-cn,SQL.90).gif Add Adds a Variable object to the Variables collection.
ms213200.pubmethod(zh-cn,SQL.90).gif Contains Returns a Boolean that indicates whether the items in the collection can be accessed by using indexing without throwing an exception.
ms213200.pubmethod(zh-cn,SQL.90).gif CopyTo  (inherited from DTSReadOnlyCollectionBase )
ms213200.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms213200.pubmethod(zh-cn,SQL.90).gif GetEnumerator Returns a VariableEnumerator enumerator for use in iterating over the Variables collection.
ms213200.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms213200.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms213200.pubmethod(zh-cn,SQL.90).gifms213200.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms213200.pubmethod(zh-cn,SQL.90).gif Remove Removes a Variable object from the Variables collection.
ms213200.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )
ms213200.pubmethod(zh-cn,SQL.90).gif Unlock Releases the locks on the variables collection and flags the state of the variables collection as invalid or unknown.

顶部

Protected Methods

  名称 Description
ms213200.protmethod(zh-cn,SQL.90).gif CreateManagedObject  (inherited from DTSReadOnlyCollectionBase )
ms213200.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms213200.protmethod(zh-cn,SQL.90).gif GetCount  (inherited from DTSReadOnlyCollectionBase )
ms213200.protmethod(zh-cn,SQL.90).gif GetManagedEnumerator  (inherited from DTSReadOnlyCollectionBase )
ms213200.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

请参阅

参考

Variables Class
Microsoft.SqlServer.Dts.Runtime Namespace