Export (0) Print
Expand All

SfcCollatedDictionaryCollection(Of 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.

Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollection(Of T, K, ParentT)
    Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollatedDictionaryCollection(Of T, K, ParentT)
      More...

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

'Declaration
Public MustInherit Class SfcCollatedDictionaryCollection(Of T As SfcInstance, K As SfcKey, ParentT As SfcInstance) _
	Inherits SfcCollection(Of T, K, ParentT) _
	Implements IComparer(Of K), IEnumerable(Of T),  _
	IEnumerable
'Usage
Dim instance As SfcCollatedDictionaryCollection(Of T, K, ParentT)

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.

The SfcCollatedDictionaryCollection(Of T, K, ParentT) type exposes the following members.

  NameDescription
Protected methodSfcCollatedDictionaryCollection(Of T, K, ParentT)(ParentT)Initializes a new instance of the SfcCollatedDictionaryCollection(Of T, K, ParentT) class using the specified parent. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected methodSfcCollatedDictionaryCollection(Of T, K, ParentT)(ParentT, IComparer(Of String))Do not reference this member directly in your code. It supports the SQL Server infrastructure. Initializes a new instance of the SfcCollatedDictionaryCollection(Of T, K, ParentT) class using the specified parent and IComparer object.
Top

  NameDescription
Public propertyAscendingGets 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.
Public propertyCountGets 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(Of T, K, ParentT).Count.)
Protected propertyCultureInfoGets 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.
Protected propertyIgnoreCaseGets 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.
Protected propertyInitializedGets 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(Of T, K, ParentT).)
Public propertyIsReadOnlyGets 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(Of T, K, ParentT).IsReadOnly.)
Public propertyIsSynchronizedGets 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(Of T, K, ParentT).)
Public propertyItemGets the item specified by the key. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection(Of T, K, ParentT).)
Protected propertyParentGets 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(Of T, K, ParentT).)
Public propertySyncRootGets 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(Of T, K, ParentT).)
Top

  NameDescription
Public methodAddAdds the specified object to the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection(Of T, K, ParentT).)
Protected methodAddImplAdds an object or member to this collection. (Overrides SfcCollection(Of T, K, ParentT).AddImpl(T).)
Protected methodAddShadowAdds the specified object to the shadow collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcCollection(Of T, K, ParentT).AddShadow(T).)
Public methodClearRemoves all items from the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcCollection(Of T, K, ParentT).Clear.)
Public methodContains(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(Of T, K, ParentT).Contains(T).)
Public methodContains(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(Of T, K, ParentT).Contains(T).)
Public methodCopyTo(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(Of T, K, ParentT).CopyTo(T(), Int32).)
Public methodCopyTo(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(Of T, K, ParentT).)
Protected methodCreateAndInitializeChildObjectCreates 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(Of T, K, ParentT).)
Protected methodEnsureCollectionInitializedInitialize the collection from the server. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection(Of T, K, ParentT).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Protected methodFinishMergeSwaps the new collection for the old collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcCollection(Of T, K, ParentT).FinishMerge.)
Protected methodGetCollectionElementNameImplGets 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(Of T, K, ParentT).)
Protected methodGetElementFactoryImplReturns 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(Of T, K, ParentT).)
Public methodGetEnumeratorReturns 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(Of T, K, ParentT).GetEnumerator.)
Protected methodGetExistingObjectByKeyUses 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(Of T, K, ParentT).GetExistingObjectByKey(K).)
Public methodGetHashCode (Inherited from Object.)
Protected methodGetObjectByKeyUses 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(Of T, K, ParentT).GetObjectByKey(K).)
Public methodGetType (Inherited from Object.)
Protected methodInitInnerCollectionCreates an empty internal collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcCollection(Of T, K, ParentT).InitInnerCollection.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodPrepareMergePrepares 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(Of T, K, ParentT).PrepareMerge.)
Public methodRefreshRefreshes 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(Of T, K, ParentT).)
Public methodRefresh(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(Of T, K, ParentT).)
Public methodRemoveRemoves the specified object from the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcCollection(Of T, K, ParentT).Remove(T).)
Protected methodRemoveImplRemoves the specified object from the collection. (Overrides SfcCollection(Of T, K, ParentT).RemoveImpl(T).)
Protected methodRemoveInternalMarks 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(Of T, K, ParentT).)
Protected methodRenameRenames the specified object. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection(Of T, K, ParentT).)
Protected methodResetInnerCollectionResets 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.
Public methodToString (Inherited from Object.)
Public methodTryGetValueGets the value associated with the specified key.
Top

  NameDescription
Explicit interface implemetationPrivate methodIComparer(Of K).CompareDo not reference this member directly in your code. It supports the SQL Server infrastructure. Compares two keys.
Explicit interface implemetationPrivate propertyIListSourceContainsListCollectionGets 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(Of T, K, ParentT).)
Explicit interface implemetationPrivate methodIEnumerableGetEnumeratorGets 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(Of T, K, ParentT).)
Explicit interface implemetationPrivate methodIListSourceGetListReturns 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(Of T, K, ParentT).)
Explicit interface implemetationPrivate methodISfcCollection.AddAdds the specified object to the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection(Of T, K, ParentT).)
Explicit interface implemetationPrivate methodISfcCollection.AddShadowAdds 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(Of T, K, ParentT).)
Explicit interface implemetationPrivate propertyISfcCollection.CountGets 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(Of T, K, ParentT).)
Explicit interface implemetationPrivate methodISfcCollection.EnsureInitializedInitializes the collection from the server. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection(Of T, K, ParentT).)
Explicit interface implemetationPrivate methodISfcCollection.FinishMergeSwaps 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(Of T, K, ParentT).)
Explicit interface implemetationPrivate methodISfcCollection.GetCollectionElementNameImplGets 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(Of T, K, ParentT).)
Explicit interface implemetationPrivate methodISfcCollection.GetElementFactoryGets 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(Of T, K, ParentT).)
Explicit interface implemetationPrivate methodISfcCollection.GetExistingUses 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(Of T, K, ParentT).)
Explicit interface implemetationPrivate methodISfcCollection.GetObjectByKeyUses 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(Of T, K, ParentT).)
Explicit interface implemetationPrivate propertyISfcCollection.InitializedGets 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(Of T, K, ParentT).)
Explicit interface implemetationPrivate propertyISfcCollection.ParentGets the parent object. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection(Of T, K, ParentT).)
Explicit interface implemetationPrivate methodISfcCollection.PrepareMergePrepares 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(Of T, K, ParentT).)
Explicit interface implemetationPrivate methodISfcCollection.RemoveRemoves the specified object from the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection(Of T, K, ParentT).)
Explicit interface implemetationPrivate methodISfcCollection.RemoveElementRemoves the specified element from the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection(Of T, K, ParentT).)
Explicit interface implemetationPrivate methodISfcCollection.RenameRenames the specified object. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcCollection(Of T, K, ParentT).)
Top

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

Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollection(Of T, K, ParentT)
    Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollatedDictionaryCollection(Of 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

Community Additions

ADD
Show:
© 2014 Microsoft