SfcReferenceCollection<K,T,S> Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.