共用方式為


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

Resolves a strongly-typed target enumerable from the given source instance.

命名空間:  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 SfcMetadataRelation 
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 enumeration.
  • S
    The type of the source instance.

參數

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

傳回值

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

請參閱

參考

SfcMetadataRelation 類別

ResolveCollection 多載

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