ShareFileClient.WithSnapshot(String) 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.
Initializes a new instance of the ShareFileClient
class with an identical Uri source but the specified
shareSnapshot
timestamp.
For more information, see Snapshot Share.
public virtual Azure.Storage.Files.Shares.ShareFileClient WithSnapshot (string shareSnapshot);
abstract member WithSnapshot : string -> Azure.Storage.Files.Shares.ShareFileClient
override this.WithSnapshot : string -> Azure.Storage.Files.Shares.ShareFileClient
Public Overridable Function WithSnapshot (shareSnapshot As String) As ShareFileClient
Parameters
- shareSnapshot
- String
The snapshot identifier.
Returns
A new ShareFileClient instance.
Remarks
Pass null or empty string to remove the snapshot returning a URL to the base file.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for