# AzureTableJournalStorageOptions Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable.azurestorage/orleans.durable.journaling.azuretablejournalstorageoptions/)

## ConfigureTableServiceClient(Func&lt;CancellationToken, Task&lt;TableServiceClient&gt;&gt;) {#configuretableserviceclient-system-func-system-threading-cancellationtoken-syste-5517100f}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.azurestorage/orleans.durable.journaling.azuretablejournalstorageoptions/methods/configuretableserviceclient-system-func-system-threading-cancellationtoken-syste-5517100f/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Azure/Orleans.Durable.AzureStorage/Journaling/AzureTableJournalStorageOptions.cs#L257-L258)

```csharp
public void ConfigureTableServiceClient(Func<CancellationToken, Task<TableServiceClient>> createClientCallback)
```

Configures the [AzureTableJournalStorageOptions](/orleans/docs/api/csharp/microsoft.orleans.durable.azurestorage/orleans.durable.journaling.azuretablejournalstorageoptions/) using the provided callback.

### Parameters

- `createClientCallback` (`Func<CancellationToken, Task<TableServiceClient>>`)

## ConfigureTableServiceClient(Uri) {#configuretableserviceclient-system-uri-035d209d}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.azurestorage/orleans.durable.journaling.azuretablejournalstorageoptions/methods/configuretableserviceclient-system-uri-035d209d/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Azure/Orleans.Durable.AzureStorage/Journaling/AzureTableJournalStorageOptions.cs#L248-L250)

```csharp
public void ConfigureTableServiceClient(Uri serviceUri)
```

Configures the [AzureTableJournalStorageOptions](/orleans/docs/api/csharp/microsoft.orleans.durable.azurestorage/orleans.durable.journaling.azuretablejournalstorageoptions/) using an authenticated service URI.

### Parameters

- `serviceUri` (`Uri`)

## ConfigureTableServiceClient(Uri, AzureSasCredential) {#configuretableserviceclient-system-uri-azure-azuresascredential-51c420d3}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.azurestorage/orleans.durable.journaling.azuretablejournalstorageoptions/methods/configuretableserviceclient-system-uri-azure-azuresascredential-51c420d3/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Azure/Orleans.Durable.AzureStorage/Journaling/AzureTableJournalStorageOptions.cs#L275-L278)

```csharp
public void ConfigureTableServiceClient(Uri serviceUri, AzureSasCredential azureSasCredential)
```

Configures the [AzureTableJournalStorageOptions](/orleans/docs/api/csharp/microsoft.orleans.durable.azurestorage/orleans.durable.journaling.azuretablejournalstorageoptions/) using an authenticated service URI and a `Azure.AzureSasCredential`.

### Parameters

- `serviceUri` (`Uri`)
- `azureSasCredential` (`AzureSasCredential`)

## ConfigureTableServiceClient(Uri, TableSharedKeyCredential) {#configuretableserviceclient-system-uri-azure-data-tables-tablesharedkeycredentia-199a1f59}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.azurestorage/orleans.durable.journaling.azuretablejournalstorageoptions/methods/configuretableserviceclient-system-uri-azure-data-tables-tablesharedkeycredentia-199a1f59/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Azure/Orleans.Durable.AzureStorage/Journaling/AzureTableJournalStorageOptions.cs#L285-L288)

```csharp
public void ConfigureTableServiceClient(Uri serviceUri, TableSharedKeyCredential sharedKeyCredential)
```

Configures the [AzureTableJournalStorageOptions](/orleans/docs/api/csharp/microsoft.orleans.durable.azurestorage/orleans.durable.journaling.azuretablejournalstorageoptions/) using an authenticated service URI and a `Azure.Data.Tables.TableSharedKeyCredential`.

### Parameters

- `serviceUri` (`Uri`)
- `sharedKeyCredential` (`TableSharedKeyCredential`)

## ConfigureTableServiceClient(Uri, TokenCredential) {#configuretableserviceclient-system-uri-azure-core-tokencredential-58b98d05}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.azurestorage/orleans.durable.journaling.azuretablejournalstorageoptions/methods/configuretableserviceclient-system-uri-azure-core-tokencredential-58b98d05/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Azure/Orleans.Durable.AzureStorage/Journaling/AzureTableJournalStorageOptions.cs#L265-L268)

```csharp
public void ConfigureTableServiceClient(Uri serviceUri, TokenCredential tokenCredential)
```

Configures the [AzureTableJournalStorageOptions](/orleans/docs/api/csharp/microsoft.orleans.durable.azurestorage/orleans.durable.journaling.azuretablejournalstorageoptions/) using an authenticated service URI and a `Azure.Core.TokenCredential`.

### Parameters

- `serviceUri` (`Uri`)
- `tokenCredential` (`TokenCredential`)

## ConfigureTableServiceClient(string) {#configuretableserviceclient-string-39c576e6}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.azurestorage/orleans.durable.journaling.azuretablejournalstorageoptions/methods/configuretableserviceclient-string-39c576e6/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Azure/Orleans.Durable.AzureStorage/Journaling/AzureTableJournalStorageOptions.cs#L239-L241)

```csharp
public void ConfigureTableServiceClient(string connectionString)
```

Configures the [AzureTableJournalStorageOptions](/orleans/docs/api/csharp/microsoft.orleans.durable.azurestorage/orleans.durable.journaling.azuretablejournalstorageoptions/) using a connection string.

### Parameters

- `connectionString` (`string`)
