Delen via


CollectionSetExtender Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Syntax

'Declaration
Public NotInheritable Class CollectionSetExtender _
    Inherits SfcObjectExtender(Of CollectionSet)
'Usage
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>

The CollectionSetExtender type exposes the following members.

Constructors

  Name Description
Public method CollectionSetExtender() Initializes a new instance of the CollectionSetExtender class.
Public method CollectionSetExtender(CollectionSet) Initializes a new instance of the CollectionSetExtender class.
Public method CollectionSetExtender(CollectorConfigStore, String) Initializes a new instance of the CollectionSetExtender class.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetPropertySet Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event PropertyChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Public event PropertyMetadataChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)

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.

See Also

Reference

Microsoft.SqlServer.Management.Collector Namespace