Classe ConfigPropertyCollection
The ConfigPropertyCollection class represents a collection of ConfigProperty objects that represent all the configuration properties defined on the instance of SQL Server.
Gerarchia di ereditarietà
System. . :: . .Object
Microsoft.SqlServer.Management.Smo..::..ConfigPropertyCollection
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public NotInheritable Class ConfigPropertyCollection _
Implements ICollection, IEnumerable
'Utilizzo
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
Nel tipo ConfigPropertyCollection sono esposti i membri seguenti.
Proprietà
Nome | Descrizione | |
---|---|---|
![]() |
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. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
![]() |
CopyTo | Copies the collection objects to a one-dimensional array starting at the specified index value. |
![]() |
Equals | Ereditato da Object. |
![]() |
Finalize | Ereditato da Object. |
![]() |
GetEnumerator | Gets an enumerator that can iterate through the list of objects. |
![]() |
GetHashCode | Ereditato da Object. |
![]() |
GetType | Ereditato da Object. |
![]() |
MemberwiseClone | Ereditato da Object. |
![]() |
ToString | Ereditato da Object. |
In alto
Implementazioni esplicite dell'interfaccia
Nome | Descrizione | |
---|---|---|
![]() ![]() |
ICollection. . :: . .CopyTo | Copies the collection objects to a one-dimensional array beginning at the index value specified. |
In alto
Osservazioni
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
Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.