StorageAccountOperationsExtensions.Create方法
Creates a storage account.
命名空間: Microsoft.WindowsAzure.Management.Storage
組件: Microsoft.WindowsAzure.Management.Storage (於 Microsoft.WindowsAzure.Management.Storage.dll)
使用方式
'用途
Dim operations As IStorageAccountOperations
Dim parameters As StorageAccountCreateParameters
Dim returnValue As OperationStatusResponse
returnValue = StorageAccountOperationsExtensions.Create(operations, parameters)
語法
'宣告
<ExtensionAttribute> _
Public Shared Function Create ( _
operations As IStorageAccountOperations, _
parameters As StorageAccountCreateParameters _
) As OperationStatusResponse
[ExtensionAttribute]
public static OperationStatusResponse Create (
IStorageAccountOperations operations,
StorageAccountCreateParameters parameters
)
[ExtensionAttribute]
public:
static OperationStatusResponse^ Create (
IStorageAccountOperations^ operations,
StorageAccountCreateParameters^ parameters
)
/** @attribute ExtensionAttribute() */
public static OperationStatusResponse Create (
IStorageAccountOperations operations,
StorageAccountCreateParameters parameters
)
ExtensionAttribute
public static function Create (
operations : IStorageAccountOperations,
parameters : StorageAccountCreateParameters
) : OperationStatusResponse
參數
- operations
The IStorageAccountOperations object that specifies the storage account operations.
- parameters
The StorageAccountCreateParameters object that contains the parameters that are used to create the storage account.
傳回值
The StorageOperationStatusResponse object that contains the status of the operation.
備註
If the asynchronous operation succeeds, the response includes the HTTP status code for the successful request. If the asynchronous operation failed, the response includes the HTTP status code for the failed request, and also includes error information about the failure.
For more information about creating a storage account, see the following resources:
執行緒安全性
這種類型的任何公用靜態 (在 Visual Basic 中的 Shared) 成員都屬於安全執行緒。不保證任何執行個體成員安全執行緒。
平台
開發平台
Windows Vista、Windows 7 和 Windows Server 2008
目標平台
另請參閱
參考
StorageAccountOperationsExtensions類別
StorageAccountOperationsExtensions成員
Microsoft.WindowsAzure.Management.Storage命名空間