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
- 繼承
- 實作
建構函式
| 名稱 | Description |
|---|---|
| CollectionItem(CollectionSet, String) |
給定集合集和項目名稱,建立一個集合項目的實例 <param name=“set”> 父集合 set</param><param name=“name”> 集合項目</參數的名稱> |
屬性
| 名稱 | Description |
|---|---|
| AbstractIdentityKey | (繼承來源 SfcInstance) |
| CollectionFrequency |
如果該組在 CollectionMode 「連續」中執行,該項目的收集頻率 |
| Id |
收藏項目編號 |
| IdentityKey |
關鍵特性 |
| KeyChain |
回傳物件的身份路徑 (繼承來源 SfcInstance) |
| Metadata | (繼承來源 SfcInstance) |
| Name |
收藏品名稱 |
| Parameters |
一個代表此集合項目特定參數的 XML 片段。 它必須符合該項目實作的收集器類型架構 |
| Parent |
om 階層中的父物件;集合集 |
| Properties | (繼承來源 SfcInstance) |
| PropertyStorageProvider |
此屬性會回傳 ISfcPropertyStorageProvider 介面的預設 SFC 實作,子類別可覆寫以回傳另一個儲存提供者(即平面屬性清單) (繼承來源 SfcInstance) |
| State | (繼承來源 SfcInstance) |
| TypeName |
此收藏項目實作的收集類型名稱 |
| Urn |
在每個請求建立新的 Urn 字串並回傳。 (繼承來源 SfcInstance) |
方法
事件
| 名稱 | Description |
|---|---|
| propertyChanged | (繼承來源 SfcInstance) |
| PropertyChanged | (繼承來源 SfcInstance) |
| propertyMetadataChanged | (繼承來源 SfcInstance) |
| PropertyMetadataChanged | (繼承來源 SfcInstance) |
明確介面實作
| 名稱 | Description |
|---|---|
| ISfcAlterable.ScriptAlter() | |
| ISfcRenamable.Rename(SfcKey) | |
| ISfcRenamable.ScriptRename(SfcKey) | |