Membres CheckCollection

The CheckCollection class represents a collection of Check objects that represent all the check constraints defined on the parent object.

Le type CheckCollection expose les membres suivants.

Méthodes

  Nom Description
Méthode publique Add Adds a Check object to the CheckCollection collection.
Méthode protégée AddExisting Adds an object to the collection. (Hérité de AbstractCollectionBase.)
Méthode protégée AddImpl Adds the specified object to this collection (Hérité de SortedListCollectionBase.)
Méthode publique Contains Verifies whether the specified object exists in the collection. (Hérité de SimpleObjectCollectionBase.)
Méthode publique CopyTo Copies the collection of objects to a one-dimensional array beginning at the index value specified.
Méthode publique Equals (Hérité de Object.)
Méthode protégée Finalize (Hérité de Object.)
Méthode protégée GetCollectionElementType Gets the Collection Element Type. (Hérité de SmoCollectionBase.)
Méthode publique GetEnumerator Returns an IEnumerator interface that allows you to iterate through the objects in the collection. (Hérité de SmoCollectionBase.)
Méthode publique GetHashCode (Hérité de Object.)
Méthode protégée GetItemById(Int32) Extracts a member from the referenced collection using a system-defined, unique identifier. (Hérité de SmoCollectionBase.)
Méthode protégée GetItemById(Int32, String) Extracts a member from the referenced collection using a system-defined, unique identifier and name. (Hérité de SmoCollectionBase.)
Méthode protégée GetObjectByIndex Extracts a member from the referenced collection using a system-defined, unique identifier. (Hérité de SmoCollectionBase.)
Méthode publique GetType (Hérité de Object.)
Méthode protégée ImplAddExisting Adds an existing specified object to this collection (Hérité de SortedListCollectionBase.)
Méthode protégée InitializeChildCollection() () () () Initializes the child collections of the referenced collection. (Hérité de SmoCollectionBase.)
Méthode protégée InitializeChildCollection(Boolean) Initializes the child collections of the referenced collection with the option to refresh the properties of the referenced collection. (Hérité de SmoCollectionBase.)
Méthode protégée InitInnerCollection Initializes the collection. (Hérité de SimpleObjectCollectionBase.)
Méthode publique ItemById Extracts a member from the CheckCollection collection using a system-defined, unique identifier.
Méthode protégée MemberwiseClone (Hérité de Object.)
Méthode publique Refresh() () () () Refreshes the referenced collection. (Hérité de SmoCollectionBase.)
Méthode publique Refresh(Boolean) Refreshes the referenced collection with the option to refresh child objects of the referenced collection. (Hérité de SmoCollectionBase.)
Méthode publique Remove(String) Removes a Check object with the specified name from the CheckCollection collection.
Méthode publique Remove(Check) Removes a Check object from the CheckCollection collection.
Méthode publique ToString (Hérité de Object.)
Méthode protégée ValidateParentObject Validates the parent object exists. (Hérité de SmoCollectionBase.)

Haut de la page

Champs

  Nom Description
Champ protégé initialized This value supports the SMO infrastructure and is not intended to be used directly from your code. (Hérité de AbstractCollectionBase.)

Haut de la page

Propriétés

  Nom Description
Propriété publique Count Gets the number of objects in the referenced collection. (Hérité de SmoCollectionBase.)
Propriété publique IsSynchronized Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. (Hérité de SmoCollectionBase.)
Propriété publique Item[ ( [ ( Int32] ) ] ) Gets a Check object in the collection by index number.
Propriété publique Item[ ( [ ( String] ) ] ) Gets a Check object in the collection by name.
Propriété publique Parent Gets the SqlSmoObject object that is the parent of the CheckCollection object.
Propriété publique SyncRoot Gets an object that can be used to synchronize access to the collection. (Hérité de SmoCollectionBase.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée ICollection. . :: . .CopyTo Copies the elements from an instance to an array beginning at the index indicated. (Hérité de SmoCollectionBase.)

Haut de la page