DataSourceOperationsExtensions.Exists Method (IDataSourceOperations, String)
Applies To: Microsoft Azure
Determines whether or not the given data source exists in the Azure Search service.
Namespace: Microsoft.Azure.Search
Assembly: Microsoft.Azure.Search (in Microsoft.Azure.Search.dll)
Syntax
public static bool Exists(
this IDataSourceOperations operations,
string dataSourceName
)
public:
[ExtensionAttribute]
static bool Exists(
IDataSourceOperations^ operations,
String^ dataSourceName
)
static member Exists :
operations:IDataSourceOperations *
dataSourceName:string -> bool
<ExtensionAttribute>
Public Shared Function Exists (
operations As IDataSourceOperations,
dataSourceName As String
) As Boolean
Parameters
operations
Type: Microsoft.Azure.Search.IDataSourceOperationsReference to the Microsoft.Azure.Search.IDataSourceOperations.
dataSourceName
Type: System.StringThe name of the data source.
Return Value
Type: System.Boolean
true if the data source exists; false otherwise.
See Also
DataSourceOperationsExtensions Class
Microsoft.Azure.Search Namespace
Return to top