CollectionItem 類別

定義

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
實作

建構函式

名稱 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
Alter()

透過將變更套用到組態儲存庫來修改集合項目

AlterImpl() (繼承來源 SfcInstance)
CheckObjectCreated()

當 API 要求物件建立強度高於 CheckObjectState 時,從網域呼叫

(繼承來源 SfcInstance)
CheckObjectState()

從網域呼叫以存取物件

(繼承來源 SfcInstance)
CreateIdentityKey() (繼承來源 SfcInstance)
CreateImpl() (繼承來源 SfcInstance)
Discover(ISfcDependencyDiscoveryObjectSink)

暫時沒用。 這方面的證據開示應該由家長負責。

DropImpl() (繼承來源 SfcInstance)
GetChildCollection(String)

在此實例中取得給定元素名稱串的子集合。

(繼承來源 SfcInstance)
GetDomain() (繼承來源 SfcInstance)
GetObjectFactory()
GetPropertySet() (繼承來源 SfcInstance)
GetTypeMetadataImpl() (繼承來源 SfcInstance)
InitializeUIPropertyState()

可從關心初始化狀態的子物件(目前為「」的動態元資料)中覆寫。啟用」屬性)

(繼承來源 SfcInstance)
MarkForDrop(Boolean)
MarkForDropImpl(Boolean) (繼承來源 SfcInstance)
MarkRootAsConnected() (繼承來源 SfcInstance)
MoveImpl(SfcInstance) (繼承來源 SfcInstance)
OnPropertyMetadataChanges(SfcPropertyMetadataChangedEventArgs) (繼承來源 SfcInstance)
OnPropertyValueChanges(PropertyChangedEventArgs) (繼承來源 SfcInstance)
PostAlter(Object) (繼承來源 SfcInstance)
PostCreate(Object) (繼承來源 SfcInstance)
PostDrop(Object) (繼承來源 SfcInstance)
PostMove(Object) (繼承來源 SfcInstance)
PostRename(Object) (繼承來源 SfcInstance)
Refresh()

透過從伺服器讀取物件屬性來刷新物件屬性

(繼承來源 SfcInstance)
Rename(String)
RenameImpl(SfcKey) (繼承來源 SfcInstance)
ResetKey() (繼承來源 SfcInstance)
Serialize(XmlWriter) (繼承來源 SfcInstance)
ToString() (繼承來源 SfcInstance)
UpdateUIPropertyState() (繼承來源 SfcInstance)
Validate()

基本子物件驗證

(繼承來源 SfcInstance)

事件

名稱 Description
propertyChanged (繼承來源 SfcInstance)
PropertyChanged (繼承來源 SfcInstance)
propertyMetadataChanged (繼承來源 SfcInstance)
PropertyMetadataChanged (繼承來源 SfcInstance)

明確介面實作

名稱 Description
ISfcAlterable.ScriptAlter()
ISfcRenamable.Rename(SfcKey)
ISfcRenamable.ScriptRename(SfcKey)

適用於