Freigeben über


SfcReferenceCollectionAttribute.ResolveCollection<T, S>-Methode (S)

Resolve a strongly-typed target enumerable from the given source object.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Function ResolveCollection(Of T, S) ( _
    instance As S _
) As IEnumerable(Of T)
'Usage
Dim instance As SfcReferenceCollectionAttribute 
Dim instance As S
Dim returnValue As IEnumerable(Of T)

returnValue = instance.ResolveCollection(instance)
public IEnumerable<T> ResolveCollection<T, S>(
    S instance
)
public:
generic<typename T, typename S>
IEnumerable<T>^ ResolveCollection(
    S instance
)
member ResolveCollection : 
        instance:'S -> IEnumerable<'T> 
JScript bietet keine Unterstützung für die Verwendung generischer Typen und Methoden.

Typparameter

  • T
    The type of the target instance.
  • S
    The type of the source instance to resolve from.

Parameter

  • instance
    Typ: S
    The source instance to resolve from.

Rückgabewert

Typ: System.Collections.Generic.IEnumerable<T>
The resolved target enumerable.

Siehe auch

Verweis

SfcReferenceCollectionAttribute Klasse

ResolveCollection-Überladung

Microsoft.SqlServer.Management.Sdk.Sfc.Metadata-Namespace