C#
C++
F#
VB
CloudStorageAccount.::..TryParse Method (String, CloudStorageAccount)(String^, CloudStorageAccount^%)(String, CloudStorageAccount)(String, CloudStorageAccount)
Indicates whether a connection string can be parsed to return a CloudStorageAccount object.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
C++
public: static bool TryParse( String^ connectionString, [OutAttribute] CloudStorageAccount^% account )
static member TryParse : connectionString:string * account:CloudStorageAccount byref -> bool
Public Shared Function TryParse ( connectionString As String, <OutAttribute> ByRef account As CloudStorageAccount ) As Boolean
Parameters
- connectionString
-
Type:
System.StringSystem::String^System.StringSystem.String
The connection string to parse.
- account
-
Type:
Microsoft.WindowsAzure.Storage.CloudStorageAccountMicrosoft.WindowsAzure.Storage::CloudStorageAccount^%Microsoft.WindowsAzure.Storage.CloudStorageAccountMicrosoft.WindowsAzure.Storage.CloudStorageAccount
A CloudStorageAccount object to hold the instance returned if the connection string can be parsed.
Return Value
Type: System.BooleanSystem::BooleanSystem.BooleanSystem.Booleantrue if the connection string was successfully parsed; otherwise, false.