| ActiveDirectoryDeleteAttribute Method |
Deletes an attribute's values from the specified entry in Active Directory.
Namespace:
Galactic.ActiveDirectory
Assembly:
Galactic.ActiveDirectory (in Galactic.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public bool DeleteAttribute(
string name,
SearchResultEntry entry,
Object[] values = null
)
Public Function DeleteAttribute (
name As String,
entry As SearchResultEntry,
Optional values As Object() = Nothing
) As Boolean
public:
bool DeleteAttribute(
String^ name,
SearchResultEntry^ entry,
array<Object^>^ values = nullptr
)
member DeleteAttribute :
name : string *
entry : SearchResultEntry *
?values : Object[]
(* Defaults:
let _values = defaultArg values null
*)
-> bool
Parameters
- name
- Type: SystemString
The name of the attribute that should have its value deleted. - entry
- Type: System.DirectoryServices.ProtocolsSearchResultEntry
The SearchResultEntry containing the attribute to delete. - values (Optional)
- Type: SystemObject
Optional: The specific values to delete. If null, all values will be deleted. Defaults to null.
Return Value
Type:
BooleanTrue if the attribute's values are deleted, false otherwise.
See Also