次の方法で共有


TSqlObject.GetReferencingRelationshipInstances メソッド (DacQueryScopes)

この TSqlObject を参照する各オブジェクトに対して、リレーションシップ データを定義する ModelRelationshipInstance を返します。 これには、(FromObject フィールドによって定義された) 参照元オブジェクト、およびこのリレーションシップに固有のすべてのプロパティが含まれます。 Default スコープ内のオブジェクトのみが返されます。

名前空間:  Microsoft.SqlServer.Dac.Model
アセンブリ:  Microsoft.SqlServer.Dac.Extensions (Microsoft.SqlServer.Dac.Extensions.dll)

構文

'宣言
Public Function GetReferencingRelationshipInstances ( _
    queryScopes As DacQueryScopes _
) As IEnumerable(Of ModelRelationshipInstance)
'使用
Dim instance As TSqlObject 
Dim queryScopes As DacQueryScopes 
Dim returnValue As IEnumerable(Of ModelRelationshipInstance)

returnValue = instance.GetReferencingRelationshipInstances(queryScopes)
public IEnumerable<ModelRelationshipInstance> GetReferencingRelationshipInstances(
    DacQueryScopes queryScopes
)
public:
IEnumerable<ModelRelationshipInstance^>^ GetReferencingRelationshipInstances(
    DacQueryScopes queryScopes
)
member GetReferencingRelationshipInstances : 
        queryScopes:DacQueryScopes -> IEnumerable<ModelRelationshipInstance> 
public function GetReferencingRelationshipInstances(
    queryScopes : DacQueryScopes
) : IEnumerable<ModelRelationshipInstance>

パラメーター

戻り値

型: System.Collections.Generic.IEnumerable<ModelRelationshipInstance>
この TSqlObject とそれを参照しているオブジェクト間のリレーションシップを定義する ModelRelationshipInstance

関連項目

参照

TSqlObject クラス

GetReferencingRelationshipInstances オーバーロード

Microsoft.SqlServer.Dac.Model 名前空間