リレーションシップが特定の 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>
パラメーター
- relationshipType
型: Microsoft.SqlServer.Dac.Model.ModelRelationshipClass
クエリの対象となるリレーションシップ クラスを定義する ModelRelationshipClass
戻り値
型: System.Collections.Generic.IEnumerable<TSqlObject>
このオブジェクトを参照している、指定した ModelRelationshipClass の TSqlObject