CollectionItem 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public sealed class CollectionItem : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance, Microsoft.SqlServer.Management.Common.IAlterable, Microsoft.SqlServer.Management.Common.IMarkForDrop, Microsoft.SqlServer.Management.Common.IRenamable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcAlterable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcRenamable
type CollectionItem = class
inherit SfcInstance
interface ISfcAlterable
interface IAlterable
interface ISfcRenamable
interface IRenamable
interface IMarkForDrop
Public NotInheritable Class CollectionItem
Inherits SfcInstance
Implements IAlterable, IMarkForDrop, IRenamable, ISfcAlterable, ISfcRenamable
- 继承
- 实现
构造函数
| 名称 | 说明 |
|---|---|
| CollectionItem(CollectionSet, String) |
在给定集合集和项名称的情况下创建集合项的实例 <param name=“set”>父集合集</param param><name=“name”>集合项</param 的名称> |
属性
| 名称 | 说明 |
|---|---|
| AbstractIdentityKey | (继承自 SfcInstance) |
| CollectionFrequency |
如果集合在 CollectionMode“continuous”中运行,则此项的收集频率 |
| Id |
集合项 ID |
| IdentityKey |
Key 属性 |
| KeyChain |
返回对象的标识路径 (继承自 SfcInstance) |
| Metadata | (继承自 SfcInstance) |
| Name |
集合项名称 |
| Parameters |
表示此集合项的特定参数的 xml 片段。 它必须符合此项实现的收集器类型的架构 |
| Parent |
om 层次结构中的父对象;CollectionSet |
| Properties | (继承自 SfcInstance) |
| PropertyStorageProvider |
此属性返回 ISfcPropertyStorageProvider 接口的默认实现,可以在子类中重写它以返回另一个存储提供程序(即平面属性列表) (继承自 SfcInstance) |
| State | (继承自 SfcInstance) |
| TypeName |
此收集项实现的收集器类型名称 |
| Urn |
在每个请求上创建新的 Urn 字符串并返回它。 (继承自 SfcInstance) |
方法
活动
| 名称 | 说明 |
|---|---|
| propertyChanged | (继承自 SfcInstance) |
| PropertyChanged | (继承自 SfcInstance) |
| propertyMetadataChanged | (继承自 SfcInstance) |
| PropertyMetadataChanged | (继承自 SfcInstance) |
显式接口实现
| 名称 | 说明 |
|---|---|
| ISfcAlterable.ScriptAlter() | |
| ISfcRenamable.Rename(SfcKey) | |
| ISfcRenamable.ScriptRename(SfcKey) | |