CollectionSetExtender 类

 Allows adding the new properties to a CollectionSet and it also helps to establish dependencies between extended property and the original one

继承层次结构

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<CollectionSet>
    Microsoft.SqlServer.Management.Collector.CollectionSetExtender

命名空间:  Microsoft.SqlServer.Management.Collector
程序集:  Microsoft.SqlServer.Management.Collector(在 Microsoft.SqlServer.Management.Collector.dll 中)

语法

声明
Public NotInheritable Class CollectionSetExtender _
    Inherits SfcObjectExtender(Of CollectionSet)
用法
Dim instance As CollectionSetExtender
public sealed class CollectionSetExtender : SfcObjectExtender<CollectionSet>
public ref class CollectionSetExtender sealed : public SfcObjectExtender<CollectionSet^>
[<SealedAttribute>]
type CollectionSetExtender =  
    class 
        inherit SfcObjectExtender<CollectionSet>
    end
public final class CollectionSetExtender extends SfcObjectExtender<CollectionSet>

CollectionSetExtender 类型公开以下成员。

构造函数

  名称 说明
公共方法 CollectionSetExtender() Initializes a new instance of the CollectionSetExtender class.
公共方法 CollectionSetExtender(CollectionSet) Initializes a new instance of the CollectionSetExtender class.
公共方法 CollectionSetExtender(CollectorConfigStore, String) Initializes a new instance of the CollectionSetExtender class.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetPropertySet 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

事件

  名称 说明
公共事件 PropertyChanged 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。)
公共事件 PropertyMetadataChanged 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。)

页首

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Collector 命名空间