Share via


ISqlRoleMembership.GetRoleRelationship Method

Returns an IModelSingleRelationship between this and the associated ISqlRole.

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

Syntax

'Declaration
Function GetRoleRelationship As IModelSingleRelationship(Of ISqlRoleMembership, ISqlRole)
IModelSingleRelationship<ISqlRoleMembership, ISqlRole> GetRoleRelationship()
IModelSingleRelationship<ISqlRoleMembership^, ISqlRole^>^ GetRoleRelationship()
abstract GetRoleRelationship : unit -> IModelSingleRelationship<ISqlRoleMembership, ISqlRole> 
function GetRoleRelationship() : IModelSingleRelationship<ISqlRoleMembership, ISqlRole>

Return Value

Type: Microsoft.Data.Schema.SchemaModel.IModelSingleRelationship<ISqlRoleMembership, ISqlRole>

.NET Framework Security

See Also

Reference

ISqlRoleMembership Interface

Microsoft.Data.Schema.Sql.SchemaModel Namespace