IDocumentClient.ReplaceDocumentCollectionAsync メソッド

定義

オーバーロード

ReplaceDocumentCollectionAsync(DocumentCollection, RequestOptions)

Azure Cosmos DB サービスのドキュメント コレクションを非同期操作として置き換えます。

ReplaceDocumentCollectionAsync(Uri, DocumentCollection, RequestOptions)

ドキュメント コレクションを Azure Cosmos DB サービスの非同期操作として置き換えます。

ReplaceDocumentCollectionAsync(DocumentCollection, RequestOptions)

Azure Cosmos DB サービスのドキュメント コレクションを非同期操作として置き換えます。

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.ResourceResponse<Microsoft.Azure.Documents.DocumentCollection>> ReplaceDocumentCollectionAsync (Microsoft.Azure.Documents.DocumentCollection documentCollection, Microsoft.Azure.Documents.Client.RequestOptions options = default);
abstract member ReplaceDocumentCollectionAsync : Microsoft.Azure.Documents.DocumentCollection * Microsoft.Azure.Documents.Client.RequestOptions -> System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.ResourceResponse<Microsoft.Azure.Documents.DocumentCollection>>
Public Function ReplaceDocumentCollectionAsync (documentCollection As DocumentCollection, Optional options As RequestOptions = Nothing) As Task(Of ResourceResponse(Of DocumentCollection))

パラメーター

documentCollection
DocumentCollection

更新されたドキュメント コレクション。

options
RequestOptions

要求の要求オプション。

戻り値

System.Threading.Tasks更新されたリソース レコードをResourceResponse<TResource>含む をDocumentCollectionラップする を含む 。

適用対象

ReplaceDocumentCollectionAsync(Uri, DocumentCollection, RequestOptions)

ドキュメント コレクションを Azure Cosmos DB サービスの非同期操作として置き換えます。

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.ResourceResponse<Microsoft.Azure.Documents.DocumentCollection>> ReplaceDocumentCollectionAsync (Uri documentCollectionUri, Microsoft.Azure.Documents.DocumentCollection documentCollection, Microsoft.Azure.Documents.Client.RequestOptions options = default);
abstract member ReplaceDocumentCollectionAsync : Uri * Microsoft.Azure.Documents.DocumentCollection * Microsoft.Azure.Documents.Client.RequestOptions -> System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.ResourceResponse<Microsoft.Azure.Documents.DocumentCollection>>
Public Function ReplaceDocumentCollectionAsync (documentCollectionUri As Uri, documentCollection As DocumentCollection, Optional options As RequestOptions = Nothing) As Task(Of ResourceResponse(Of DocumentCollection))

パラメーター

documentCollectionUri
Uri

更新するドキュメント コレクションの URI。

documentCollection
DocumentCollection

更新されたドキュメント コレクション。

options
RequestOptions

(省略可能) RequestOptions 要求の 。

戻り値

非同期操作のサービス応答を表すタスク オブジェクト。

適用対象