Compartilhar via


Método SfcReferenceCollectionAttribute.ResolveCollection<T, S> (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 (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxe

'Declaração
Public Function ResolveCollection(Of T, S) ( _
    instance As S _
) As IEnumerable(Of T)
'Uso
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 não dá suporte a tipos e métodos genéricos.

Parâmetros de tipo

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

Parâmetros

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

Valor de retorno

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

Consulte também

Referência

SfcReferenceCollectionAttribute Classe

Sobrecarregado ResolveCollection

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