IngestionClient.DeleteSource 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.
Overloads
| Name | Description |
|---|---|
| DeleteSource(Guid, RequestContext) |
[Protocol Method] Delete an ingestion source from a geo-catalog
|
| DeleteSource(Guid, CancellationToken) |
Delete an ingestion source from a geo-catalog. |
DeleteSource(Guid, RequestContext)
- Source:
- IngestionClient.cs
[Protocol Method] Delete an ingestion source from a geo-catalog
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.Response DeleteSource(Guid sourceId, Azure.RequestContext context);
abstract member DeleteSource : Guid * Azure.RequestContext -> Azure.Response
override this.DeleteSource : Guid * Azure.RequestContext -> Azure.Response
Public Overridable Function DeleteSource (sourceId As Guid, context As RequestContext) As Response
Parameters
- sourceId
- Guid
Ingestion source id.
- context
- RequestContext
The request options, which can override default behaviors of the client pipeline on a per-call basis.
Returns
The response returned from the service.
Exceptions
Service returned a non-success status code.
Applies to
DeleteSource(Guid, CancellationToken)
- Source:
- IngestionClient.cs
Delete an ingestion source from a geo-catalog.
public virtual Azure.Response DeleteSource(Guid sourceId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteSource : Guid * System.Threading.CancellationToken -> Azure.Response
override this.DeleteSource : Guid * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function DeleteSource (sourceId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Response
Parameters
- sourceId
- Guid
Ingestion source id.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
Service returned a non-success status code.