Share via


DataVirtualHardDisk.SourceMediaLink Property

Optional. Optional. If the disk that is being added is already registered in the subscription or the VHD for the disk does not exist in blob storage, this element is ignored. If the VHD file exists in blob storage, this element defines the path to the VHD and a disk is registered from it and attached to the virtual machine.

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

Usage

'Usage
Dim instance As DataVirtualHardDisk
Dim value As Uri

value = instance.SourceMediaLink

instance.SourceMediaLink = value

Syntax

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

/** @property */
public void set_SourceMediaLink (Uri value)
public function get SourceMediaLink () : Uri

public function set SourceMediaLink (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

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