Classe ConfigPropertyCollection
The ConfigPropertyCollection class represents a collection of ConfigProperty objects that represent all the configuration properties defined on the instance of SQL Server.
Hiérarchie d'héritage
System.Object
Microsoft.SqlServer.Management.Smo.ConfigPropertyCollection
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public NotInheritable Class ConfigPropertyCollection _
Implements ICollection, IEnumerable
'Utilisation
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
Le type ConfigPropertyCollection expose les membres suivants.
Propriétés
Nom | Description | |
---|---|---|
Count | Gets the number of ConfigProperty objects in the ConfigPropertyCollection collection. | |
IsSynchronized | Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread safe. | |
Item[Int32] | Gets a ConfigProperty object in the ConfigPropertyCollection collection by index number. | |
Item[String] | Gets a ConfigProperty object in the ConfigPropertyCollection collection by name. | |
SyncRoot | Gets an object that can be used to synchronize access to the collection. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
CopyTo | Copies the collection objects to a one-dimensional array starting at the specified index value. | |
Equals | (hérité de Object.) | |
GetEnumerator | Gets an enumerator that can iterate through the list of objects. | |
GetHashCode | (hérité de Object.) | |
GetType | (hérité de Object.) | |
ToString | (hérité de Object.) |
Haut de la page
Implémentations d'interfaces explicites
Nom | Description | |
---|---|---|
ICollection.CopyTo | Copies the collection objects to a one-dimensional array beginning at the index value specified. |
Haut de la page
Notes
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
Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Exemples
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.