VistaDB 5






Name of the role to search for in the database
RoleExists Method
Does this role exist in teh current database?
Syntax
'Declaration
 
Public Overrides NotOverridable Function RoleExists( _
   ByVal roleName As System.String _
) As System.Boolean
'Usage
 
Dim instance As VistaDBRoleProvider
Dim roleName As System.String
Dim value As System.Boolean
 
value = instance.RoleExists(roleName)
public override System.bool RoleExists( 
   System.string roleName
)
public function RoleExists( 
    roleName: System.String
): System.Boolean; override; 
public override function RoleExists( 
   roleName : System.String
) : System.boolean;
public: System.bool RoleExists( 
   System.string* roleName
) override 
public:
System.bool RoleExists( 
   System.String^ roleName
) override 

Parameters

roleName
Name of the role to search for in the database
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also