Share via


LdapRoleProvider.DeleteRole method

This member is reserved for internal use and is not intended to be used directly from your code.

Namespace:  Microsoft.Office.Server.Security
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Overrides Function DeleteRole ( _
    roleName As String, _
    throwOnPopulatedRole As Boolean _
) As Boolean
'Usage
Dim instance As LdapRoleProvider
Dim roleName As String
Dim throwOnPopulatedRole As Boolean
Dim returnValue As Boolean

returnValue = instance.DeleteRole(roleName, _
    throwOnPopulatedRole)
public override bool DeleteRole(
    string roleName,
    bool throwOnPopulatedRole
)

Parameters

Return value

Type: System.Boolean

See also

Reference

LdapRoleProvider class

LdapRoleProvider members

Microsoft.Office.Server.Security namespace