CloudFileShare.CreateFilePermission(String, FileRequestOptions, OperationContext) Method

Definition

Creates a File Permission.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual string CreateFilePermission (string permission, Microsoft.Azure.Storage.File.FileRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateFilePermission : string * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> string
override this.CreateFilePermission : string * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> string
Public Overridable Function CreateFilePermission (permission As String, Optional options As FileRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As String

Parameters

permission
System.String

The file permission to create

options
FileRequestOptions

A FileRequestOptions object that specifies additional options for the request. If null, default options are applied to the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Returns

System.String

The file permission key

Attributes

Applies to