←Select platform

GetProviderRole Method

Summary

Determines whether the Provider Role is supported for the specified Presentation Context of the DICOM Associate.

Syntax
C#
VB
C++
public DicomRoleSupport GetProviderRole( 
   byte id 
) 
Public Function GetProviderRole( _ 
   ByVal id As Byte _ 
) As DicomRoleSupport 
public: 
DicomRoleSupport GetProviderRole(  
   byte id 
)  

Parameters

id
Presentation Context ID of the Presentation Context for which to check the Provider Role. The ID provides information about both the class type of the data and the Transfer Syntax to use when transferring the data. It also identifies a specific Presentation Context within an Associate.

Return Value

A value indicating whether the Provider Role is supported for the specified Presentation Context of the DICOM Associate.

Remarks

Support for the Provider Role allows the Application Entity to act as an SCP for that Presentation Context. To enable Role Selection, and to set the User and Provider Roles, call SetRoleSelect.

Example

For an example, refer to IsRoleSelect.

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly