CloudBlobClient.LocationMode Property

Windows Runtime Azure Storage Client Library

Gets or sets the default location mode for requests made via the Blob service client.

Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim instance As CloudBlobClient
Dim value As Nullable(Of LocationMode)

value = instance.LocationMode

instance.LocationMode = value

Syntax

Visual Basic
<ObsoleteAttribute("Use DefaultRequestOptions.LocationMode.")> _
Public Property LocationMode As Nullable(Of LocationMode)
C#
[ObsoleteAttribute("Use DefaultRequestOptions.LocationMode.")] 
public Nullable<LocationMode> LocationMode { get; set; }
C++
[ObsoleteAttribute(L"Use DefaultRequestOptions.LocationMode.")] 
public:
property Nullable<LocationMode> LocationMode {
	Nullable<LocationMode> get ();
	void set (Nullable<LocationMode> value);
}
J#
/** @property */
public Nullable<LocationMode> get_LocationMode ()

/** @property */
public void set_LocationMode (Nullable<LocationMode> value)
JScript
public function get LocationMode () : Nullable<LocationMode>

public function set LocationMode (value : Nullable<LocationMode>)

Property Value

A LocationMode enumeration value.

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