CollectionSet 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public sealed class CollectionSet : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance, Microsoft.SqlServer.Management.Common.IAlterable, Microsoft.SqlServer.Management.Common.ICreatable, Microsoft.SqlServer.Management.Common.IDroppable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcAlterable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcCreatable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDroppable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcRenamable
type CollectionSet = class
inherit SfcInstance
interface ISfcCreatable
interface ICreatable
interface ISfcDroppable
interface IDroppable
interface ISfcAlterable
interface IAlterable
interface ISfcRenamable
interface ISfcDiscoverObject
Public NotInheritable Class CollectionSet
Inherits SfcInstance
Implements IAlterable, ICreatable, IDroppable, ISfcAlterable, ISfcCreatable, ISfcDroppable, ISfcRenamable
- 继承
- 实现
构造函数
| 名称 | 说明 |
|---|---|
| CollectionSet() |
用于反序列化和工厂的默认构造函数 CollectionSet 必须具有公共无参数构造函数,才能在泛型类型或方法“Microsoft”中将其用作参数“TDcInstance”。SqlServer.Management.DataCollectionUITasks.DcTaskFormComponent TDcInstance |
| CollectionSet(CollectorConfigStore, String) |
将 CollectionSet 的实例初始化为给定 CollectorConfigStore 对象的父对象和名称 <param name=“store”>父配置存储</param param><name=“name”>集合集</param 的名称> |
属性
| 名称 | 说明 |
|---|---|
| AbstractIdentityKey | (继承自 SfcInstance) |
| CollectionItems |
属于此集合集的集合项 |
| CollectionMode |
集合集的收集模式。 CollectionSet.CollectionModes |
| DaysUntilExpiration |
定义应将收集的数据保存在存储库中的时长 |
| Description |
集合集的自由文本说明 |
| Id |
配置存储中集合集的 ID |
| IdentityKey |
Key 属性 |
| IsRunning |
如此 如果集合集当前正在执行 |
| IsSystem |
如此 如果集是系统集合集 |
| IsTransactionPerformance |
如此 如果集是定义的事务性能收集集之一 |
| KeyChain |
返回对象的标识路径 (继承自 SfcInstance) |
| LoggingLevel |
收集集的日志记录级别。 |
| Metadata | (继承自 SfcInstance) |
| Name |
集合集名称 |
| Parent |
对象模型层次结构中的父对象;CollectorConfigStore |
| Properties | (继承自 SfcInstance) |
| PropertyStorageProvider |
此属性返回 ISfcPropertyStorageProvider 接口的默认实现,可以在子类中重写它以返回另一个存储提供程序(即平面属性列表) (继承自 SfcInstance) |
| ProxyName |
收集集用来连接到目标和管理Data Warehouse的 SQL 代理帐户的名称 |
| ScheduleName |
集合集的 SQL 代理计划的名称。 用于在“缓存”排序规则模式下驱动收集集上传,并在“快照”收集模式下驱动 snampshot 集合 |
| State |
集合集的对象状态 |
| TargetName |
收集组从中收集数据的目标的名称 |
| UId |
标识集合集的 GUID |
| Urn |
在每个请求上创建新的 Urn 字符串并返回它。 (继承自 SfcInstance) |
方法
活动
| 名称 | 说明 |
|---|---|
| propertyChanged | (继承自 SfcInstance) |
| PropertyChanged | (继承自 SfcInstance) |
| propertyMetadataChanged | (继承自 SfcInstance) |
| PropertyMetadataChanged | (继承自 SfcInstance) |
显式接口实现
| 名称 | 说明 |
|---|---|
| ISfcCreatable.ScriptCreate() | |
| ISfcDiscoverObject.Discover(ISfcDependencyDiscoveryObjectSink) | |
| ISfcDroppable.ScriptDrop() | |
| ISfcRenamable.Rename(SfcKey) | |
| ISfcRenamable.ScriptRename(SfcKey) | |