共用方式為


SfcReferenceAttribute.Resolve<T, S> 方法 (S)

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

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

語法

'宣告
Public Function Resolve(Of T, S) ( _
    instance As S _
) As T
'用途
Dim instance As SfcReferenceAttribute 
Dim instance As S
Dim returnValue As T

returnValue = instance.Resolve(instance)
public T Resolve<T, S>(
    S instance
)
public:
generic<typename T, typename S>
T Resolve(
    S instance
)
member Resolve : 
        instance:'S -> 'T 
JScript 不支援一般類型和方法。

型別參數

  • T
    The type of the target instance
  • S
    The type of the source instance.

參數

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

傳回值

型別:T
The resolve target instance.

請參閱

參考

SfcReferenceAttribute 類別

Resolve 多載

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