Udostępnij przez


PlanGuideCollection Members

Collection of plan guide objects.

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

Protected Fields

  Name Description
Bb934670.protfield(pl-pl,SQL.100).gif initialized  This value supports the SMO infrastructure and is not intended to be used directly from your code. (inherited from AbstractCollectionBase)

Top

Public Properties

  Name Description
Bb934670.pubproperty(pl-pl,SQL.100).gif Count  Gets the number of objects in the referenced collection. (inherited from SmoCollectionBase)
Bb934670.pubproperty(pl-pl,SQL.100).gif IsSynchronized  Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. (inherited from SmoCollectionBase)
Bb934670.pubproperty(pl-pl,SQL.100).gif Item Overloaded. Returns an item from a collection of plan guide objects.
Bb934670.pubproperty(pl-pl,SQL.100).gif Parent Returns a database object that represents the parent of the collection.
Bb934670.pubproperty(pl-pl,SQL.100).gif SyncRoot  Gets an object that can be used to synchronize access to the collection. (inherited from SmoCollectionBase)

Top

Public Methods

(see also Protected Methods )

  Name Description
Bb934670.pubmethod(pl-pl,SQL.100).gif Add Adds a plan guide object to the collection.
Bb934670.pubmethod(pl-pl,SQL.100).gif Contains  (inherited from SimpleObjectCollectionBase )
Bb934670.pubmethod(pl-pl,SQL.100).gif CopyTo Copies all the items from a plan guide collection to a compatible one-dimensional array of objects, starting at the specified index in the target array.
Bb934670.pubmethod(pl-pl,SQL.100).gif Equals  Overloaded. (inherited from Object )
Bb934670.pubmethod(pl-pl,SQL.100).gif GetEnumerator  Returns an IEnumerator interface that allows you to iterate through the objects in the collection. (inherited from SmoCollectionBase)
Bb934670.pubmethod(pl-pl,SQL.100).gif GetHashCode  (inherited from Object )
Bb934670.pubmethod(pl-pl,SQL.100).gif GetType  (inherited from Object )
Bb934670.pubmethod(pl-pl,SQL.100).gif ItemById Returns a plan guide object as indicated by the ID property of that plan guide.
Bb934670.pubmethod(pl-pl,SQL.100).gifBb934670.static(pl-pl,SQL.100).gif ReferenceEquals  (inherited from Object )
Bb934670.pubmethod(pl-pl,SQL.100).gif Refresh  Overloaded. Refreshes the referenced collection. (inherited from SmoCollectionBase)
Bb934670.pubmethod(pl-pl,SQL.100).gif Remove Overloaded. Removes a plan guide from a plan guide collection.
Bb934670.pubmethod(pl-pl,SQL.100).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
Bb934670.protmethod(pl-pl,SQL.100).gif AddExisting  (inherited from AbstractCollectionBase )
Bb934670.protmethod(pl-pl,SQL.100).gif AddImpl  (inherited from SortedListCollectionBase )
Bb934670.protmethod(pl-pl,SQL.100).gif Finalize  (inherited from Object )
Bb934670.protmethod(pl-pl,SQL.100).gif GetCollectionElementType  Gets the Collection Element Type. (inherited from SmoCollectionBase)
Bb934670.protmethod(pl-pl,SQL.100).gif GetItemById  Overloaded. (inherited from SmoCollectionBase )
Bb934670.protmethod(pl-pl,SQL.100).gif GetObjectByIndex  (inherited from SmoCollectionBase )
Bb934670.protmethod(pl-pl,SQL.100).gif ImplAddExisting  (inherited from SortedListCollectionBase )
Bb934670.protmethod(pl-pl,SQL.100).gif InitializeChildCollection  Overloaded. Initializes the child collections of the referenced collection. (inherited from SmoCollectionBase)
Bb934670.protmethod(pl-pl,SQL.100).gif InitInnerCollection  Initializes the collection. (inherited from SimpleObjectCollectionBase)
Bb934670.protmethod(pl-pl,SQL.100).gif MemberwiseClone  (inherited from Object )
Bb934670.protmethod(pl-pl,SQL.100).gif ValidateParentObject  (inherited from SmoCollectionBase )

Top

Explicit Interface Implementations

  Name Description
System.Collections.ICollection.CopyTo  (inherited from SmoCollectionBase )

Top