次の方法で共有


ContainerResponse.StatusCode プロパティ

定義

Azure Cosmos DB サービスから要求完了状態コードを取得します。 これは、CreateDatabaseIfNotExists などのシナリオで、データベースが作成されたか、既に存在していたかを判断するために使用できます。

public override System.Net.HttpStatusCode StatusCode { get; }
member this.StatusCode : System.Net.HttpStatusCode
Public Overrides ReadOnly Property StatusCode As HttpStatusCode

プロパティ値

要求完了状態コード

適用対象