Leadtools.Dicom.WCF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.25
RoleExists Method
See Also 
Leadtools.Dicom.WCF Namespace > DICOMService Class : RoleExists Method



roleName
A System.String representing the role name to check for.
extraData
User custom data.
roleName
A System.String representing the role name to check for.
extraData
User custom data.
Checks if a role defined by the server.

Syntax

Visual Basic (Declaration) 
Public Overridable Function RoleExists( _
   ByVal roleName As String, _
   ByVal extraData As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As DICOMService
Dim roleName As String
Dim extraData As String
Dim value As Boolean
 
value = instance.RoleExists(roleName, extraData)
C# 
public virtual bool RoleExists( 
   string roleName,
   string extraData
)
C++/CLI 
public:
virtual bool RoleExists( 
   String^ roleName,
   String^ extraData
) 

Parameters

roleName
A System.String representing the role name to check for.
extraData
User custom data.

Return Value

true if the role name is defined by the server; otherwise false.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also