Delen via


Microsoft.SqlServer.Management.Collector Namespace

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

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

Enumerations

  Enumeration Description
Public enumeration CollectionSet.CollectionModes The CollectionSet.CollectionModes class enumerates the collection set collection modes.
Public enumeration CollectionSet.ExecutionStatus Enumerates the collection set to get the current execution status.
Public enumeration CollectionSet.RuntimeExecutionMode The CollectionSet.RuntimeExecutionMode enumeration contains values that are used to specify the runtime execution mode