Compartir a través de


Clase ConfigPropertyCollection

The ConfigPropertyCollection class represents a collection of ConfigProperty objects that represent all the configuration properties defined on the instance of SQL Server.

Jerarquía de herencia

System.Object
  Microsoft.SqlServer.Management.Smo.ConfigPropertyCollection

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

Sintaxis

'Declaración
Public NotInheritable Class ConfigPropertyCollection _
    Implements ICollection, IEnumerable
'Uso
Dim instance As ConfigPropertyCollection
public sealed class ConfigPropertyCollection : ICollection, 
    IEnumerable
public ref class ConfigPropertyCollection sealed : ICollection, 
    IEnumerable
[<SealedAttribute>]
type ConfigPropertyCollection =  
    class 
        interface ICollection 
        interface IEnumerable 
    end
public final class ConfigPropertyCollection implements ICollection, IEnumerable

El tipo ConfigPropertyCollection expone los siguientes miembros.

Propiedades

  Nombre Descripción
Propiedad pública Count Gets the number of ConfigProperty objects in the ConfigPropertyCollection collection.
Propiedad pública IsSynchronized Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread safe.
Propiedad pública Item[Int32] Gets a ConfigProperty object in the ConfigPropertyCollection collection by index number.
Propiedad pública Item[String] Gets a ConfigProperty object in the ConfigPropertyCollection collection by name.
Propiedad pública SyncRoot Gets an object that can be used to synchronize access to the collection.

Arriba

Métodos

  Nombre Descripción
Método público CopyTo Copies the collection objects to a one-dimensional array starting at the specified index value.
Método público Equals (Se hereda de Object.)
Método público GetEnumerator Gets an enumerator that can iterate through the list of objects.
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
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 ICollection.CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified.

Arriba

Comentarios

A ConfigPropertyCollection object can be used to gain access to a set of configuration properties. You can use the Item property to return a specific ConfigProperty object.

Thread Safety

Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Ejemplos

Usar colecciones

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.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Management.Smo