Share via


VirtualMachineCreateParameters.MediaLocation Property

Optional. Location where VMImage VHDs should be copied, for published VMImages.

Namespace: Microsoft.WindowsAzure.Management.Compute.Models
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Usage

'Usage
Dim instance As VirtualMachineCreateParameters
Dim value As Uri

value = instance.MediaLocation

instance.MediaLocation = value

Syntax

'Declaration
Public Property MediaLocation As Uri
public Uri MediaLocation { get; set; }
public:
property Uri^ MediaLocation {
    Uri^ get ();
    void set (Uri^ value);
}
/** @property */
public Uri get_MediaLocation ()

/** @property */
public void set_MediaLocation (Uri value)
public function get MediaLocation () : Uri

public function set MediaLocation (value : Uri)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

VirtualMachineCreateParameters Class
VirtualMachineCreateParameters Members
Microsoft.WindowsAzure.Management.Compute.Models Namespace