Share via


SfcListCollection<T, K, ParentT> Class

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollection<T, K, ParentT>
    Microsoft.SqlServer.Management.Sdk.Sfc.SfcListCollection<T, K, ParentT>

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public MustInherit Class SfcListCollection(Of T As SfcInstance, K As SfcKey, ParentT As SfcInstance) _
    Inherits SfcCollection(Of T, K, ParentT) _
    Implements IEnumerable(Of T), IEnumerable
'Usage
Dim instance As SfcListCollection(Of T, K, ParentT)
public abstract class SfcListCollection<T, K, ParentT> : SfcCollection<T, K, ParentT>, 
    IEnumerable<T>, 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<T>, IEnumerable
[<AbstractClassAttribute>]
type SfcListCollection<'T, 'K, 'ParentT when 'T : SfcInstance when 'K : SfcKey when 'ParentT : SfcInstance> =  
    class 
        inherit SfcCollection<'T, 'K, 'ParentT>
        interface IEnumerable<'T>
        interface IEnumerable 
    end
JScript does not support generic types and methods.

Type Parameters

  • T
  • K
  • ParentT

The SfcListCollection<T, K, ParentT> type exposes the following members.

Constructors

  Name Description
Protected method SfcListCollection<T, K, ParentT> Initializes a new instance of the SfcListCollection<T, K, ParentT> class with the specified parent parameter. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Top

Properties

  Name Description
Public property Count Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcCollection<T, K, ParentT>.Count.)
Protected property Initialized Gets a value indicating whether the collection has been initialized. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Public property IsReadOnly Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcCollection<T, K, ParentT>.IsReadOnly.)
Public property IsSynchronized Gets or sets a value indicating whether access to the collection is synchronized (thread safe). Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Public property Item Gets the item specified by the key. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Protected property Parent Gets or sets the type of the parent object. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Public property SyncRoot Gets or sets an object that can be used to synchronize access to the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)

Top

Methods

  Name Description
Public method Add Adds the specified object to the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Protected method AddImpl Adds an object or member to this collection. (Overrides SfcCollection<T, K, ParentT>.AddImpl(T).)
Protected method AddShadow Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcCollection<T, K, ParentT>.AddShadow(T).)
Public method Clear Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcCollection<T, K, ParentT>.Clear().)
Public method Contains(K) Determines whether an element is in the list collection. (Overrides SfcCollection<T, K, ParentT>.Contains(T).)
Public method Contains(T) Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcCollection<T, K, ParentT>.Contains(T).)
Public method CopyTo(Array, Int32) Copies the elements from the collection to the specified array, starting at the specified array index. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Public method CopyTo(array<T[], Int32) Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcCollection<T, K, ParentT>.CopyTo(array<T[], Int32).)
Protected method CreateAndInitializeChildObject Creates a child object and adds it to the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Protected method EnsureCollectionInitialized Initialize the collection from the server. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method FinishMerge Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcCollection<T, K, ParentT>.FinishMerge().)
Protected method GetCollectionElementNameImpl Gets the Uniform Resource Name (URN) suffix for elements in the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Protected method GetElementFactoryImpl Returns the factory that is used to instantiate objects for the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Public method GetEnumerator Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets an enumeration of the collection. (Overrides SfcCollection<T, K, ParentT>.GetEnumerator().)
Protected method GetExistingObjectByKey Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcCollection<T, K, ParentT>.GetExistingObjectByKey(K).)
Public method GetHashCode (Inherited from Object.)
Protected method GetInternalCollectionImpl Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method GetObjectByKey Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcCollection<T, K, ParentT>.GetObjectByKey(K).)
Public method GetType (Inherited from Object.)
Protected method InitInnerCollection Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcCollection<T, K, ParentT>.InitInnerCollection().)
Protected method MemberwiseClone (Inherited from Object.)
Protected method PrepareMerge Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcCollection<T, K, ParentT>.PrepareMerge().)
Public method Refresh() Refreshes the collection by creating new and merging existing objects and properties in the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Public method Refresh(Boolean) Refreshes the collection by creating new and merging existing objects and properties in the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Public method Remove Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcCollection<T, K, ParentT>.Remove(T).)
Protected method RemoveImpl Removes the specified object from the collection. (Overrides SfcCollection<T, K, ParentT>.RemoveImpl(T).)
Protected method 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. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Protected method Rename Renames the specified object. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property IListSource.ContainsListCollection Gets a value indicating whether the collection is a collection of IList objects. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Gets an enumerator that can iterate the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Explicit interface implemetationPrivate method IListSource.GetList Returns an IList object that can be bound to a data source from an object that does not implement the IList interface. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Explicit interface implemetationPrivate method ISfcCollection.Add Adds the specified object to the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Explicit interface implemetationPrivate method ISfcCollection.AddShadow Adds the specified object to the shadow collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Explicit interface implemetationPrivate property ISfcCollection.Count Gets the number of items contained in the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Explicit interface implemetationPrivate method ISfcCollection.EnsureInitialized Initializes the collection from the server. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Explicit interface implemetationPrivate method ISfcCollection.FinishMerge Swaps the new collection for the old collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Explicit interface implemetationPrivate method ISfcCollection.GetCollectionElementNameImpl Gets the URN suffix for elements in the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Explicit interface implemetationPrivate method ISfcCollection.GetElementFactory Gets the factory that is used to instantiate objects for the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Explicit interface implemetationPrivate method ISfcCollection.GetExisting Uses the specified key to retrieve an existing item from the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Explicit interface implemetationPrivate method 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 (Inherited from SfcCollection<T, K, ParentT>.)
Explicit interface implemetationPrivate property ISfcCollection.Initialized Gets or sets a value indicating whether the collection has been initialized. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Explicit interface implemetationPrivate property ISfcCollection.Parent Gets the parent object. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Explicit interface implemetationPrivate method ISfcCollection.PrepareMerge Prepares to merge fresh query results into the existing collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Explicit interface implemetationPrivate method ISfcCollection.Remove Removes the specified object from the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Explicit interface implemetationPrivate method ISfcCollection.RemoveElement Removes the specified element from the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)
Explicit interface implemetationPrivate method ISfcCollection.Rename Renames the specified object. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection<T, K, ParentT>.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Sdk.Sfc Namespace