Gets referencing objects, where the relationship is defined by a specific ModelRelationshipClass and where objects are within the Default scope.
命名空間: 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 defining the relationship class to query for.
傳回值
型別:System.Collections.Generic.IEnumerable<TSqlObject>
TSqlObject referencing this object for a given ModelRelationshipClass.