LinkHelperGetRoleOfParticipant Method (ILinkService, IServiceProvider) |
Gets the role played by a specified participant in the link.
Namespace:
AGI.Foundation.Access
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static LinkRole GetRoleOfParticipant(
ILinkService link,
IServiceProvider participant
)
Public Shared Function GetRoleOfParticipant (
link As ILinkService,
participant As IServiceProvider
) As LinkRole
public:
static LinkRole GetRoleOfParticipant(
ILinkService^ link,
IServiceProvider^ participant
)
static member GetRoleOfParticipant :
link : ILinkService *
participant : IServiceProvider -> LinkRole
Parameters
- link
- Type: AGI.Foundation.AccessILinkService
The link. - participant
- Type: SystemIServiceProvider
The participant.
Return Value
Type:
LinkRoleThe role played by the participant.
Exceptions See Also