FileSystemOperationsExtensions.SetPermission Method (IFileSystemOperations, String, String, String)
Sets the permission of the file or folder.
Namespace: Microsoft.Azure.Management.DataLake.StoreFileSystem
Assembly: Microsoft.Azure.Management.DataLake.StoreFileSystem (in Microsoft.Azure.Management.DataLake.StoreFileSystem.dll)
Syntax
public static AzureOperationResponse SetPermission(
this IFileSystemOperations operations,
string sourcePath,
string accountName,
string permission
)
public:
[ExtensionAttribute]
static AzureOperationResponse^ SetPermission(
IFileSystemOperations^ operations,
String^ sourcePath,
String^ accountName,
String^ permission
)
static member SetPermission :
operations:IFileSystemOperations *
sourcePath:string *
accountName:string *
permission:string -> AzureOperationResponse
<ExtensionAttribute>
Public Shared Function SetPermission (
operations As IFileSystemOperations,
sourcePath As String,
accountName As String,
permission As String
) As AzureOperationResponse
Parameters
operations
Type: Microsoft.Azure.Management.DataLake.StoreFileSystem.IFileSystemOperationsReference to the Microsoft.Azure.Management.DataLake.StoreFileSystem.IFileSystemOperations.
sourcePath
Type: System.StringRequired. The path to the directory or file to set permissions on.
accountName
Type: System.StringRequired. The name of the account to use
permission
Type: System.StringOptional. A string octal representation of the permission (i.e 'rwx')
Return Value
Type: Microsoft.Azure.AzureOperationResponse
A standard service response including an HTTP status code and request ID.
See Also
FileSystemOperationsExtensions Class
Microsoft.Azure.Management.DataLake.StoreFileSystem Namespace
Return to top