Bagikan melalui


DocumentClient.Dispose Method

Definition

Disposes the client for the Azure Cosmos DB service.

public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()

Implements

Examples

IDocumentClient client = new DocumentClient(new Uri("service endpoint"), "auth key");
if (client != null) client.Dispose();

Applies to