Share via


CloudStorageAccount.GetSharedAccessSignature Method

Definition

Returns a shared access signature for the account.

public string GetSharedAccessSignature (Microsoft.Azure.Storage.SharedAccessAccountPolicy policy);
member this.GetSharedAccessSignature : Microsoft.Azure.Storage.SharedAccessAccountPolicy -> string
Public Function GetSharedAccessSignature (policy As SharedAccessAccountPolicy) As String

Parameters

policy
SharedAccessAccountPolicy

A SharedAccessAccountPolicy object specifying the access policy for the shared access signature.

Returns

A shared access signature, as a URI query string.

Remarks

The query string returned includes the leading question mark.

Applies to