StorageCredentials.UpdateKey Method (String, String)

Windows Runtime Azure Storage Client Library

Updates the key value and key name for the credentials.

Namespace: Microsoft.WindowsAzure.Storage.Auth
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim instance As StorageCredentials
Dim keyValue As String
Dim keyName As String

instance.UpdateKey(keyValue, keyName)

Syntax

Visual Basic
Public Sub UpdateKey ( _
	keyValue As String, _
	keyName As String _
)
C#
public void UpdateKey (
	string keyValue,
	string keyName
)
C++
public:
void UpdateKey (
	String^ keyValue, 
	String^ keyName
)
J#
public void UpdateKey (
	String keyValue, 
	String keyName
)
JScript
public function UpdateKey (
	keyValue : String, 
	keyName : String
)

Parameters

keyValue

The key value, as a Base64-encoded string, to update.

keyName

The key name to update.

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

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also