CloudBlobContainer.GetBlobReferenceFromServerAsync Method (String)

Windows Runtime Azure Storage Client Library

Gets a reference to a blob in this container.

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

Usage

Visual Basic
Dim instance As CloudBlobContainer
Dim blobName As String
Dim returnValue As IAsyncOperation(Of ICloudBlob)

returnValue = instance.GetBlobReferenceFromServerAsync(blobName)

Syntax

Visual Basic
Public Function GetBlobReferenceFromServerAsync ( _
	blobName As String _
) As IAsyncOperation(Of ICloudBlob)
C#
public IAsyncOperation<ICloudBlob> GetBlobReferenceFromServerAsync (
	string blobName
)
C++
public:
IAsyncOperation<ICloudBlob^>^ GetBlobReferenceFromServerAsync (
	String^ blobName
)
J#
public IAsyncOperation<ICloudBlob> GetBlobReferenceFromServerAsync (
	String blobName
)
JScript
public function GetBlobReferenceFromServerAsync (
	blobName : String
) : IAsyncOperation<ICloudBlob>

Parameters

blobName

The name of the blob.

Return Value

A reference to the blob.

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