Share via


CloudBlobClient.GetRootContainerReference Method

Definition

Returns a reference to the root container.

public virtual Microsoft.Azure.Storage.Blob.CloudBlobContainer GetRootContainerReference ();
abstract member GetRootContainerReference : unit -> Microsoft.Azure.Storage.Blob.CloudBlobContainer
override this.GetRootContainerReference : unit -> Microsoft.Azure.Storage.Blob.CloudBlobContainer
Public Overridable Function GetRootContainerReference () As CloudBlobContainer

Returns

A CloudBlobContainer object.

Remarks

Note that the root container must be explicitly created, if it does not already exist, before you can read from it or write to it.

Applies to