Share via


ISqlRoleMembership.GetRoleRelationship Method

Gets a role relationship.

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

Syntax

'Declaration
Function GetRoleRelationship As IModelSingleRelationship(Of ISqlRoleMembership, ISqlRole)
'Usage
Dim instance As ISqlRoleMembership
Dim returnValue As IModelSingleRelationship(Of ISqlRoleMembership, ISqlRole)

returnValue = instance.GetRoleRelationship()
IModelSingleRelationship<ISqlRoleMembership, ISqlRole> GetRoleRelationship()
IModelSingleRelationship<ISqlRoleMembership^, ISqlRole^>^ GetRoleRelationship()
function GetRoleRelationship() : IModelSingleRelationship<ISqlRoleMembership, ISqlRole>
abstract GetRoleRelationship : unit -> IModelSingleRelationship<ISqlRoleMembership, ISqlRole> 

Return Value

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

.NET Framework Security

See Also

Reference

ISqlRoleMembership Interface

ISqlRoleMembership Members

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