StorageService.ServiceName Property

Gets or sets the name of the storage account.

Namespace: Microsoft.WindowsAzure.Management.Storage.Models.StorageServiceListResponse
Assembly: Microsoft.WindowsAzure.Management.Storage (in Microsoft.WindowsAzure.Management.Storage.dll)

Usage

'Usage
Dim instance As StorageService
Dim value As String

value = instance.ServiceName

instance.ServiceName = value

Syntax

'Declaration
Public Property ServiceName As String
public string ServiceName { get; set; }
public:
property String^ ServiceName {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_ServiceName ()

/** @property */
public void set_ServiceName (String value)
public function get ServiceName () : String

public function set ServiceName (value : String)

Property Value

The name.

Remarks

This name is the DNS prefix name and can be used to access blobs, queues, and tables in the storage account. For example, if the service name is MyStorageAccount you could access the blob containers by calling: https://MyStorageAccount.blob.core.windows.net/mycontainer/.

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 and Windows Server 2008

Target Platforms

See Also

Reference

StorageService Class
StorageService Members
Microsoft.WindowsAzure.Management.Storage.Models.StorageServiceListResponse Namespace