Udostępnij za pośrednictwem


StorageBlobManagement.GetBlobReferenceFromServer Method

Definition

Overloads

GetBlobReferenceFromServer(CloudBlobContainer, String, AccessCondition, BlobRequestOptions, OperationContext, Nullable<DateTimeOffset>)

Get blob reference with properties and meta data from server

GetBlobReferenceFromServer(CloudBlobContainer, String, AccessCondition, BlobRequestOptions, OperationContext, Nullable<DateTimeOffset>)

GetBlobReferenceFromServer(CloudBlobContainer, String, AccessCondition, BlobRequestOptions, OperationContext, Nullable<DateTimeOffset>)

Get blob reference with properties and meta data from server

public Microsoft.Azure.Storage.Blob.CloudBlob GetBlobReferenceFromServer (Microsoft.Azure.Storage.Blob.CloudBlobContainer container, string blobName, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, DateTimeOffset? SnapshotTime = default);
abstract member GetBlobReferenceFromServer : Microsoft.Azure.Storage.Blob.CloudBlobContainer * string * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * Nullable<DateTimeOffset> -> Microsoft.Azure.Storage.Blob.CloudBlob
override this.GetBlobReferenceFromServer : Microsoft.Azure.Storage.Blob.CloudBlobContainer * string * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * Nullable<DateTimeOffset> -> Microsoft.Azure.Storage.Blob.CloudBlob
Public Function GetBlobReferenceFromServer (container As CloudBlobContainer, blobName As String, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, Optional SnapshotTime As Nullable(Of DateTimeOffset) = Nothing) As CloudBlob

Parameters

container
CloudBlobContainer

A CloudBlobContainer object

blobName
String

Blob name

accessCondition
AccessCondition

Access condition

options
BlobRequestOptions

Blob request options

operationContext
OperationContext

Operation context

SnapshotTime
Nullable<DateTimeOffset>

Snapshot time to append.

Returns

Return an CloudBlob if the specific blob exists on azure, otherwise return null

Implements

Applies to

GetBlobReferenceFromServer(CloudBlobContainer, String, AccessCondition, BlobRequestOptions, OperationContext, Nullable<DateTimeOffset>)

public Microsoft.WindowsAzure.Storage.Blob.CloudBlob GetBlobReferenceFromServer (Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer container, string blobName, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, DateTimeOffset? SnapshotTime = default);
abstract member GetBlobReferenceFromServer : Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer * string * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * Nullable<DateTimeOffset> -> Microsoft.WindowsAzure.Storage.Blob.CloudBlob
override this.GetBlobReferenceFromServer : Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer * string * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * Nullable<DateTimeOffset> -> Microsoft.WindowsAzure.Storage.Blob.CloudBlob
Public Function GetBlobReferenceFromServer (container As CloudBlobContainer, blobName As String, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, Optional SnapshotTime As Nullable(Of DateTimeOffset) = Nothing) As CloudBlob

Parameters

container
CloudBlobContainer
blobName
String
accessCondition
AccessCondition
operationContext
OperationContext
SnapshotTime
Nullable<DateTimeOffset>

Returns

Implements

Applies to