StorageUri.GetUri Method

Windows Runtime Azure Storage Client Library

Returns the URI for the storage account endpoint at the specified location.

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

Usage

Visual Basic
Dim instance As StorageUri
Dim location As StorageLocation
Dim returnValue As Uri

returnValue = instance.GetUri(location)

Syntax

Visual Basic
Public Function GetUri ( _
	location As StorageLocation _
) As Uri
C#
public Uri GetUri (
	StorageLocation location
)
C++
public:
Uri^ GetUri (
	StorageLocation location
)
J#
public Uri GetUri (
	StorageLocation location
)
JScript
public function GetUri (
	location : StorageLocation
) : Uri

Parameters

location

A StorageLocation enumeration value.

Return Value

The Uri for the endpoint at the the specified location.

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