共用方式為


SfcReferenceCollectionAttribute.ResolveCollection<T, S> 方法 (S)

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

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Function ResolveCollection(Of T, S) ( _
    instance As S _
) As IEnumerable(Of T)
'用途
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 不支援一般類型和方法。

型別參數

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

參數

  • instance
    型別:S
    The source instance to resolve from.

傳回值

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

請參閱

參考

SfcReferenceCollectionAttribute 類別

ResolveCollection 多載

Microsoft.SqlServer.Management.Sdk.Sfc.Metadata 命名空間