共用方式為


ISqlOwnedObject.GetOwnerRelationship 方法

傳回 this 與關聯 ISqlObjectOwner 之間的 IModelSingleRelationship

命名空間:  Microsoft.Data.Schema.Sql.SchemaModel
組件:  Microsoft.Data.Schema.Sql (在 Microsoft.Data.Schema.Sql.dll 中)

語法

'宣告
Function GetOwnerRelationship As IModelSingleRelationship(Of ISqlOwnedObject, ISqlObjectOwner)
IModelSingleRelationship<ISqlOwnedObject, ISqlObjectOwner> GetOwnerRelationship()
IModelSingleRelationship<ISqlOwnedObject^, ISqlObjectOwner^>^ GetOwnerRelationship()
abstract GetOwnerRelationship : unit -> IModelSingleRelationship<ISqlOwnedObject, ISqlObjectOwner> 
function GetOwnerRelationship() : IModelSingleRelationship<ISqlOwnedObject, ISqlObjectOwner>

傳回值

型別:Microsoft.Data.Schema.SchemaModel.IModelSingleRelationship<ISqlOwnedObject, ISqlObjectOwner>

.NET Framework 安全性

請參閱

參考

ISqlOwnedObject 介面

Microsoft.Data.Schema.Sql.SchemaModel 命名空間