CollectionItem 类
CollectionItem 类创建收集项的实例。
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .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 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
AbstractIdentityKey | (从 SfcInstance 继承。) |
![]() |
CollectionFrequency | 获取或设置当收集组在 CollectionMode =“连续”的情况下运行时,此项的收集频率。 |
![]() |
Id | 获取收集项 ID。 |
![]() |
IdentityKey | 获取收集项的标识键。 |
![]() |
Metadata | (从 SfcInstance 继承。) |
![]() |
Name | 获取或设置收集项名称。 |
![]() |
Parameters | 获取或设置收集项参数。 |
![]() |
Parent | 获取或设置对象模型层次结构中的父对象。 |
![]() |
Properties | (从 SfcInstance 继承。) |
![]() |
PropertyStorageProvider | (从 SfcInstance 继承。) |
![]() |
State | (从 SfcInstance 继承。) |
![]() |
TypeName | 获取或设置收集项实现的收集器类型的名称。 |
![]() |
Urn | (从 SfcInstance 继承。) |
页首
方法
页首
事件
| 名称 | 说明 | |
|---|---|---|
![]() |
propertyChanged | (从 SfcInstance 继承。) |
![]() |
PropertyChanged | (从 SfcInstance 继承。) |
![]() |
propertyMetadataChanged | (从 SfcInstance 继承。) |
![]() |
PropertyMetadataChanged | (从 SfcInstance 继承。) |
页首
显式接口实现
| 名称 | 说明 | |
|---|---|---|
![]() ![]() |
ISfcRenamable. . :: . .Rename | 此方法仅供内部使用。 |
![]() ![]() |
ISfcAlterable. . :: . .ScriptAlter | 此方法仅供内部使用。 |
![]() ![]() |
ISfcRenamable. . :: . .ScriptRename | 此方法仅供内部使用。 |
页首
注释
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)