CollectionSet Class

The CollectionSet class is derived from SFC::SfcInstanceBase and implements SFC::ICreatable, SFC::IDropable, and SFC::IAlterable.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
    Microsoft.SqlServer.Management.Collector.CollectionSet

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Syntax

'Declaration
Public NotInheritable Class CollectionSet _
    Inherits SfcInstance _
    Implements ISfcCreatable, ICreatable, ISfcDroppable, IDroppable,  _
    ISfcAlterable, IAlterable, ISfcRenamable, ISfcDiscoverObject
'Usage
Dim instance As CollectionSet
public sealed class CollectionSet : SfcInstance, 
    ISfcCreatable, ICreatable, ISfcDroppable, IDroppable, ISfcAlterable, 
    IAlterable, ISfcRenamable, ISfcDiscoverObject
public ref class CollectionSet sealed : public SfcInstance, 
    ISfcCreatable, ICreatable, ISfcDroppable, IDroppable, ISfcAlterable, 
    IAlterable, ISfcRenamable, ISfcDiscoverObject
[<SealedAttribute>]
type CollectionSet =  
    class
        inherit SfcInstance
        interface ISfcCreatable
        interface ICreatable
        interface ISfcDroppable
        interface IDroppable
        interface ISfcAlterable
        interface IAlterable
        interface ISfcRenamable
        interface ISfcDiscoverObject
    end
public final class CollectionSet extends SfcInstance implements ISfcCreatable, ICreatable, ISfcDroppable, IDroppable, ISfcAlterable, IAlterable, ISfcRenamable, ISfcDiscoverObject

The CollectionSet type exposes the following members.

Constructors

  Name Description
Public method CollectionSet() Instantiates a collection set object.
Public method CollectionSet(CollectorConfigStore, String) Initialize an instance of a CollectionSet given a CollectorConfigStore object as a parent and a collection set name.

Top

Properties

  Name Description
Protected property AbstractIdentityKey (Inherited from SfcInstance.)
Public property CollectionItems Gets the collection items in a collection set.
Public property CollectionMode Gets or sets the collection mode for the collection set.
Public property DaysUntilExpiration Gets or sets the number of days that the collected data is saved in the management data warehouse.
Public property Description Gets or sets the description of the collection set.
Public property Id Gets the local ID for the collection set.
Public property IdentityKey Gets the identity key for the collection set.
Public property IsRunning Gets the Boolean property value that indicates whether or not the collection set is running.
Public property IsSystem Gets the Boolean property value that indicates whether or the collection set is a system collection set.
Public property LoggingLevel Gets or sets the logging level for the collection set.
Public property Metadata (Inherited from SfcInstance.)
Public property Name Gets or sets the name of the collection set.
Public property Parent Gets or sets the parent store that this collection set belongs to.
Public property Properties (Inherited from SfcInstance.)
Protected property PropertyStorageProvider (Inherited from SfcInstance.)
Public property ProxyName Gets or sets the name of the SQL Server Agent proxy account under which the collection set executes.
Public property ScheduleName Gets or sets the name of the SQL Server Agent schedule that is associated to the collection set.
Public property State Gets the state of the collection set.
Public property TargetName Gets or sets the name of the target that the collection set will collect data from.
Public property UId Gets or sets the globally unique ID for the collection set.
Public property Urn (Inherited from SfcInstance.)

Top

Methods

  Name Description
Public method Alter Alter collection set information in the configuration store.
Protected method AlterImpl (Inherited from SfcInstance.)
Protected method CheckObjectCreated (Inherited from SfcInstance.)
Protected method CheckObjectState (Inherited from SfcInstance.)
Public method Create Creates a collection set.
Protected method CreateIdentityKey (Inherited from SfcInstance.)
Protected method CreateImpl (Inherited from SfcInstance.)
Public method Discover (Inherited from SfcInstance.)
Public method Drop Drops a collection set.
Protected method DropImpl (Inherited from SfcInstance.)
Public method EnumCollectionSetExecutionHistory() An enumerator that gets the history records for specific collection set.
Public method EnumCollectionSetExecutionHistory(Int64) This method is for internal use only.
Public method EnumCollectionSetExecutionHistoryDetail This method is for internal use only.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method GetChildCollection (Inherited from SfcInstance.)
Public method GetDomain (Inherited from SfcInstance.)
Public method GetHashCode (Inherited from Object.)
Public method GetLastUploadTime Gets the last time that collection set data was uploaded.
Public methodStatic member GetObjectFactory Gets the object factory constructor for the [CollectorConfigStore] object.
Public method GetPropertySet (Inherited from SfcInstance.)
Public method GetType (Inherited from Object.)
Protected method GetTypeMetadataImpl (Inherited from SfcInstance.)
Protected method InitializeUIPropertyState (Inherited from SfcInstance.)
Protected method MarkForDropImpl (Inherited from SfcInstance.)
Protected method MarkRootAsConnected (Inherited from SfcInstance.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method MoveImpl (Inherited from SfcInstance.)
Protected method OnPropertyMetadataChanges (Inherited from SfcInstance.)
Protected method OnPropertyValueChanges (Inherited from SfcInstance.)
Protected method PostAlter (Inherited from SfcInstance.)
Protected method PostCreate (Inherited from SfcInstance.)
Protected method PostDrop (Inherited from SfcInstance.)
Protected method PostMove (Inherited from SfcInstance.)
Protected method PostRename (Inherited from SfcInstance.)
Public method Refresh (Inherited from SfcInstance.)
Public method Rename Renames a collection set.
Protected method RenameImpl (Inherited from SfcInstance.)
Protected method ResetKey (Inherited from SfcInstance.)
Public method RunOnce Specifies the collection set is to be run once.
Public method ScriptAlter This method is for internal use only.
Public method Serialize (Inherited from SfcInstance.)
Public method Start Starts a collection set.
Public method Stop Stops a collection set.
Public method ToString (Inherited from SfcInstance.)
Protected method UpdateUIPropertyState (Inherited from SfcInstance.)
Public method Upload Uploads a collection set on demand.
Protected method Validate (Inherited from SfcInstance.)

Top

Events

  Name Description
Protected event propertyChanged (Inherited from SfcInstance.)
Public event PropertyChanged (Inherited from SfcInstance.)
Protected event propertyMetadataChanged (Inherited from SfcInstance.)
Public event PropertyMetadataChanged (Inherited from SfcInstance.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ISfcDiscoverObject.Discover Allows the object to indicate relationships for dependency discovery requests via the passed sink. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Explicit interface implemetationPrivate method ISfcRenamable.Rename Renames this object to the specified key and updates the storage. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Explicit interface implemetationPrivate method ISfcCreatable.ScriptCreate Produces the script to create this object to storage in its current state. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Explicit interface implemetationPrivate method ISfcDroppable.ScriptDrop Produces the script to drop this object from storage. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Explicit interface implemetationPrivate method ISfcRenamable.ScriptRename Produces the script to rename this object to the specified key. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Top

Remarks

This class is used for collection sets.

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.