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

StorageTargetsExtensions.Delete 方法

定义

从缓存中删除存储目标。 随时允许此操作,但如果缓存关闭或不正常,存储目标的实际删除可能会延迟,直到缓存再次正常运行。 请注意,如果缓存具有要刷新到存储目标的数据,则会在删除存储目标之前刷新数据。

public static void Delete (this Microsoft.Azure.Management.StorageCache.IStorageTargets operations, string resourceGroupName, string cacheName, string storageTargetName);
static member Delete : Microsoft.Azure.Management.StorageCache.IStorageTargets * string * string * string -> unit
<Extension()>
Public Sub Delete (operations As IStorageTargets, resourceGroupName As String, cacheName As String, storageTargetName As String)

参数

operations
IStorageTargets

此扩展方法的操作组。

resourceGroupName
String

目标资源组。

cacheName
String

缓存的名称。 名称的长度不能大于 80,字符必须来自 [-0-9a-zA-Z_] char 类。

storageTargetName
String

存储目标的名称。

适用于