SharedAccessBlobPolicies.Remove Method (String)

Windows Runtime Azure Storage Client Library

Removes the value with the specified key from the shared access policies collection.

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

Usage

Visual Basic
Dim instance As SharedAccessBlobPolicies
Dim key As String
Dim returnValue As Boolean

returnValue = instance.Remove(key)

Syntax

Visual Basic
Public Function Remove ( _
	key As String _
) As Boolean
C#
public bool Remove (
	string key
)
C++
public:
virtual bool Remove (
	String^ key
) sealed
J#
public final boolean Remove (
	String key
)
JScript
public final function Remove (
	key : String
) : boolean

Parameters

key

A string containing the key of the SharedAccessBlobPolicy item to remove.

Return Value

true if the element is successfully found and removed; otherwise, false. This method returns false if the key is not found.

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