語言

CosmosDbService 類別

定義

警告

This class is deprecated. See https://aka.ms/bot-file-basics for more information.

連接 Cosmos DB 資料庫的設定屬性。

[System.Obsolete("This class is deprecated.  See https://aka.ms/bot-file-basics for more information.", false)]
public class CosmosDbService : Microsoft.Bot.Configuration.AzureService
[<System.Obsolete("This class is deprecated.  See https://aka.ms/bot-file-basics for more information.", false)>]
type CosmosDbService = class
    inherit AzureService
Public Class CosmosDbService
Inherits AzureService
繼承
屬性

建構函式

名稱 Description
CosmosDbService()
已淘汰.

初始化 CosmosDbService 類別的新執行個體。

屬性

名稱 Description
Collection
已淘汰.

收集或設定。

Database
已淘汰.

取得或設定資料庫。

Endpoint
已淘汰.

取得或設定 CosmosDB 的端點。

Id
已淘汰.

取得或設定服務的唯一 ID。

(繼承來源 ConnectedService)
Key
已淘汰.

取得或設定存取 CosmosDB 的金鑰。

Name
已淘汰.

取得或設定服務的使用者友善名稱。

(繼承來源 ConnectedService)
Properties
已淘汰.

取得或集合的性質,這些屬性並未被其他方式定義。

(繼承來源 ConnectedService)
ResourceGroup
已淘汰.

取得或設定資源群組。

(繼承來源 AzureService)
ServiceName
已淘汰.

取得或設定服務名稱。

(繼承來源 AzureService)
SubscriptionId
已淘汰.

取得或設定訂閱ID。

(繼承來源 AzureService)
TenantId
已淘汰.

取得或設定服務的租戶 ID,例如「contoso.onmicrosoft.com」。

(繼承來源 AzureService)
Type
已淘汰.

取得或設定服務類型。

(繼承來源 ConnectedService)

方法

名稱 Description
Decrypt(String)
已淘汰.

解密此服務上的屬性。

Encrypt(String)
已淘汰.

加密此服務的屬性。

適用於