Clase SfcCollatedDictionaryCollection(T, K, ParentT)

Represents a collection base class that uses an internal collection that is a SortedDictionary<K, T> object. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.

Jerarquía de herencia

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >
    Microsoft.SqlServer.Management.Sdk.Sfc..::..SfcCollatedDictionaryCollection<(Of <(<'T, K, ParentT>)>)>
      Más...

Espacio de nombres:  Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado:  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxis

'Declaración
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
'Uso
Dim instance As SfcCollatedDictionaryCollection(Of T, K, ParentT)
public abstract class SfcCollatedDictionaryCollection<T, K, ParentT> : SfcCollection<T, K, ParentT>, 
    IComparer<K>, 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
[<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
    end
JScript no admite tipos y métodos genéricos.

Parámetros de tipo

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

El tipo SfcCollatedDictionaryCollection<(Of <(<'T, K, ParentT>)>)> expone los siguientes miembros.

Constructores

  Nombre Descripción
Método protegido SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >(ParentT) Initializes a new instance of the SfcCollatedDictionaryCollection<(Of <(<'T, K, ParentT>)>)> class using the specified parent. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Método protegido SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >(ParentT, IComparer< (Of < <' (String> ) > > )) No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Initializes a new instance of the SfcCollatedDictionaryCollection<(Of <(<'T, K, ParentT>)>)> class using the specified parent and IComparer<(Of <(<'T>)>)> object.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Ascending Gets or sets a value indicating whether to sort in ascending order. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Propiedad pública Count Gets the number of elements contained in the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Invalida SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .Count.)
Propiedad protegida CultureInfo Gets or sets the CultureInfo object that is used by the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Propiedad protegida IgnoreCase Gets or sets a value indicating whether the collection is case-sensitive. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Propiedad protegida Initialized Gets a value indicating whether the collection has been initialized. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Propiedad pública IsReadOnly Gets a value indicating whether the collection is read-only. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Invalida SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .IsReadOnly.)
Propiedad pública IsSynchronized Gets or sets a value indicating whether access to the collection is synchronized (thread safe). No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Propiedad pública Item Gets the item specified by the key. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Propiedad protegida Parent Gets or sets the type of the parent object. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Propiedad pública SyncRoot Gets or sets an object that can be used to synchronize access to the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)

Arriba

Métodos

  Nombre Descripción
Método público Add Adds an item to the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Invalida SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .Add(T).)
Método protegido AddShadow Adds the specified object to the shadow collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Invalida SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .AddShadow(T).)
Método público Clear Removes all items from the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Invalida SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .Clear() () () ().)
Método público Contains(K) Determines whether the collection contains the specified key. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Invalida SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .Contains(T).)
Método público Contains(T) Determines whether the collection contains the specified object. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Invalida SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .Contains(T).)
Método público CopyTo(array<T> [] () [] [], Int32) Copies the elements from the collection to the specified array, starting at the specified array index. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Invalida SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .CopyTo(array<T> [] () [] [], Int32).)
Método público CopyTo(Array, Int32) Copies the elements from the collection to the specified array, starting at the specified array index. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Método protegido CreateAndInitializeChildObject Creates a child object and adds it to the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Método protegido EnsureCollectionInitialized Initialize the collection from the server. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método protegido FinishMerge Swaps the new collection for the old collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Invalida SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .FinishMerge() () () ().)
Método protegido GetCollectionElementNameImpl Gets the Uniform Resource Name (URN) suffix for elements in the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Método protegido GetElementFactoryImpl Returns the factory that is used to instantiate objects for the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Método público GetEnumerator Returns an enumerator that can iterate through the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Invalida SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .GetEnumerator() () () ().)
Método protegido GetExistingObjectByKey Uses the specified key to retrieve an existing object from the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Invalida SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .GetExistingObjectByKey(K).)
Método público GetHashCode (Se hereda de Object.)
Método protegido 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. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Invalida SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .GetObjectByKey(K).)
Método público GetType (Se hereda de Object.)
Método protegido ImplAddExisting Adds an item to the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Invalida SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .ImplAddExisting(T).)
Método protegido ImplRemoveExisting Removes the specified object from the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Invalida SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .ImplRemoveExisting(T).)
Método protegido InitInnerCollection Creates an empty internal collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Invalida SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .InitInnerCollection() () () ().)
Método protegido MemberwiseClone (Se hereda de Object.)
Método protegido PrepareMerge Prepares to merge fresh query results into the existing collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Invalida SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .PrepareMerge() () () ().)
Método público Refresh() () () () Refreshes the collection by creating new and merging existing objects and properties in the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Método público Refresh(Boolean) Refreshes the collection by creating new and merging existing objects and properties in the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Método público Remove Removes the specified object from the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Invalida SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >. . :: . .Remove(T).)
Método protegido 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. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Método protegido Rename Renames the specified object. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Método protegido 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. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Método público ToString (Se hereda de Object.)

Arriba

Implementaciones de interfaces explícitas

  Nombre Descripción
Implementación de interfaces explícitasMétodo privado IComparer< (Of < <' (K> ) > > ). . :: . .Compare No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Compares two keys.
Implementación de interfaces explícitasPropiedad privada IListSource. . :: . .ContainsListCollection Gets a value indicating whether the collection is a collection of IList objects. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implementación de interfaces explícitasMétodo privado IEnumerable. . :: . .GetEnumerator Gets an enumerator that can iterate the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implementación de interfaces explícitasMétodo privado IListSource. . :: . .GetList Returns an IList object that can be bound to a data source from an object that does not implement the IList interface. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implementación de interfaces explícitasMétodo privado ISfcCollection. . :: . .Add Adds the specified object to the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implementación de interfaces explícitasMétodo privado ISfcCollection. . :: . .AddShadow Adds the specified object to the shadow collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implementación de interfaces explícitasPropiedad privada ISfcCollection. . :: . .Count Gets the number of items contained in the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implementación de interfaces explícitasMétodo privado ISfcCollection. . :: . .EnsureInitialized Initializes the collection from the server. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implementación de interfaces explícitasMétodo privado ISfcCollection. . :: . .FinishMerge Swaps the new collection for the old collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implementación de interfaces explícitasMétodo privado ISfcCollection. . :: . .GetCollectionElementNameImpl Gets the URN suffix for elements in the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implementación de interfaces explícitasMétodo privado ISfcCollection. . :: . .GetElementFactory Gets the factory that is used to instantiate objects for the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implementación de interfaces explícitasMétodo privado ISfcCollection. . :: . .GetExisting Uses the specified key to retrieve an existing item from the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implementación de interfaces explícitasMétodo privado 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. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implementación de interfaces explícitasPropiedad privada ISfcCollection. . :: . .Initialized Gets or sets a value indicating whether the collection has been initialized. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implementación de interfaces explícitasPropiedad privada ISfcCollection. . :: . .Parent Gets the parent object. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implementación de interfaces explícitasMétodo privado ISfcCollection. . :: . .PrepareMerge Prepares to merge fresh query results into the existing collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implementación de interfaces explícitasMétodo privado ISfcCollection. . :: . .Remove Removes the specified object from the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implementación de interfaces explícitasMétodo privado ISfcCollection. . :: . .RemoveElement Removes the specified element from the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)
Implementación de interfaces explícitasMétodo privado ISfcCollection. . :: . .Rename Renames the specified object. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.)

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Jerarquía de herencia

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