次の方法で共有


TSqlObject.GetReferencing メソッド (ModelRelationshipClass, DacQueryScopes)

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

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

構文

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

returnValue = instance.GetReferencing(relationshipType, _
    queryScopes)
public IEnumerable<TSqlObject> GetReferencing(
    ModelRelationshipClass relationshipType,
    DacQueryScopes queryScopes
)
public:
IEnumerable<TSqlObject^>^ GetReferencing(
    ModelRelationshipClass^ relationshipType, 
    DacQueryScopes queryScopes
)
member GetReferencing : 
        relationshipType:ModelRelationshipClass * 
        queryScopes:DacQueryScopes -> IEnumerable<TSqlObject> 
public function GetReferencing(
    relationshipType : ModelRelationshipClass, 
    queryScopes : DacQueryScopes
) : IEnumerable<TSqlObject>

パラメーター

戻り値

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

関連項目

参照

TSqlObject クラス

GetReferencing オーバーロード

Microsoft.SqlServer.Dac.Model 名前空間