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
- 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.