CollectionSet 类

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

继承层次结构

System. . :: . .Object
  SfcInstance
    Microsoft.SqlServer.Management.Collector..::..CollectionSet

命名空间:  Microsoft.SqlServer.Management.Collector
程序集:  Microsoft.SqlServer.Management.Collector(在 Microsoft.SqlServer.Management.Collector.dll 中)

语法

声明
Public NotInheritable Class CollectionSet _
    Inherits SfcInstance _
    Implements ISfcCreatable, ICreatable, ISfcDroppable, IDroppable,  _
    ISfcAlterable, IAlterable, ISfcRenamable, ISfcDiscoverObject
用法
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

CollectionSet 类型公开以下成员。

构造函数

  名称 说明
公共方法 CollectionSet() () () () Instantiates a collection set object.
公共方法 CollectionSet(CollectorConfigStore, String) Initialize an instance of a CollectionSet given a CollectorConfigStore object as a parent and a collection set name.

页首

属性

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

页首

方法

  名称 说明
公共方法 Alter Alter collection set information in the configuration store.
受保护方法 AlterImpl (从 SfcInstance 继承。)
受保护方法 CheckObjectCreated (从 SfcInstance 继承。)
受保护方法 CheckObjectState (从 SfcInstance 继承。)
公共方法 Create Creates a collection set.
受保护方法 CreateIdentityKey (从 SfcInstance 继承。)
受保护方法 CreateImpl (从 SfcInstance 继承。)
公共方法 Discover (从 SfcInstance 继承。)
公共方法 Drop Drops a collection set.
受保护方法 DropImpl (从 SfcInstance 继承。)
公共方法 EnumCollectionSetExecutionHistory() () () () An enumerator that gets the history records for specific collection set.
公共方法 EnumCollectionSetExecutionHistory(Int64)
公共方法 EnumCollectionSetExecutionHistoryDetail
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
受保护方法 GetChildCollection (从 SfcInstance 继承。)
公共方法 GetDomain (从 SfcInstance 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetLastUploadTime Gets the last time that collection set data was uploaded.
公共方法静态成员 GetObjectFactory Gets the object factory constructor for the [CollectorConfigStore] object.
公共方法 GetPropertySet (从 SfcInstance 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 GetTypeMetadataImpl (从 SfcInstance 继承。)
受保护方法 InitializeUIPropertyState (从 SfcInstance 继承。)
受保护方法 MarkForDropImpl (从 SfcInstance 继承。)
受保护方法 MarkRootAsConnected (从 SfcInstance 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
受保护方法 MoveImpl (从 SfcInstance 继承。)
受保护方法 OnPropertyMetadataChanges (从 SfcInstance 继承。)
受保护方法 OnPropertyValueChanges (从 SfcInstance 继承。)
受保护方法 PostAlter (从 SfcInstance 继承。)
受保护方法 PostCreate (从 SfcInstance 继承。)
受保护方法 PostDrop (从 SfcInstance 继承。)
受保护方法 PostMove (从 SfcInstance 继承。)
受保护方法 PostRename (从 SfcInstance 继承。)
公共方法 Refresh (从 SfcInstance 继承。)
公共方法 Rename Renames a collection set.
受保护方法 RenameImpl (从 SfcInstance 继承。)
受保护方法 ResetKey (从 SfcInstance 继承。)
公共方法 RunOnce
公共方法 ScriptAlter
公共方法 Serialize (从 SfcInstance 继承。)
公共方法 Start Starts a colllection set.
公共方法 Stop Stops a collection set.
公共方法 ToString (从 SfcInstance 继承。)
受保护方法 UpdateUIPropertyState (从 SfcInstance 继承。)
公共方法 Upload Uploads a collection set on demand.
受保护方法 Validate (从 SfcInstance 继承。)

页首

事件

  名称 说明
受保护事件 propertyChanged (从 SfcInstance 继承。)
公共事件 PropertyChanged (从 SfcInstance 继承。)
受保护事件 propertyMetadataChanged (从 SfcInstance 继承。)
公共事件 PropertyMetadataChanged (从 SfcInstance 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 ISfcDiscoverObjectDiscover This method is for internal use only.
显式接口实现私有方法 ISfcRenamableRename This method is for internal use only.
显式接口实现私有方法 ISfcCreatableScriptCreate This method is for internal use only.
显式接口实现私有方法 ISfcDroppableScriptDrop This method is for internal use only.
显式接口实现私有方法 ISfcRenamableScriptRename This method is for internal use only.

页首

注释

This class is used for collection sets.

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

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。