CollectionItem Class
The CollectionItem class creates an instance of a collection item.
Assembly: Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)
Microsoft.SqlServer.Management.Sdk.Sfc::SfcInstance
Microsoft.SqlServer.Management.Collector::CollectionItem
| Name | Description | |
|---|---|---|
![]() | CollectionItem(CollectionSet^, String^) | Creates an instance of a collection item given the collection set name and an item name. |
| Name | Description | |
|---|---|---|
![]() | AbstractIdentityKey | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | CollectionFrequency | Gets or sets the collection frequency for this item if the collection set is running in CollectionMode = "continuous". |
![]() | Id | Gets the collection item Id. |
![]() | IdentityKey | Gets the identity key for the collection item. |
![]() | Metadata | Returns metadata about the instance and its domain.(Inherited from SfcInstance.) |
![]() | Name | Gets or sets the collection item name. |
![]() | Parameters | Gets or sets collection item parameters. |
![]() | Parent | Gets or sets the parent object in the object model hierarchy. |
![]() | Properties | Returns a collection instance properties.(Inherited from SfcInstance.) |
![]() | State | Returns the state of the SfcInstance object.(Inherited from SfcInstance.) |
![]() | TypeName | Gets or sets the name of the collector type that the collection item implements. |
![]() | Urn | Returns the uniform resource name of the SfcInstance object.(Inherited from SfcInstance.) |
| Name | Description | |
|---|---|---|
![]() | Alter() | Alters a collection item by applying the changes to the configuration store. |
![]() | CreateIdentityKey() | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | Discover(ISfcDependencyDiscoveryObjectSink^) | This method is for internal use only.(Overrides SfcInstance::Discover(ISfcDependencyDiscoveryObjectSink^).) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetChildCollection(String^) | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | GetDomain() | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() ![]() | GetObjectFactory() | Instantiates an instance of the constructor used for collection items. |
![]() | GetPropertySet() | Returns the set of properties for the SfcInstance object.(Inherited from SfcInstance.) |
![]() | GetType() | (Inherited from Object.) |
![]() | GetTypeMetadataImpl() | Indicates the domains that override by returning the right TypeMetadata class directly. Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | InitializeUIPropertyState() | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | MarkForDrop(Boolean) | This method marks a collection item for dropping if the collection item has been changed. |
![]() | OnPropertyMetadataChanges(SfcPropertyMetadataChangedEventArgs^) | Invoked whenever the effective value of any SfcInstance metadata is updated. (Inherited from SfcInstance.) |
![]() | OnPropertyValueChanges(PropertyChangedEventArgs^) | Invoked whenever the effective value of any SfcInstance property is updated. (Inherited from SfcInstance.) |
![]() | Refresh() | Refreshes the object's properties by reading them from the server.(Inherited from SfcInstance.) |
![]() | Rename(String^) | Renames a collection item. |
![]() | ResetKey() | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | Serialize(XmlWriter^) | Serializes the instance to XML.(Inherited from SfcInstance.) |
![]() | ToString() | Returns a string representation of the instance Urn.(Inherited from SfcInstance.) |
| Name | Description | |
|---|---|---|
![]() | PropertyChanged | Occurs when a property value changes.(Inherited from SfcInstance.) |
![]() | PropertyMetadataChanged | Occurs when the metadata for a property has changed.(Inherited from SfcInstance.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ISfcAlterable::ScriptAlter() | This method is for internal use only. |
![]() ![]() | ISfcRenamable::Rename(SfcKey^) | This method is for internal use only. |
![]() ![]() | ISfcRenamable::ScriptRename(SfcKey^) | This method is for internal use only. |
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.







