Freigeben über


DataSourcesOperationsExtensions.CreateOrUpdate Methode

Definition

Überlädt

CreateOrUpdate(IDataSourcesOperations, DataSource, SearchRequestOptions, AccessCondition)

Erstellt eine neue Datenquelle oder aktualisiert eine Datenquelle, sofern sie bereits vorhanden ist. https://docs.microsoft.com/rest/api/searchservice/Update-Data-Source

CreateOrUpdate(IDataSourcesOperations, String, DataSource, SearchRequestOptions, AccessCondition)

Erstellt eine neue Datenquelle oder aktualisiert eine Datenquelle, sofern sie bereits vorhanden ist. https://docs.microsoft.com/rest/api/searchservice/Update-Data-Source

CreateOrUpdate(IDataSourcesOperations, DataSource, SearchRequestOptions, AccessCondition)

Quelle:
DataSourcesOperationsExtensions.Customization.cs

Erstellt eine neue Datenquelle oder aktualisiert eine Datenquelle, sofern sie bereits vorhanden ist. https://docs.microsoft.com/rest/api/searchservice/Update-Data-Source

public static Microsoft.Azure.Search.Models.DataSource CreateOrUpdate (this Microsoft.Azure.Search.IDataSourcesOperations operations, Microsoft.Azure.Search.Models.DataSource dataSource, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default, Microsoft.Azure.Search.Models.AccessCondition accessCondition = default);
static member CreateOrUpdate : Microsoft.Azure.Search.IDataSourcesOperations * Microsoft.Azure.Search.Models.DataSource * Microsoft.Azure.Search.Models.SearchRequestOptions * Microsoft.Azure.Search.Models.AccessCondition -> Microsoft.Azure.Search.Models.DataSource
<Extension()>
Public Function CreateOrUpdate (operations As IDataSourcesOperations, dataSource As DataSource, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional accessCondition As AccessCondition = Nothing) As DataSource

Parameter

operations
IDataSourcesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

dataSource
DataSource

Die Definition der zu erstellenden oder aktualisierenden Datenquelle.

searchRequestOptions
SearchRequestOptions

Zusätzliche Parameter für den Vorgang.

accessCondition
AccessCondition

Zusätzliche Parameter für den Vorgang.

Gibt zurück

Die Datenquelle, die erstellt oder aktualisiert wurde.

Gilt für:

CreateOrUpdate(IDataSourcesOperations, String, DataSource, SearchRequestOptions, AccessCondition)

Quelle:
DataSourcesOperationsExtensions.cs

Erstellt eine neue Datenquelle oder aktualisiert eine Datenquelle, sofern sie bereits vorhanden ist. https://docs.microsoft.com/rest/api/searchservice/Update-Data-Source

public static Microsoft.Azure.Search.Models.DataSource CreateOrUpdate (this Microsoft.Azure.Search.IDataSourcesOperations operations, string dataSourceName, Microsoft.Azure.Search.Models.DataSource dataSource, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default, Microsoft.Azure.Search.Models.AccessCondition accessCondition = default);
static member CreateOrUpdate : Microsoft.Azure.Search.IDataSourcesOperations * string * Microsoft.Azure.Search.Models.DataSource * Microsoft.Azure.Search.Models.SearchRequestOptions * Microsoft.Azure.Search.Models.AccessCondition -> Microsoft.Azure.Search.Models.DataSource
<Extension()>
Public Function CreateOrUpdate (operations As IDataSourcesOperations, dataSourceName As String, dataSource As DataSource, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional accessCondition As AccessCondition = Nothing) As DataSource

Parameter

operations
IDataSourcesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

dataSourceName
String

Der Name der zu erstellenden oder zu aktualisierenden Datenquelle.

dataSource
DataSource

Die Definition der zu erstellenden oder aktualisierenden Datenquelle.

searchRequestOptions
SearchRequestOptions

Zusätzliche Parameter für den Vorgang

accessCondition
AccessCondition

Zusätzliche Parameter für den Vorgang

Gibt zurück

Gilt für: