AffinityGroupOperationsExtensions.DeleteAsync 方法 (IAffinityGroupOperations, String)
以异步方式从指定的订阅中删除一个地缘组。
命名空间: Microsoft.WindowsAzure.Management
程序集: Microsoft.WindowsAzure.Management(Microsoft.WindowsAzure.Management.dll 中)
语法
public static Task<AzureOperationResponse> DeleteAsync(
this IAffinityGroupOperations operations,
string affinityGroupName
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ DeleteAsync(
IAffinityGroupOperations^ operations,
String^ affinityGroupName
)
static member DeleteAsync :
operations:IAffinityGroupOperations *
affinityGroupName:string -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function DeleteAsync (
operations As IAffinityGroupOperations,
affinityGroupName As String
) As Task(Of AzureOperationResponse)
参数
operations
Type: Microsoft.WindowsAzure.Management.IAffinityGroupOperations
affinityGroupName
Type: System.String若要删除的地缘组名称。
返回值
Type: System.Threading.Tasks.Task<AzureOperationResponse>
OperationResponse 对象,包括 HTTP 状态代码和请求 id。
备注
删除地缘组之前,您必须修改或删除当前使用它的任何资源。 只要地缘组与任何资源相关联,就不能删除该地缘组。
有关删除地缘组的详细信息,请参阅以下资源:
请参阅
AffinityGroupOperationsExtensions 类
Microsoft.WindowsAzure.Management 命名空间
返回页首