Share via


DataSourceType Struct

Definition

Defines the type of a datasource.

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Search.Serialization.ExtensibleEnumConverter<Microsoft.Azure.Search.Models.DataSourceType>))]
public struct DataSourceType : IEquatable<Microsoft.Azure.Search.Models.DataSourceType>
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Search.Serialization.ExtensibleEnumConverter<Microsoft.Azure.Search.Models.DataSourceType>))>]
type DataSourceType = struct
Public Structure DataSourceType
Implements IEquatable(Of DataSourceType)
Inheritance
DataSourceType
Attributes
Newtonsoft.Json.JsonConverterAttribute
Implements

Fields

AzureBlob

Indicates a Azure Blob datasource.

AzureSql

Indicates an Azure SQL datasource.

AzureTable

Indicates a Azure Table datasource.

CosmosDb

Indicates a CosmosDB datasource.

DocumentDb
Obsolete.

Indicates a DocumentDB datasource.

Methods

Equals(DataSourceType)

Compares the DataSourceType for equality with another DataSourceType.

Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

ToString()

Returns a string representation of the DataSourceType.

Operators

Equality(DataSourceType, DataSourceType)

Compares two DataSourceType values for equality.

Explicit(DataSourceType to String)

Defines explicit conversion from DataSourceType to string.

Implicit(String to DataSourceType)

Defines implicit conversion from string to DataSourceType.

Inequality(DataSourceType, DataSourceType)

Compares two DataSourceType values for inequality.

Applies to