Condividi tramite


SfcReferenceCollection<K,T,S> Constructor

Definition

Create a collection of instance references.

protected SfcReferenceCollection (S owner, Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.ISfcReferenceCollectionResolver<T,S> resolver, System.Collections.Generic.IComparer<K> comparer);
new Microsoft.SqlServer.Management.Sdk.Sfc.SfcReferenceCollection<'K, 'T, 'S (requires 'K :> IComparable<'K> and 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance and 'S :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance)> : 'S * Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.ISfcReferenceCollectionResolver<'T, 'S (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance and 'S :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance)> * System.Collections.Generic.IComparer<'K (requires 'K :> IComparable<'K>)> -> Microsoft.SqlServer.Management.Sdk.Sfc.SfcReferenceCollection<'K, 'T, 'S (requires 'K :> IComparable<'K> and 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance and 'S :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance)>
Protected Sub New (owner As S, resolver As ISfcReferenceCollectionResolver(Of T, S), comparer As IComparer(Of K))

Parameters

owner
S

The parent of the collection.

resolver
ISfcReferenceCollectionResolver<T,S>

The resolver used to determine the target references for collection initialization or refresh.

comparer
IComparer<K>

The key comparer for the collection.

Applies to