ConfigPropertyCollection-Klasse
The ConfigPropertyCollection class represents a collection of ConfigProperty objects that represent all the configuration properties defined on the instance of SQL Server.
Vererbungshierarchie
System.Object
Microsoft.SqlServer.Management.Smo.ConfigPropertyCollection
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public NotInheritable Class ConfigPropertyCollection _
Implements ICollection, IEnumerable
'Usage
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
Der ConfigPropertyCollection-Typ macht folgende Elemente verfügbar.
Eigenschaften
Name | Beschreibung | |
---|---|---|
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. |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
CopyTo | Copies the collection objects to a one-dimensional array starting at the specified index value. | |
Equals | (Geerbt von Object.) | |
GetEnumerator | Gets an enumerator that can iterate through the list of objects. | |
GetHashCode | (Geerbt von Object.) | |
GetType | (Geerbt von Object.) | |
ToString | (Geerbt von Object.) |
Zum Anfang
Explizite Schnittstellenimplementierungen
Name | Beschreibung | |
---|---|---|
ICollection.CopyTo | Copies the collection objects to a one-dimensional array beginning at the index value specified. |
Zum Anfang
Hinweise
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
Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.
Beispiele
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.