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