Syntax
Java
NewRelic.removeAllAttributes ()Kotlin
NewRelic.removeAllAttributes()Description
This method removes all attributes from a session. If you want to remove a single session attribute, see Remove an attribute.
Return values
Returns true if recorded successfully, and false if it doesn't.
Example
Java
boolean attributesRemoved = NewRelic.removeAllAttributes();Kotlin
val attributesRemoved = NewRelic.removeAllAttributes()Syntax
Objective-c
+ (BOOL) removeAllAttributes();Swift
NewRelic.removeAllAttributes() -> BoolDescription
This method removes all attributes from a session. If you want to remove a single session attribute, see Remove an attribute.
Return values
Returns true if recorded successfully, and false if it doesn't.
Examples
Objective-C
BOOL attributesRemoved = NewRelic.removeAllAttributes();Swift
let attributesRemoved = NewRelic.removeAllAttributes()Syntax
removeAllAttributes(options?: {} | undefined) => voidDescription
This method removes all attributes from a session. If you want to remove a single session attribute, see Remove an attribute.
Example
NewRelicCapacitorPlugin.removeAllAttributes();Syntax
RemoveAllAttributes() : bool;Description
This method removes all attributes from a session. If you want to remove a single session attribute, see Remove an attribute.
Example
CrossNewRelic.Current.RemoveAllAttributes();Syntax
removeAllAttributes(): void;Description
This method removes all attributes from a session. If you want to remove a single session attribute, see Remove an attribute.
Example
NewRelic.removeAllAttributes();Syntax
removeAllAttributes(): void;Description
This method removes all attributes from a session. If you want to remove a single session attribute, see Remove an attribute.
Example
NewRelic.removeAllAttributes();Syntax
RemoveAllAttributes() : bool;Description
This method removes all attributes from a session. If you want to remove a single session attribute, see Remove an attribute.
Example
NewRelicAgent.RemoveAllAttributes();Syntax
removeAllAttributes() : void;Description
This method removes all attributes from a session. If you want to remove a single session attribute, see Remove an attribute.
Example
#include "NewRelicBPLibrary.h"
UNewRelicBPLibrary::removeAllAttributes();
Syntax
RemoveAllAttributes() : bool;Description
This method removes all attributes from a session. If you want to remove a single session attribute, see Remove an attribute.
Example
CrossNewRelicClient.Current.RemoveAllAttributes();