Freigeben über


SfcCollatedDictionaryCollection<T, K, ParentT>-Klasse

Represents a collection base class that uses an internal collection that is a SortedDictionary<K, T> object. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollection<T, K, ParentT>
    Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollatedDictionaryCollection<T, K, ParentT>
      Mehr…

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

Syntax

'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)
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
generic<typename T, typename K, typename ParentT>
where T : SfcInstance 
where K : SfcKey 
where ParentT : SfcInstance 
public ref class SfcCollatedDictionaryCollection abstract : public SfcCollection<T, K, ParentT>, 
    IComparer<K>, IEnumerable<T>, IEnumerable
[<AbstractClassAttribute>]
type SfcCollatedDictionaryCollection<'T, 'K, 'ParentT when 'T : SfcInstance when 'K : SfcKey when 'ParentT : SfcInstance> =  
    class 
        inherit SfcCollection<'T, 'K, 'ParentT>
        interface IComparer<'K>
        interface IEnumerable<'T>
        interface IEnumerable 
    end
JScript bietet keine Unterstützung für die Verwendung generischer Typen und Methoden.

Typparameter

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

Der SfcCollatedDictionaryCollection<T, K, ParentT>-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Geschützte Methode SfcCollatedDictionaryCollection<T, K, ParentT>(ParentT) Initializes a new instance of the SfcCollatedDictionaryCollection<T, K, ParentT> class using the specified parent. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Geschützte Methode SfcCollatedDictionaryCollection<T, K, ParentT>(ParentT, IComparer<String>) Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Initializes a new instance of the SfcCollatedDictionaryCollection<T, K, ParentT> class using the specified parent and IComparer<T> object.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Ascending Gets or sets a value indicating whether to sort in ascending order. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Öffentliche Eigenschaft Count Gets the number of elements contained in the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcCollection<T, K, ParentT>.Count.)
Geschützte Eigenschaft CultureInfo Gets or sets the CultureInfo object that is used by the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Geschützte Eigenschaft IgnoreCase Gets or sets a value indicating whether the collection is case-sensitive. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Geschützte Eigenschaft Initialized Gets a value indicating whether the collection has been initialized. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Öffentliche Eigenschaft IsReadOnly Gets a value indicating whether the collection is read-only. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcCollection<T, K, ParentT>.IsReadOnly.)
Öffentliche Eigenschaft IsSynchronized Gets or sets a value indicating whether access to the collection is synchronized (thread safe). Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Öffentliche Eigenschaft Item Gets the item specified by the key. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Geschützte Eigenschaft Parent Gets or sets the type of the parent object. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Öffentliche Eigenschaft SyncRoot Gets or sets an object that can be used to synchronize access to the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Add Adds the specified object to the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Geschützte Methode AddImpl Adds an object or member to this collection. (Überschreibt SfcCollection<T, K, ParentT>.AddImpl(T).)
Geschützte Methode AddShadow Adds the specified object to the shadow collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcCollection<T, K, ParentT>.AddShadow(T).)
Öffentliche Methode Clear Removes all items from the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcCollection<T, K, ParentT>.Clear().)
Öffentliche Methode Contains(K) Determines whether the collection contains the specified key. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcCollection<T, K, ParentT>.Contains(T).)
Öffentliche Methode Contains(T) Determines whether the collection contains the specified object. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcCollection<T, K, ParentT>.Contains(T).)
Öffentliche Methode CopyTo(array<T[], Int32) Copies the elements from the collection to the specified array, starting at the specified array index. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcCollection<T, K, ParentT>.CopyTo(array<T[], Int32).)
Öffentliche Methode CopyTo(Array, Int32) Copies the elements from the collection to the specified array, starting at the specified array index. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Geschützte Methode CreateAndInitializeChildObject Creates a child object and adds it to the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Geschützte Methode EnsureCollectionInitialized Initialize the collection from the server. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Geschützte Methode FinishMerge Swaps the new collection for the old collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcCollection<T, K, ParentT>.FinishMerge().)
Geschützte Methode GetCollectionElementNameImpl Gets the Uniform Resource Name (URN) suffix for elements in the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Geschützte Methode GetElementFactoryImpl Returns the factory that is used to instantiate objects for the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Öffentliche Methode GetEnumerator Returns an enumerator that can iterate through the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcCollection<T, K, ParentT>.GetEnumerator().)
Geschützte Methode GetExistingObjectByKey Uses the specified key to retrieve an existing object from the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcCollection<T, K, ParentT>.GetExistingObjectByKey(K).)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Geschützte Methode 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. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcCollection<T, K, ParentT>.GetObjectByKey(K).)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode InitInnerCollection Creates an empty internal collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcCollection<T, K, ParentT>.InitInnerCollection().)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Geschützte Methode PrepareMerge Prepares to merge fresh query results into the existing collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcCollection<T, K, ParentT>.PrepareMerge().)
Öffentliche Methode Refresh() Refreshes the collection by creating new and merging existing objects and properties in the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Öffentliche Methode Refresh(Boolean) Refreshes the collection by creating new and merging existing objects and properties in the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Öffentliche Methode Remove Removes the specified object from the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcCollection<T, K, ParentT>.Remove(T).)
Geschützte Methode RemoveImpl Removes the specified object from the collection. (Überschreibt SfcCollection<T, K, ParentT>.RemoveImpl(T).)
Geschützte Methode 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. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Geschützte Methode Rename Renames the specified object. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Geschützte Methode ResetInnerCollection 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. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Öffentliche Methode ToString (Geerbt von Object.)
Öffentliche Methode TryGetValue Gets the value associated with the specified key.

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode IComparer<K>.Compare Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Compares two keys.
Explizite SchnittstellenimplementierungPrivate Eigenschaft IListSource.ContainsListCollection Gets a value indicating whether the collection is a collection of IList objects. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Explizite SchnittstellenimplementierungPrivate Methode IEnumerable.GetEnumerator Gets an enumerator that can iterate the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Explizite SchnittstellenimplementierungPrivate Methode IListSource.GetList Returns an IList object that can be bound to a data source from an object that does not implement the IList interface. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.Add Adds the specified object to the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.AddShadow Adds the specified object to the shadow collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Explizite SchnittstellenimplementierungPrivate Eigenschaft ISfcCollection.Count Gets the number of items contained in the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.EnsureInitialized Initializes the collection from the server. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.FinishMerge Swaps the new collection for the old collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.GetCollectionElementNameImpl Gets the URN suffix for elements in the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.GetElementFactory Gets the factory that is used to instantiate objects for the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.GetExisting Uses the specified key to retrieve an existing item from the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Explizite SchnittstellenimplementierungPrivate Methode 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 (Geerbt von SfcCollection<T, K, ParentT>.)
Explizite SchnittstellenimplementierungPrivate Eigenschaft ISfcCollection.Initialized Gets or sets a value indicating whether the collection has been initialized. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Explizite SchnittstellenimplementierungPrivate Eigenschaft ISfcCollection.Parent Gets the parent object. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.PrepareMerge Prepares to merge fresh query results into the existing collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.Remove Removes the specified object from the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.RemoveElement Removes the specified element from the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.Rename Renames the specified object. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection<T, K, ParentT>.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace

Vererbungshierarchie

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