CollectionItem 类
The CollectionItem class creates an instance of a collection item.
继承层次结构
System. . :: . .Object
SfcInstance
Microsoft.SqlServer.Management.Collector..::..CollectionItem
命名空间: Microsoft.SqlServer.Management.Collector
程序集: Microsoft.SqlServer.Management.Collector(在 Microsoft.SqlServer.Management.Collector.dll 中)
语法
声明
Public NotInheritable Class CollectionItem _
Inherits SfcInstance _
Implements ISfcAlterable, IAlterable, ISfcRenamable, IRenamable, _
IMarkForDrop
用法
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
CollectionItem 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
CollectionItem | Creates an instance of a collection item given the collection set name and an item name. |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
AbstractIdentityKey | (从 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 | (从 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 | (从 SfcInstance 继承。) |
![]() |
PropertyStorageProvider | (从 SfcInstance 继承。) |
![]() |
State | (从 SfcInstance 继承。) |
![]() |
TypeName | Gets or sets the name of the collector type that the collection item implements. |
![]() |
Urn | (从 SfcInstance 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Alter | Alters a collection item by applying the changes to the configuration store. |
![]() |
AlterImpl | (从 SfcInstance 继承。) |
![]() |
CheckObjectCreated | (从 SfcInstance 继承。) |
![]() |
CheckObjectState | (从 SfcInstance 继承。) |
![]() |
CreateIdentityKey | (从 SfcInstance 继承。) |
![]() |
CreateImpl | (从 SfcInstance 继承。) |
![]() |
Discover | This method is for internal use only. (覆盖 SfcInstanceDiscover(ISfcDependencyDiscoveryObjectSink)。) |
![]() |
DropImpl | (从 SfcInstance 继承。) |
![]() |
Equals | (从 Object 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetChildCollection | (从 SfcInstance 继承。) |
![]() |
GetDomain | (从 SfcInstance 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() ![]() |
GetObjectFactory | Instantiates an instance of the constructor used for collection items. |
![]() |
GetPropertySet | (从 SfcInstance 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
GetTypeMetadataImpl | (从 SfcInstance 继承。) |
![]() |
InitializeUIPropertyState | (从 SfcInstance 继承。) |
![]() |
MarkForDrop | This method marks a collection item for dropping if the collection item has been changed. |
![]() |
MarkForDropImpl | (从 SfcInstance 继承。) |
![]() |
MarkRootAsConnected | (从 SfcInstance 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
MoveImpl | (从 SfcInstance 继承。) |
![]() |
OnPropertyMetadataChanges | (从 SfcInstance 继承。) |
![]() |
OnPropertyValueChanges | (从 SfcInstance 继承。) |
![]() |
PostAlter | (从 SfcInstance 继承。) |
![]() |
PostCreate | (从 SfcInstance 继承。) |
![]() |
PostDrop | (从 SfcInstance 继承。) |
![]() |
PostMove | (从 SfcInstance 继承。) |
![]() |
PostRename | (从 SfcInstance 继承。) |
![]() |
Refresh | (从 SfcInstance 继承。) |
![]() |
Rename | Renames a collection item. |
![]() |
RenameImpl | (从 SfcInstance 继承。) |
![]() |
ResetKey | (从 SfcInstance 继承。) |
![]() |
Serialize | (从 SfcInstance 继承。) |
![]() |
ToString | (从 SfcInstance 继承。) |
![]() |
UpdateUIPropertyState | (从 SfcInstance 继承。) |
![]() |
Validate | (从 SfcInstance 继承。) |
页首
事件
名称 | 说明 | |
---|---|---|
![]() |
propertyChanged | (从 SfcInstance 继承。) |
![]() |
PropertyChanged | (从 SfcInstance 继承。) |
![]() |
propertyMetadataChanged | (从 SfcInstance 继承。) |
![]() |
PropertyMetadataChanged | (从 SfcInstance 继承。) |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
![]() ![]() |
ISfcRenamableRename | This method is for internal use only. |
![]() ![]() |
ISfcAlterableScriptAlter | This method is for internal use only. |
![]() ![]() |
ISfcRenamableScriptRename | This method is for internal use only. |
页首
注释
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。