WindowsTokenRoleProvider.RoleExists(String) 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
Windows 标记角色提供程序不支持此方法。
public:
 override bool RoleExists(System::String ^ roleName);public override bool RoleExists(string roleName);override this.RoleExists : string -> boolPublic Overrides Function RoleExists (roleName As String) As Boolean参数
- roleName
- String
要在数据源中搜索的角色名。
返回
无。 WindowsTokenRoleProvider 类不支持该方法,该方法始终引发 ProviderException。
例外
调用了不受支持的方法。