CollectionItem Class
The CollectionItem class creates an instance of a collection item.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
Microsoft.SqlServer.Management.Collector.CollectionItem
Namespace: Microsoft.SqlServer.Management.Collector
Assembly: Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)
Syntax
'Declaration
Public NotInheritable Class CollectionItem _
Inherits SfcInstance _
Implements ISfcAlterable, IAlterable, ISfcRenamable, IRenamable, _
IMarkForDrop
'Usage
Dim instance As CollectionItem
public sealed class CollectionItem : SfcInstance,
ISfcAlterable, IAlterable, ISfcRenamable, IRenamable, IMarkForDrop
public ref class CollectionItem sealed : public SfcInstance,
ISfcAlterable, IAlterable, ISfcRenamable, IRenamable, IMarkForDrop
[<SealedAttribute>]
type CollectionItem =
class
inherit SfcInstance
interface ISfcAlterable
interface IAlterable
interface ISfcRenamable
interface IRenamable
interface IMarkForDrop
end
public final class CollectionItem extends SfcInstance implements ISfcAlterable, IAlterable, ISfcRenamable, IRenamable, IMarkForDrop
The CollectionItem type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CollectionItem | Creates an instance of a collection item given the collection set name and an item name. |
Top
Properties
Name | Description | |
---|---|---|
AbstractIdentityKey | (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 | (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 | (Inherited from SfcInstance.) | |
PropertyStorageProvider | (Inherited from SfcInstance.) | |
State | (Inherited from SfcInstance.) | |
TypeName | Gets or sets the name of the collector type that the collection item implements. | |
Urn | (Inherited from SfcInstance.) |
Top
Methods
Name | Description | |
---|---|---|
Alter | Alters a collection item by applying the changes to the configuration store. | |
AlterImpl | (Inherited from SfcInstance.) | |
CheckObjectCreated | (Inherited from SfcInstance.) | |
CheckObjectState | (Inherited from SfcInstance.) | |
CreateIdentityKey | (Inherited from SfcInstance.) | |
CreateImpl | (Inherited from SfcInstance.) | |
Discover | This method is for internal use only. (Overrides SfcInstance.Discover(ISfcDependencyDiscoveryObjectSink).) | |
DropImpl | (Inherited from SfcInstance.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetChildCollection | (Inherited from SfcInstance.) | |
GetDomain | (Inherited from SfcInstance.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectFactory | Instantiates an instance of the constructor used for collection items. | |
GetPropertySet | (Inherited from SfcInstance.) | |
GetType | (Inherited from Object.) | |
GetTypeMetadataImpl | (Inherited from SfcInstance.) | |
InitializeUIPropertyState | (Inherited from SfcInstance.) | |
MarkForDrop | This method marks a collection item for dropping if the collection item has been changed. | |
MarkForDropImpl | (Inherited from SfcInstance.) | |
MarkRootAsConnected | (Inherited from SfcInstance.) | |
MemberwiseClone | (Inherited from Object.) | |
MoveImpl | (Inherited from SfcInstance.) | |
OnPropertyMetadataChanges | (Inherited from SfcInstance.) | |
OnPropertyValueChanges | (Inherited from SfcInstance.) | |
PostAlter | (Inherited from SfcInstance.) | |
PostCreate | (Inherited from SfcInstance.) | |
PostDrop | (Inherited from SfcInstance.) | |
PostMove | (Inherited from SfcInstance.) | |
PostRename | (Inherited from SfcInstance.) | |
Refresh | (Inherited from SfcInstance.) | |
Rename | Renames a collection item. | |
RenameImpl | (Inherited from SfcInstance.) | |
ResetKey | (Inherited from SfcInstance.) | |
Serialize | (Inherited from SfcInstance.) | |
ToString | (Inherited from SfcInstance.) | |
UpdateUIPropertyState | (Inherited from SfcInstance.) | |
Validate | (Inherited from SfcInstance.) |
Top
Events
Name | Description | |
---|---|---|
propertyChanged | (Inherited from SfcInstance.) | |
PropertyChanged | (Inherited from SfcInstance.) | |
propertyMetadataChanged | (Inherited from SfcInstance.) | |
PropertyMetadataChanged | (Inherited from SfcInstance.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ISfcRenamable.Rename | This method is for internal use only. | |
ISfcAlterable.ScriptAlter | This method is for internal use only. | |
ISfcRenamable.ScriptRename | This method is for internal use only. |
Top
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.