你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TimeSeriesDatabaseConnectionResource.Delete 方法

定义

重载

Delete(WaitUntil, CancellationToken)

删除时序数据库连接。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections/{timeSeriesDatabaseConnectionName}
  • 操作IdTimeSeriesDatabaseConnections_Delete
Delete(WaitUntil, Nullable<CleanupConnectionArtifact>, CancellationToken)

删除时序数据库连接。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections/{timeSeriesDatabaseConnectionName}
  • 操作IdTimeSeriesDatabaseConnections_Delete

Delete(WaitUntil, CancellationToken)

删除时序数据库连接。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections/{timeSeriesDatabaseConnectionName}
  • 操作IdTimeSeriesDatabaseConnections_Delete
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DigitalTwins.TimeSeriesDatabaseConnectionResource> Delete (Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken);
abstract member Delete : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DigitalTwins.TimeSeriesDatabaseConnectionResource>
override this.Delete : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DigitalTwins.TimeSeriesDatabaseConnectionResource>
Public Overridable Function Delete (waitUntil As WaitUntil, cancellationToken As CancellationToken) As ArmOperation(Of TimeSeriesDatabaseConnectionResource)

参数

waitUntil
WaitUntil

Completed 如果方法应在服务上完成长时间运行的操作之前等待返回,则为 ; Started 如果它在启动操作后应返回,则为 。 有关长时间运行的操作的详细信息,请参阅 Azure.Core Long-Running 操作示例

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于

Delete(WaitUntil, Nullable<CleanupConnectionArtifact>, CancellationToken)

删除时序数据库连接。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections/{timeSeriesDatabaseConnectionName}
  • 操作IdTimeSeriesDatabaseConnections_Delete
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DigitalTwins.TimeSeriesDatabaseConnectionResource> Delete (Azure.WaitUntil waitUntil, Azure.ResourceManager.DigitalTwins.Models.CleanupConnectionArtifact? cleanupConnectionArtifacts = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Delete : Azure.WaitUntil * Nullable<Azure.ResourceManager.DigitalTwins.Models.CleanupConnectionArtifact> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DigitalTwins.TimeSeriesDatabaseConnectionResource>
override this.Delete : Azure.WaitUntil * Nullable<Azure.ResourceManager.DigitalTwins.Models.CleanupConnectionArtifact> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DigitalTwins.TimeSeriesDatabaseConnectionResource>
Public Overridable Function Delete (waitUntil As WaitUntil, Optional cleanupConnectionArtifacts As Nullable(Of CleanupConnectionArtifact) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of TimeSeriesDatabaseConnectionResource)

参数

waitUntil
WaitUntil

Completed 如果方法应在服务上完成长时间运行的操作之前等待返回,则为 ; Started 如果它在启动操作后应返回,则为 。 有关长时间运行的操作的详细信息,请参阅 Azure.Core Long-Running 操作示例

cleanupConnectionArtifacts
Nullable<CleanupConnectionArtifact>

指定是否尝试清理为建立与时序数据库的连接而创建的项目。 这是一次尽力而为的尝试,如果没有适当的权限,则会失败。 将其设置为“true”不会删除任何记录的数据。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于