DataSource.AzureTableStorage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new DataSource to connect to an Azure Table.
public static Microsoft.Azure.Search.Models.DataSource AzureTableStorage (string name, string storageConnectionString, string tableName, string query = default, Microsoft.Azure.Search.Models.DataDeletionDetectionPolicy deletionDetectionPolicy = default, string description = default);
static member AzureTableStorage : string * string * string * string * Microsoft.Azure.Search.Models.DataDeletionDetectionPolicy * string -> Microsoft.Azure.Search.Models.DataSource
Public Shared Function AzureTableStorage (name As String, storageConnectionString As String, tableName As String, Optional query As String = Nothing, Optional deletionDetectionPolicy As DataDeletionDetectionPolicy = Nothing, Optional description As String = Nothing) As DataSource
Parameters
- name
- String
The name of the datasource.
- storageConnectionString
- String
The connection string for the Azure Storage account. It must follow this format: "DefaultEndpointsProtocol=https;AccountName=[your storage account];AccountKey=[your account key];" Note that HTTPS is required.
- tableName
- String
The name of the table from which to read rows.
- query
- String
Optional. A query that is applied to the table when reading rows.
- deletionDetectionPolicy
- DataDeletionDetectionPolicy
Optional. The data deletion detection policy for the datasource.
- description
- String
Optional. Description of the datasource.
Returns
A new DataSource instance.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應