Share via


Classe SfcListCollection(T, K, ParentT)

Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >
    Microsoft.SqlServer.Management.Sdk.Sfc..::..SfcListCollection<(Of <(<'T, K, ParentT>)>)>

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public MustInherit Class SfcListCollection(Of T As SfcInstance, K As SfcKey, ParentT As SfcInstance) _
    Inherits SfcCollection(Of T, K, ParentT) _
    Implements IEnumerable
'Utilisation
Dim instance As SfcListCollection(Of T, K, ParentT)
public abstract class SfcListCollection<T, K, ParentT> : SfcCollection<T, K, ParentT>, 
    IEnumerable
where T : SfcInstance
where K : SfcKey
where ParentT : SfcInstance
generic<typename T, typename K, typename ParentT>
where T : SfcInstance
where K : SfcKey
where ParentT : SfcInstance
public ref class SfcListCollection abstract : public SfcCollection<T, K, ParentT>, 
    IEnumerable
[<AbstractClassAttribute>]
type SfcListCollection<'T, 'K, 'ParentT when 'T : SfcInstance when 'K : SfcKey when 'ParentT : SfcInstance> =  
    class
        inherit SfcCollection<'T, 'K, 'ParentT>
        interface IEnumerable
    end
JScript ne prend pas en charge les types et les méthodes génériques.

Paramètres de type

  • T
  • K
  • ParentT

Le type SfcListCollection<(Of <(<'T, K, ParentT>)>)> expose les membres suivants.

Constructeurs

  Nom Description
Méthode protégée SfcListCollection< (Of < ( <'T, K, ParentT> ) > ) > Initializes a new instance of the SfcListCollection<(Of <(<'T, K, ParentT>)>)> class with the specified parent parameter. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Haut de la page

Propriétés

  Nom Description
Propriété publique Count Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (remplace SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .Count.)
Propriété protégée Initialized Gets a value indicating whether the collection has been initialized. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Propriété publique IsReadOnly Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (remplace SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .IsReadOnly.)
Propriété publique IsSynchronized Gets or sets a value indicating whether access to the collection is synchronized (thread safe). Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Propriété publique Item Gets the item specified by the key. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Propriété protégée Parent Gets or sets the type of the parent object. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Propriété publique SyncRoot Gets or sets an object that can be used to synchronize access to the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Add Adds and object to the collection .Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (remplace SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .Add(T).)
Méthode protégée AddShadow Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (remplace SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .AddShadow(T).)
Méthode publique Clear Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (remplace SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .Clear() () () ().)
Méthode publique Contains(K) Determines whether an element is in the list collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (remplace SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .Contains(T).)
Méthode publique Contains(T) Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (remplace SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .Contains(T).)
Méthode publique CopyTo(Array, Int32) Copies the elements from the collection to the specified array, starting at the specified array index. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Méthode publique CopyTo(array<T> [] () [] [], Int32) Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (remplace SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .CopyTo(array<T> [] () [] [], Int32).)
Méthode protégée CreateAndInitializeChildObject Creates a child object and adds it to the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Méthode protégée EnsureCollectionInitialized Initialize the collection from the server. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode protégée FinishMerge Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (remplace SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .FinishMerge() () () ().)
Méthode protégée GetCollectionElementNameImpl Gets the Uniform Resource Name (URN) suffix for elements in the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Méthode protégée GetElementFactoryImpl Returns the factory that is used to instantiate objects for the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Méthode publique GetEnumerator Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets an enumeration of the collection. (remplace SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .GetEnumerator() () () ().)
Méthode protégée GetExistingObjectByKey Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (remplace SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .GetExistingObjectByKey(K).)
Méthode publique GetHashCode (hérité de Object.)
Méthode protégée GetInternalCollectionImpl Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode protégée GetObjectByKey Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (remplace SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .GetObjectByKey(K).)
Méthode publique GetType (hérité de Object.)
Méthode protégée ImplAddExisting Adds the specified object to the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (remplace SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .ImplAddExisting(T).)
Méthode protégée ImplRemoveExisting Removes the specified object from the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (remplace SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .ImplRemoveExisting(T).)
Méthode protégée InitInnerCollection Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (remplace SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .InitInnerCollection() () () ().)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode protégée PrepareMerge Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (remplace SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .PrepareMerge() () () ().)
Méthode publique Refresh() () () () Refreshes the collection by creating new and merging existing objects and properties in the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Méthode publique Refresh(Boolean) Refreshes the collection by creating new and merging existing objects and properties in the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Méthode publique Remove Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (remplace SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .Remove(T).)
Méthode protégée RemoveInternal Marks the specified object for removal. The state of the object is set to ToBeDropped. The object will be removed when the parent is altered or dropped. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Méthode protégée Rename Renames the specified object. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface explicitePropriété privée IListSource. . :: . .ContainsListCollection Gets a value indicating whether the collection is a collection of IList objects. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implémentation d'interface expliciteMéthode privée IEnumerable. . :: . .GetEnumerator Gets an enumerator that can iterate the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implémentation d'interface expliciteMéthode privée IListSource. . :: . .GetList Returns an IList object that can be bound to a data source from an object that does not implement the IList interface. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implémentation d'interface expliciteMéthode privée ISfcCollection. . :: . .Add Adds the specified object to the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implémentation d'interface expliciteMéthode privée ISfcCollection. . :: . .AddShadow Adds the specified object to the shadow collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implémentation d'interface explicitePropriété privée ISfcCollection. . :: . .Count Gets the number of items contained in the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implémentation d'interface expliciteMéthode privée ISfcCollection. . :: . .EnsureInitialized Initializes the collection from the server. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implémentation d'interface expliciteMéthode privée ISfcCollection. . :: . .FinishMerge Swaps the new collection for the old collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implémentation d'interface expliciteMéthode privée ISfcCollection. . :: . .GetCollectionElementNameImpl Gets the URN suffix for elements in the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implémentation d'interface expliciteMéthode privée ISfcCollection. . :: . .GetElementFactory Gets the factory that is used to instantiate objects for the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implémentation d'interface expliciteMéthode privée ISfcCollection. . :: . .GetExisting Uses the specified key to retrieve an existing item from the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implémentation d'interface expliciteMéthode privée ISfcCollection. . :: . .GetObjectByKey Uses the specified key to retrieve an object from the collection. If a matching object is not found, the object is created, and added to the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implémentation d'interface explicitePropriété privée ISfcCollection. . :: . .Initialized Gets or sets a value indicating whether the collection has been initialized. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implémentation d'interface explicitePropriété privée ISfcCollection. . :: . .Parent Gets the parent object. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implémentation d'interface expliciteMéthode privée ISfcCollection. . :: . .PrepareMerge Prepares to merge fresh query results into the existing collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implémentation d'interface expliciteMéthode privée ISfcCollection. . :: . .Remove Removes the specified object from the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implémentation d'interface expliciteMéthode privée ISfcCollection. . :: . .RemoveElement Removes the specified element from the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implémentation d'interface expliciteMéthode privée ISfcCollection. . :: . .Rename Renames the specified object. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.