Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
GetProviderRole Method
See Also 
Leadtools.Dicom Namespace > DicomAssociate Class : GetProviderRole Method




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.
Determines whether the Provider Role is supported for the specified Presentation Context of the DICOM Associate.

Syntax

Visual Basic (Declaration) 
Public Function GetProviderRole( _
   ByVal id As Byte _
) As DicomRoleSupport
Visual Basic (Usage)Copy Code
Dim instance As DicomAssociate
Dim id As Byte
Dim value As DicomRoleSupport
 
value = instance.GetProviderRole(id)
C# 
public DicomRoleSupport GetProviderRole( 
   byte id
)
Managed Extensions for C++ 
public: DicomRoleSupport GetProviderRole( 
   byte id
) 
C++/CLI 
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.

Example

For an exmple, refer to IsRoleSelect.

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Dicom requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features