Share via


ISqlOwnedObject.GetOwnerRelationship Method

Gets an owner relationship.

Namespace:  Microsoft.Data.Schema.Sql.SchemaModel.SqlServer
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
Function GetOwnerRelationship As IModelSingleRelationship(Of ISqlOwnedObject, ISqlObjectOwner)
'Usage
Dim instance As ISqlOwnedObject
Dim returnValue As IModelSingleRelationship(Of ISqlOwnedObject, ISqlObjectOwner)

returnValue = instance.GetOwnerRelationship()
IModelSingleRelationship<ISqlOwnedObject, ISqlObjectOwner> GetOwnerRelationship()
IModelSingleRelationship<ISqlOwnedObject^, ISqlObjectOwner^>^ GetOwnerRelationship()
function GetOwnerRelationship() : IModelSingleRelationship<ISqlOwnedObject, ISqlObjectOwner>
abstract GetOwnerRelationship : unit -> IModelSingleRelationship<ISqlOwnedObject, ISqlObjectOwner> 

Return Value

Type: Microsoft.Data.Schema.SchemaModel.IModelSingleRelationship<ISqlOwnedObject, ISqlObjectOwner>
Returns a IModelSingleRelationship<TRelating, TRelated> collection.

.NET Framework Security

See Also

Reference

ISqlOwnedObject Interface

ISqlOwnedObject Members

Microsoft.Data.Schema.Sql.SchemaModel.SqlServer Namespace