- 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.
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 ) |
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.
For an example, refer to DicomAssociate.IsRoleSelect.
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.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)