# EventHubsNetworkRuleSetProxy.clearTrustedServiceAccessEnabled

- Module: [Aspire.Hosting.Azure.Provisioning.EventHubs](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs.md)
- Defined on: [EventHubsNetworkRuleSetProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubsnetworkrulesetproxy.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `method`

Clears the TrustedServiceAccessEnabled provisioning property.

## Definition

```typescript
interface EventHubsNetworkRuleSetProxy {
  // ... omitted for brevity
  clearTrustedServiceAccessEnabled(): void;
}
```

## Signature

```typescript
clearTrustedServiceAccessEnabled(): void
```

## Defined on

- [EventHubsNetworkRuleSetProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubsnetworkrulesetproxy.md) -- `handle`
