ShareFilesStorageResourceProvider.FromFile Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a storage resource pointing towards the given container URI.
public Azure.Storage.DataMovement.StorageResource FromFile (Uri fileUri, Azure.Storage.DataMovement.Files.Shares.ShareFileStorageResourceOptions options = default);
member this.FromFile : Uri * Azure.Storage.DataMovement.Files.Shares.ShareFileStorageResourceOptions -> Azure.Storage.DataMovement.StorageResource
Public Function FromFile (fileUri As Uri, Optional options As ShareFileStorageResourceOptions = Nothing) As StorageResource
Parameters
- fileUri
- Uri
Target location.
- options
- ShareFileStorageResourceOptions
Options for creating the storage resource.
Returns
The configured storage resource.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET