次の方法で共有


TSqlObject.GetReferencing メソッド (ModelRelationshipClass)

リレーションシップが特定の ModelRelationshipClass によって定義され、Default スコープ内にオブジェクトがある場合に、参照元オブジェクトを取得します。

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

構文

'宣言
Public Function GetReferencing ( _
    relationshipType As ModelRelationshipClass _
) As IEnumerable(Of TSqlObject)
'使用
Dim instance As TSqlObject 
Dim relationshipType As ModelRelationshipClass 
Dim returnValue As IEnumerable(Of TSqlObject)

returnValue = instance.GetReferencing(relationshipType)
public IEnumerable<TSqlObject> GetReferencing(
    ModelRelationshipClass relationshipType
)
public:
IEnumerable<TSqlObject^>^ GetReferencing(
    ModelRelationshipClass^ relationshipType
)
member GetReferencing : 
        relationshipType:ModelRelationshipClass -> IEnumerable<TSqlObject> 
public function GetReferencing(
    relationshipType : ModelRelationshipClass
) : IEnumerable<TSqlObject>

パラメーター

戻り値

型: System.Collections.Generic.IEnumerable<TSqlObject>
このオブジェクトを参照している、指定した ModelRelationshipClassTSqlObject

関連項目

参照

TSqlObject クラス

GetReferencing オーバーロード

Microsoft.SqlServer.Dac.Model 名前空間