# RedactConnectionStringAttribute.Redact(object?)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.redactconnectionstringattribute/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.redactconnectionstringattribute/methods/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Core/Configuration/OptionLogger/RedactMemberAttribute.cs#L36)

```csharp
public override string Redact(object? value)
```

Redacts the provided value.

### Parameters

- `value` (`object?`): The value.

### Returns

The redacted value.
