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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)