SfcCollatedDictionaryCollection<T, K, ParentT> Class

 

Represents a collection base class that uses an internal collection that is a SortedDictionary<K, T> object. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollection<T, K, ParentT>
    Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollatedDictionaryCollection<T, K, ParentT>
      Microsoft.SqlServer.Management.Collector.CollectionItemCollection
      Microsoft.SqlServer.Management.Collector.CollectionSetCollection
      Microsoft.SqlServer.Management.Dmf.PolicyCategoryCollection
      Microsoft.SqlServer.Management.Dmf.PolicyCollection
      Microsoft.SqlServer.Management.Dmf.TargetSetCollection
      Microsoft.SqlServer.Management.Dmf.TargetSetLevelCollection
      Microsoft.SqlServer.Management.RegisteredServers.RegisteredServerCollection
      Microsoft.SqlServer.Management.RegisteredServers.ServerGroupCollection
      Microsoft.SqlServer.Management.Utility.ComputerCollection
      Microsoft.SqlServer.Management.Utility.DeployedDacCollection
      Microsoft.SqlServer.Management.Utility.ManagedInstanceCollection
      Microsoft.SqlServer.Management.Utility.VolumeCollection
      Microsoft.SqlServer.Management.XEvent.ActionCollection
      Microsoft.SqlServer.Management.XEvent.ActionInfoCollection
      Microsoft.SqlServer.Management.XEvent.DataEventColumnInfoCollection
      Microsoft.SqlServer.Management.XEvent.EventCollection
      Microsoft.SqlServer.Management.XEvent.EventColumnInfoCollection
      Microsoft.SqlServer.Management.XEvent.EventFieldCollection
      Microsoft.SqlServer.Management.XEvent.EventInfoCollection
      Microsoft.SqlServer.Management.XEvent.MapInfoCollection
      Microsoft.SqlServer.Management.XEvent.MapValueInfoCollection
      Microsoft.SqlServer.Management.XEvent.PackageCollection
      Microsoft.SqlServer.Management.XEvent.PredCompareInfoCollection
      Microsoft.SqlServer.Management.XEvent.PredSourceInfoCollection
      Microsoft.SqlServer.Management.XEvent.ReadOnlyEventColumnInfoCollection
      Microsoft.SqlServer.Management.XEvent.SessionCollection
      Microsoft.SqlServer.Management.XEvent.TargetCollection
      Microsoft.SqlServer.Management.XEvent.TargetColumnInfoCollection
      Microsoft.SqlServer.Management.XEvent.TargetFieldCollection
      Microsoft.SqlServer.Management.XEvent.TargetInfoCollection
      Microsoft.SqlServer.Management.XEvent.TypeInfoCollection

public abstract class SfcCollatedDictionaryCollection<T, K, ParentT> : SfcCollection<T, K, ParentT>, 
	IComparer<K>, IEnumerable<T>, IEnumerable
where T : SfcInstance
where K : SfcKey
where ParentT : SfcInstance

Type Parameters

T

The type of the items in the collection, constrained to SfcInstance.

K

The type of the key, constrained to SfcKey.

ParentT

The type of the parent object, constrained to SfcInstance.

NameDescription
System_CAPS_protmethodSfcCollatedDictionaryCollection<T, K, ParentT>(ParentT)

Initializes a new instance of the SfcCollatedDictionaryCollection<T, K, ParentT> class using the specified parent. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

System_CAPS_protmethodSfcCollatedDictionaryCollection<T, K, ParentT>(ParentT, IComparer<String>)

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Initializes a new instance of the SfcCollatedDictionaryCollection<T, K, ParentT> class using the specified parent and IComparer<T> object.

NameDescription
System_CAPS_pubpropertyAscending

Gets or sets a value indicating whether to sort in ascending order. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

System_CAPS_pubpropertyCount

Gets the number of elements contained in the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Overrides SfcCollection<T, K, ParentT>.Count.)

System_CAPS_protpropertyCultureInfo

Gets or sets the CultureInfo object that is used by the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

System_CAPS_protpropertyIgnoreCase

Gets or sets a value indicating whether the collection is case-sensitive. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

System_CAPS_protpropertyInitialized

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

System_CAPS_pubpropertyIsReadOnly

Gets a value indicating whether the collection is read-only. Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Overrides SfcCollection<T, K, ParentT>.IsReadOnly.)

System_CAPS_pubpropertyIsSynchronized

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

System_CAPS_pubpropertyItem[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>.)

System_CAPS_protpropertyParent

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

System_CAPS_pubpropertySyncRoot

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

NameDescription
System_CAPS_pubmethodAdd(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>.)

System_CAPS_protmethodAddImpl(T)

Adds an object or member to this collection.(Overrides SfcCollection<T, K, ParentT>.AddImpl(T).)

System_CAPS_protmethodAddShadow(T)

Adds the specified object to the shadow collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Overrides SfcCollection<T, K, ParentT>.AddShadow(T).)

System_CAPS_pubmethodClear()

Removes all items from the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Overrides SfcCollection<T, K, ParentT>.Clear().)

System_CAPS_pubmethodContains(T)

Determines whether the collection contains the specified object. Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Overrides SfcCollection<T, K, ParentT>.Contains(T).)

System_CAPS_pubmethodContains(K)

Determines whether the collection contains the specified key. Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Overrides SfcCollection<T, K, ParentT>.Contains(T).)

System_CAPS_pubmethodCopyTo(T[], 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.(Overrides SfcCollection<T, K, ParentT>.CopyTo(T[], Int32).)

System_CAPS_pubmethodCopyTo(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>.)

System_CAPS_protmethodCreateAndInitializeChildObject(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>.)

System_CAPS_protmethodEnsureCollectionInitialized()

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

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_protmethodFinishMerge()

Swaps the new collection for the old collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Overrides SfcCollection<T, K, ParentT>.FinishMerge().)

System_CAPS_protmethodGetCollectionElementNameImpl()

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

System_CAPS_protmethodGetElementFactoryImpl()

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

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that can iterate through the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Overrides SfcCollection<T, K, ParentT>.GetEnumerator().)

System_CAPS_protmethodGetExistingObjectByKey(K)

Uses the specified key to retrieve an existing object from the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Overrides SfcCollection<T, K, ParentT>.GetExistingObjectByKey(K).)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetObjectByKey(K)

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.(Overrides SfcCollection<T, K, ParentT>.GetObjectByKey(K).)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodInitInnerCollection()

Creates an empty internal collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Overrides SfcCollection<T, K, ParentT>.InitInnerCollection().)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodPrepareMerge()

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.(Overrides SfcCollection<T, K, ParentT>.PrepareMerge().)

System_CAPS_pubmethodRefresh()

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

System_CAPS_pubmethodRefresh(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>.)

System_CAPS_pubmethodRemove(T)

Removes the specified object from the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Overrides SfcCollection<T, K, ParentT>.Remove(T).)

System_CAPS_protmethodRemoveImpl(T)

Removes the specified object from the collection.(Overrides SfcCollection<T, K, ParentT>.RemoveImpl(T).)

System_CAPS_protmethodRemoveInternal(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>.)

System_CAPS_protmethodRename(T, K)

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

System_CAPS_protmethodResetInnerCollection()

Resets the CultureInfo, IgnoreCase, and Ascending properties on the inner collection to honor the new settings. Call this method after any of the properties have changed. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTryGetValue(K, T)

Gets the value associated with the specified key.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISfcCollection.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>.)

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

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

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

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

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

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

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

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

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

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

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIComparer<K>.Compare(K, K)

Compares two keys from the collection.

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

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

System_CAPS_pubinterfaceSystem_CAPS_privpropertyISfcCollection.Count

Gets the number of elements contained in the collection.(Inherited from SfcCollection<T, K, ParentT>.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyISfcCollection.Initialized

Gets or sets a value indicating whether the collection has been initialized.(Inherited from SfcCollection<T, K, ParentT>.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyISfcCollection.Parent

Gets the parent object.(Inherited from SfcCollection<T, K, ParentT>.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIListSource.ContainsListCollection

Gets a value indicating whether the collection is a collection of IList objects.(Inherited from SfcCollection<T, K, ParentT>.)

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

Return to top
Show: