Share via


SfcReferenceAttribute.Resolve<T, S> Method (S)

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

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

Syntax

'Declaration
Public Function Resolve(Of T, S) ( _
    instance As S _
) As T
'Usage
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 does not support generic types and methods.

Type Parameters

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

Parameters

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

Return Value

Type: T
The resolve target instance.

See Also

Reference

SfcReferenceAttribute Class

Resolve Overload

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