Exportar (0) Imprimir
Expandir todo

CloudDrive.CopyTo (Método)

Copies the data in this Windows Azure drive to a new page blob.

Espacio de nombres: Microsoft.WindowsAzure.StorageClient
Ensamblado: Microsoft.WindowsAzure.CloudDrive (en microsoft.windowsazure.clouddrive.dll)

'Uso
Dim instance As CloudDrive
Dim destination As Uri

instance.CopyTo(destination)

public void CopyTo (
	Uri destination
)
public void CopyTo (
	Uri destination
)
public function CopyTo (
	destination : Uri
)

Parámetros

destination

The URI of the destination page blob.

The CopyTo method copies a drive or a snapshot to the destination page blob. The destination page blob can be used to create and mount a new read-write drive.

You can copy a mounted drive if the following conditions are true:

  • The destination page blob is not mounted.

  • You are not copying from the storage emulator in a development environment, as you can only copy from a mounted drive in the cloud.

If you copy a mounted drive, the data may not be in a valid state. To ensure the data is in a valid state, first unmount the drive, or create a snapshot.

The CopyTo method works only for a CloudDrive object created with credentials of type StorageCredentialsAccountAndKey. You cannot use a shared access signature to copy a drive.


Cualquier miembro estático público (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancias sean seguros para la ejecución de subprocesos.

Plataformas de desarrollo

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Server 2008 y Windows 2000

Plataformas de destino

Adiciones de comunidad

Mostrar:
© 2014 Microsoft