Share via


CosmosClientBuilder.WithApplicationName(String) Method

Definition

A suffix to be added to the default user-agent for the Azure Cosmos DB service.

public Azure.Cosmos.Fluent.CosmosClientBuilder WithApplicationName (string applicationName);
member this.WithApplicationName : string -> Azure.Cosmos.Fluent.CosmosClientBuilder
Public Function WithApplicationName (applicationName As String) As CosmosClientBuilder

Parameters

applicationName
String

A string to use as suffix in the User Agent.

Returns

The current CosmosClientBuilder.

Remarks

Setting this property after sending any request won't have any effect.

Applies to