Checks if a share name is valid.
Namespace: Microsoft.WindowsAzure.Storage
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim shareName As String
NameValidator.ValidateShareName(shareName) |
Syntax
Visual Basic |
---|
Public Shared Sub ValidateShareName ( _
shareName As String _
) |
C# |
---|
public static void ValidateShareName (
string shareName
) |
C++ |
---|
public:
static void ValidateShareName (
String^ shareName
) |
J# |
---|
public static void ValidateShareName (
String shareName
) |
JScript |
---|
public static function ValidateShareName (
shareName : String
) |
Parameters
- shareName
A string representing the share name to validate.
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