Share via


CloudStorageAccount.TryParse(String, CloudStorageAccount) Method

Definition

Indicates whether a connection string can be parsed to return a CloudStorageAccount object.

public static bool TryParse (string connectionString, out Microsoft.Azure.Storage.CloudStorageAccount account);
static member TryParse : string * CloudStorageAccount -> bool
Public Shared Function TryParse (connectionString As String, ByRef account As CloudStorageAccount) As Boolean

Parameters

connectionString
String

The connection string to parse.

account
CloudStorageAccount

A CloudStorageAccount object to hold the instance returned if the connection string can be parsed.

Returns

true if the connection string was successfully parsed; otherwise, false.

Applies to