PropertyCollection Members

The PropertyCollection class represents a collection of Property objects that represent all the properties defined on the parent object.

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

Public Properties

  Name Description
ms220121.pubproperty(en-US,SQL.90).gif Count Gets the number of properties in the PropertyCollection object.
ms220121.pubproperty(en-US,SQL.90).gif IsSynchronized Gets a Boolean value indicating whether access to the collection is synchronized and therefore thread-safe.
ms220121.pubproperty(en-US,SQL.90).gif Item Overloaded.  
ms220121.pubproperty(en-US,SQL.90).gif SyncRoot Gets an object that can be used to synchronize access to the collection.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms220121.pubmethod(en-US,SQL.90).gif Contains Determines whether the element specified by key exists in the collection.
ms220121.pubmethod(en-US,SQL.90).gif CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified.
ms220121.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220121.pubmethod(en-US,SQL.90).gif GetEnumerator Gets an enumerator that can iterate through the list of objects.
ms220121.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms220121.pubmethod(en-US,SQL.90).gif GetPropertyObject Overloaded. Gets the Property object.
ms220121.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms220121.pubmethod(en-US,SQL.90).gifms220121.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220121.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms220121.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms220121.protmethod(en-US,SQL.90).gif LookupID Returns the ID of the Property object in the PropertyCollection object that has the specified name.
ms220121.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

Explicit Interface Implementations

  Name Description
System.Collections.ICollection.CopyTo  

Top

See Also

Reference

PropertyCollection Class
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Using Collections