SfcListCollection<T,K,ParentT> SfcListCollection<T,K,ParentT> SfcListCollection<T,K,ParentT> Class

Definition

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

Represents a collection of Sfc objects and its attributes.

generic <typename T, typename K, typename ParentT>
 where T : SfcInstance where K : SfcKey where ParentT : SfcInstancepublic ref class SfcListCollection abstract : Microsoft::SqlServer::Management::Sdk::Sfc::SfcCollection<T, K, ParentT>, System::Collections::Generic::IEnumerable<T>
public abstract class SfcListCollection<T,K,ParentT> : Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollection<T,K,ParentT>, System.Collections.Generic.IEnumerable<T> where T : SfcInstance where K : SfcKey where ParentT : SfcInstance
Public MustInherit Class SfcListCollection(Of T, K, ParentT)
Inherits SfcCollection(Of T, K, ParentT)
Implements IEnumerable(Of T)
Type Parameters
T

The object instance.

K

The object key.

ParentT

The parent of the object instance.

Inheritance
SfcListCollection<T,K,ParentT>SfcListCollection<T,K,ParentT>SfcListCollection<T,K,ParentT>
Implements

Constructors

SfcListCollection<T,K,ParentT>(ParentT) SfcListCollection<T,K,ParentT>(ParentT) SfcListCollection<T,K,ParentT>(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.

Properties

Count Count Count

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

IListSource.ContainsListCollection IListSource.ContainsListCollection IListSource.ContainsListCollection

Gets a value indicating whether the collection is a collection of IList objects.

(Inherited from SfcCollection<T,K,ParentT>)
Initialized Initialized 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>)
ISfcCollection.Count ISfcCollection.Count ISfcCollection.Count

Gets the number of elements contained in the collection.

(Inherited from SfcCollection<T,K,ParentT>)
ISfcCollection.Initialized ISfcCollection.Initialized ISfcCollection.Initialized

Gets or sets a value indicating whether the collection has been initialized.

(Inherited from SfcCollection<T,K,ParentT>)
ISfcCollection.Parent ISfcCollection.Parent ISfcCollection.Parent

Gets the parent object.

(Inherited from SfcCollection<T,K,ParentT>)
IsReadOnly IsReadOnly IsReadOnly

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

IsSynchronized IsSynchronized 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>)
Item[K] Item[K] Item[K]

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>)
Parent Parent 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>)
SyncRoot SyncRoot 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>)

Methods

Add(T) Add(T) Add(T)

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>)
AddImpl(T) AddImpl(T) AddImpl(T)

Adds an object or member to this collection.

AddShadow(T) AddShadow(T) AddShadow(T)

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

Clear() Clear() Clear()

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

Contains(K) Contains(K) Contains(K)

Determines whether an element is in the list collection Do not reference this member directly in your code. It supports the SQL Server infrastructure..

Contains(T) Contains(T) Contains(T)

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

CopyTo(Array, Int32) CopyTo(Array, Int32) 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>)
CopyTo(T[], Int32) CopyTo(T[], Int32) CopyTo(T[], Int32)

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

CreateAndInitializeChildObject(K) CreateAndInitializeChildObject(K) CreateAndInitializeChildObject(K)

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>)
EnsureCollectionInitialized() EnsureCollectionInitialized() 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>)
FinishMerge() FinishMerge() FinishMerge()

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

GetCollectionElementNameImpl() GetCollectionElementNameImpl() 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>)
GetElementFactoryImpl() GetElementFactoryImpl() 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>)
GetEnumerator() GetEnumerator() GetEnumerator()

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets an enumeration of the collection.

GetExistingObjectByKey(K) GetExistingObjectByKey(K) GetExistingObjectByKey(K)

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

GetInternalCollectionImpl() GetInternalCollectionImpl() GetInternalCollectionImpl()

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

GetObjectByKey(K) GetObjectByKey(K) GetObjectByKey(K)

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

InitInnerCollection() InitInnerCollection() InitInnerCollection()

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

PrepareMerge() PrepareMerge() PrepareMerge()

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

Refresh() Refresh() 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>)
Refresh(Boolean) Refresh(Boolean) 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>)
Remove(T) Remove(T) Remove(T)

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

RemoveImpl(T) RemoveImpl(T) RemoveImpl(T)

Removes the specified object from the collection.

RemoveInternal(T) RemoveInternal(T) RemoveInternal(T)

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>)
Rename(T, K) Rename(T, K) Rename(T, K)

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

Renames the specified object.

(Inherited from SfcCollection<T,K,ParentT>)

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() 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>)
IListSource.GetList() IListSource.GetList() 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>)
ISfcCollection.Add(SfcInstance) ISfcCollection.Add(SfcInstance) ISfcCollection.Add(SfcInstance)

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>)
ISfcCollection.AddShadow(SfcInstance) ISfcCollection.AddShadow(SfcInstance) ISfcCollection.AddShadow(SfcInstance)

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>)
ISfcCollection.EnsureInitialized() ISfcCollection.EnsureInitialized() 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>)
ISfcCollection.FinishMerge() ISfcCollection.FinishMerge() 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>)
ISfcCollection.GetCollectionElementNameImpl() ISfcCollection.GetCollectionElementNameImpl() 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>)
ISfcCollection.GetElementFactory() ISfcCollection.GetElementFactory() 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>)
ISfcCollection.GetExisting(SfcKey, SfcInstance) ISfcCollection.GetExisting(SfcKey, SfcInstance) ISfcCollection.GetExisting(SfcKey, SfcInstance)

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>)
ISfcCollection.GetObjectByKey(SfcKey) ISfcCollection.GetObjectByKey(SfcKey) ISfcCollection.GetObjectByKey(SfcKey)

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.

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

(Inherited from SfcCollection<T,K,ParentT>)
ISfcCollection.PrepareMerge() ISfcCollection.PrepareMerge() 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>)
ISfcCollection.Remove(SfcInstance) ISfcCollection.Remove(SfcInstance) ISfcCollection.Remove(SfcInstance)

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>)
ISfcCollection.RemoveElement(SfcInstance) ISfcCollection.RemoveElement(SfcInstance) ISfcCollection.RemoveElement(SfcInstance)

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>)
ISfcCollection.Rename(SfcInstance, SfcKey) ISfcCollection.Rename(SfcInstance, SfcKey) ISfcCollection.Rename(SfcInstance, SfcKey)

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>)

Applies to