Dela via


IStorageFileManagement.SetSharePermissions Method

Definition

Overloads

SetSharePermissions(CloudFileShare, FileSharePermissions, AccessCondition, FileRequestOptions, OperationContext)

Set share permissions.

public void SetSharePermissions(Microsoft.Azure.Storage.File.CloudFileShare share, Microsoft.Azure.Storage.File.FileSharePermissions permissions, Microsoft.Azure.Storage.AccessCondition accessCondition = default, Microsoft.Azure.Storage.File.FileRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
abstract member SetSharePermissions : Microsoft.Azure.Storage.File.CloudFileShare * Microsoft.Azure.Storage.File.FileSharePermissions * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
Public Sub SetSharePermissions (share As CloudFileShare, permissions As FileSharePermissions, Optional accessCondition As AccessCondition = Nothing, Optional options As FileRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing)

Parameters

share
CloudFileShare

A CloudFileShare object.

permissions
FileSharePermissions

The share's permission.

accessCondition
AccessCondition

Access condition

options
FileRequestOptions

File request options

operationContext
OperationContext

Operation context

Applies to

SetSharePermissions(CloudFileShare, FileSharePermissions, AccessCondition, FileRequestOptions, OperationContext)

public void SetSharePermissions(Microsoft.WindowsAzure.Storage.File.CloudFileShare share, Microsoft.WindowsAzure.Storage.File.FileSharePermissions permissions, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition = default, Microsoft.WindowsAzure.Storage.File.FileRequestOptions options = default, Microsoft.WindowsAzure.Storage.OperationContext operationContext = default);
abstract member SetSharePermissions : Microsoft.WindowsAzure.Storage.File.CloudFileShare * Microsoft.WindowsAzure.Storage.File.FileSharePermissions * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> unit
Public Sub SetSharePermissions (share As CloudFileShare, permissions As FileSharePermissions, Optional accessCondition As AccessCondition = Nothing, Optional options As FileRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing)

Parameters

permissions
FileSharePermissions
accessCondition
AccessCondition
operationContext
OperationContext

Applies to