共用方式為


IDataServiceMetadataProvider.GetResourceAssociationSet 方法

取得來源關聯末端的 ResourceAssociationSet 執行個體 (如有提供)。

命名空間:  System.Data.Services.Providers
組件:  Microsoft.Data.Services (在 Microsoft.Data.Services.dll 中)

語法

'宣告
Function GetResourceAssociationSet ( _
    resourceSet As ResourceSet, _
    resourceType As ResourceType, _
    resourceProperty As ResourceProperty _
) As ResourceAssociationSet
'用途
Dim instance As IDataServiceMetadataProvider
Dim resourceSet As ResourceSet
Dim resourceType As ResourceType
Dim resourceProperty As ResourceProperty
Dim returnValue As ResourceAssociationSet

returnValue = instance.GetResourceAssociationSet(resourceSet, _
    resourceType, resourceProperty)
ResourceAssociationSet GetResourceAssociationSet(
    ResourceSet resourceSet,
    ResourceType resourceType,
    ResourceProperty resourceProperty
)
ResourceAssociationSet^ GetResourceAssociationSet(
    ResourceSet^ resourceSet, 
    ResourceType^ resourceType, 
    ResourceProperty^ resourceProperty
)
abstract GetResourceAssociationSet : 
        resourceSet:ResourceSet * 
        resourceType:ResourceType * 
        resourceProperty:ResourceProperty -> ResourceAssociationSet 
function GetResourceAssociationSet(
    resourceSet : ResourceSet, 
    resourceType : ResourceType, 
    resourceProperty : ResourceProperty
) : ResourceAssociationSet

參數

傳回值

型別:System.Data.Services.Providers.ResourceAssociationSet
ResourceAssociationSet 執行個體。

請參閱

參考

IDataServiceMetadataProvider 介面

System.Data.Services.Providers 命名空間