Поделиться через


ServiceCollection Members

The ServiceCollection class represents a collection of Service objects that represent all SQL Server services defined on the parent object.

The following tables list the members exposed by the ServiceCollection type.

Protected Fields

  Имя Description
ms220794.protfield(ru-ru,SQL.90).gif initialized  (inherited from WmiCollectionBase )
ms220794.protfield(ru-ru,SQL.90).gif innerColl  (inherited from WmiCollectionBase )

В начало

Public Properties

  Имя Description
ms220794.pubproperty(ru-ru,SQL.90).gif Count Gets the number of Service objects in the referenced collection.
ms220794.pubproperty(ru-ru,SQL.90).gif IsSynchronized  Gets the Boolean property value that specifies whether access to the collection is synchronized (thread safe). (inherited from WmiCollectionBase)
ms220794.pubproperty(ru-ru,SQL.90).gif Item Overloaded. Gets a Service object in the collection by name or by index number.
ms220794.pubproperty(ru-ru,SQL.90).gif Parent Gets the ManagedComputer object that is the parent of the ServiceCollection object.
ms220794.pubproperty(ru-ru,SQL.90).gif SyncRoot  Gets an object that can be used to synchronize access to the collection. (inherited from WmiCollectionBase)

В начало

Public Methods

(see also Protected Methods )

  Имя Description
ms220794.pubmethod(ru-ru,SQL.90).gif Contains Checks whether the specified key value exists in the collection.
ms220794.pubmethod(ru-ru,SQL.90).gif CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified.
ms220794.pubmethod(ru-ru,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220794.pubmethod(ru-ru,SQL.90).gif GetEnumerator Returns an IEnumerator interface that allows you to iterate through the objects in the collection.
ms220794.pubmethod(ru-ru,SQL.90).gif GetHashCode  (inherited from Object )
ms220794.pubmethod(ru-ru,SQL.90).gif GetType  (inherited from Object )
ms220794.pubmethod(ru-ru,SQL.90).gifms220794.static(ru-ru,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220794.pubmethod(ru-ru,SQL.90).gif ToString  (inherited from Object )

В начало

Protected Methods

  Имя Description
ms220794.protmethod(ru-ru,SQL.90).gif Add  (inherited from WmiCollectionBase )
ms220794.protmethod(ru-ru,SQL.90).gif Finalize  (inherited from Object )
ms220794.protmethod(ru-ru,SQL.90).gif MemberwiseClone  (inherited from Object )
ms220794.protmethod(ru-ru,SQL.90).gif Remove  (inherited from WmiCollectionBase )

В начало

Explicit Interface Implementations

  Имя Description
System.Collections.ICollection.CopyTo  

В начало

См. также

Справочник

ServiceCollection Class
Microsoft.SqlServer.Management.Smo.Wmi Namespace

Другие ресурсы

Using Collections