| ActiveDirectoryObjectDeleteAttribute Method |
Deletes values from an attribute.
Namespace:
Galactic.ActiveDirectory
Assembly:
Galactic.ActiveDirectory (in Galactic.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public bool DeleteAttribute(
string attributeName,
Object[] values = null
)
Public Function DeleteAttribute (
attributeName As String,
Optional values As Object() = Nothing
) As Boolean
public:
bool DeleteAttribute(
String^ attributeName,
array<Object^>^ values = nullptr
)
member DeleteAttribute :
attributeName : string *
?values : Object[]
(* Defaults:
let _values = defaultArg values null
*)
-> bool
Parameters
- attributeName
- Type: SystemString
The name of the attribute with values to delete. - values (Optional)
- Type: SystemObject
Optional: The specific values to delete from the object, or if null, will delete all attributes. Defaults to null.
Return Value
Type:
BooleanTrue if the values were deleted, or false if there was an error or the values could not otherwise be deleted.
See Also