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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.