この 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>
パラメーター
- queryScopes
型: Microsoft.SqlServer.Dac.Model.DacQueryScopes
スコープ オブジェクトを定義する DacQueryScopes が存在する必要があります。
戻り値
型: System.Collections.Generic.IEnumerable<ModelRelationshipInstance>
この TSqlObject とそれを参照しているオブジェクト間のリレーションシップを定義する ModelRelationshipInstance