LEADTOOLS Medical (Leadtools.Dicom assembly)

GetProviderRole Method

Show in webframe







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
public DicomRoleSupport GetProviderRole( 
   byte id
)
'Declaration
 
Public Function GetProviderRole( _
   ByVal id As Byte _
) As DicomRoleSupport
'Usage
 
Dim instance As DicomAssociate
Dim id As Byte
Dim value As DicomRoleSupport
 
value = instance.GetProviderRole(id)
public DicomRoleSupport GetProviderRole( 
   byte id
)

            

            
 function Leadtools.Dicom.DicomAssociate.GetProviderRole( 
   id 
)
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

See Also

Reference

DicomAssociate Class
DicomAssociate Members
IsRoleSelect Method
GetUserRole Method
SetRoleSelect Method

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

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