ServerInstanceCollection Members
The ServerInstanceCollection class represents a collection of ServerInstance objects that represent all the instances of Microsoft SQL Server defined on the parent object.
The following tables list the members exposed by the ServerInstanceCollection type.
Protected Fields
Nome | Description | |
---|---|---|
initialized | (inherited from WmiCollectionBase ) | |
innerColl | (inherited from WmiCollectionBase ) |
Torna all'inizio
Public Properties
Nome | Description | |
---|---|---|
Count | Gets the number of ServerInstance objects in the referenced collection. | |
IsSynchronized | Gets the Boolean property value that specifies whether access to the collection is synchronized (thread safe). (inherited from WmiCollectionBase) | |
Item | Overloaded. Gets a ServerInstance object in the collection by name or by index number. | |
Parent | Gets the ManagedComputer object that is the parent of the ServerInstanceCollection object. | |
SyncRoot | Gets an object that can be used to synchronize access to the collection. (inherited from WmiCollectionBase) |
Torna all'inizio
Public Methods
(see also Protected Methods )
Nome | Description | |
---|---|---|
Contains | Checks whether the specified key value exists in the collection. | |
CopyTo | Copies the collection objects to a one-dimensional array beginning at the index value specified. | |
Equals | Overloaded. (inherited from Object ) | |
GetEnumerator | Returns an IEnumerator interface that allows you to iterate through the objects in the collection. | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
ReferenceEquals | (inherited from Object ) | |
ToString | (inherited from Object ) |
Torna all'inizio
Protected Methods
Nome | Description | |
---|---|---|
Add | (inherited from WmiCollectionBase ) | |
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) | |
Remove | (inherited from WmiCollectionBase ) |
Torna all'inizio
Explicit Interface Implementations
Nome | Description | |
---|---|---|
System.Collections.ICollection.CopyTo |
Torna all'inizio
Vedere anche
Riferimento
ServerInstanceCollection Class
Microsoft.SqlServer.Management.Smo.Wmi Namespace