Returns a connection string for the storage account, optionally with sensitive data.
Namespace: Microsoft.WindowsAzure.Storage
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim instance As CloudStorageAccount
Dim exportSecrets As Boolean
Dim returnValue As String
returnValue = instance.ToString(exportSecrets) |
Syntax
Visual Basic |
---|
Public Function ToString ( _
exportSecrets As Boolean _
) As String |
C# |
---|
public string ToString (
bool exportSecrets
) |
C++ |
---|
public:
String^ ToString (
bool exportSecrets
) |
J# |
---|
public String ToString (
boolean exportSecrets
) |
JScript |
---|
public function ToString (
exportSecrets : boolean
) : String |
Parameters
- exportSecrets
True
to include sensitive data in the string; otherwise, false
.
Return Value
A connection string.
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
See Also