Udostępnij za pośrednictwem


CloudStorageAccount.Parse(String) Method

Definition

Parses a connection string and returns a CloudStorageAccount created from the connection string.

public static Microsoft.Azure.Storage.CloudStorageAccount Parse (string connectionString);
static member Parse : string -> Microsoft.Azure.Storage.CloudStorageAccount
Public Shared Function Parse (connectionString As String) As CloudStorageAccount

Parameters

connectionString
String

A valid connection string.

Returns

A CloudStorageAccount object constructed from the values provided in the connection string.

Exceptions

Thrown if connectionString is null or empty.

Thrown if connectionString is not a valid connection string.

Thrown if connectionString cannot be parsed.

Applies to