Partilhar via


Namespace Microsoft.SqlServer.Management.Collector

The Microsoft.SqlServer.Management.Collector namespace contains classes that are used to implement all aspects of the data collector.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

The Microsoft.SqlServer.Management.Collector namespace contains classes that are used to implement the data collector on an instance of SQL Server. The classes in this namespace are:

The Microsoft.SqlServer.Management.Collector namespace resides in the Microsoft.SqlServer.Management.Collector.dll assembly and has the following dependencies:

  • Microsoft.SqlServer.ConnectionInfo.dll

  • Microsoft.SqlServer.Management.Sdk.Sfc.dll

  • Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorCore

Classes

  Classe Descrição
Classe pública CollectionItem The CollectionItem class creates an instance of a collection item.
Classe pública CollectionItem.Key The CollectionItem.Key class inherits from SfcAbstractKey and is used for identification key operations.
Classe pública CollectionItemCollection The CollectionItemCollection class is a collection class for collection item objects. It is derived from the SFC::SfcCollectionBase class.
Classe pública CollectionSet The CollectionSet class is derived from SFC::SfcInstanceBase and implements SFC::ICreatable, SFC::IDropable, and SFC::IAlterable.
Classe pública CollectionSet.Key The CollectionSet.Key class inherits from SfcAbstractKey and is used for identification key operations
Classe pública CollectionSetCollection CollectionSetCollection is a SFC collection class for collection sets.
Classe pública CollectionSetExtender  Allows adding the new properties to a CollectionSet and it also helps to establish dependencies between extended property and the original one
Classe pública CollectorConfigStore The CollectorConfigStore class implements the configuration store for the data collector.
Classe pública CollectorConfigStore.Key The CollectorConfigStore.Key class inherits from DomainRootKey and is used for identification key operations.
Classe pública CollectorException The CollectorException class is the base class for all data collector exceptions.

Enumerações

  Enumeração Descrição
Enumeração pública CollectionSet.CollectionModes The CollectionSet.CollectionModes class enumerates the collection set collection modes.
Enumeração pública CollectionSet.ExecutionStatus Enumerates the collection set to get the current execution status.
Enumeração pública CollectionSet.RuntimeExecutionMode The RuntimeExecutionMode enumeration contains values that are used to specify the runtime execution mode