ShareClient.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 ShareClient
class with an identical Uri source but the specified
snapshot
timestamp.
For more information, see Snapshot Share.
public virtual Azure.Storage.Files.Shares.ShareClient WithSnapshot (string snapshot);
abstract member WithSnapshot : string -> Azure.Storage.Files.Shares.ShareClient
override this.WithSnapshot : string -> Azure.Storage.Files.Shares.ShareClient
Public Overridable Function WithSnapshot (snapshot As String) As ShareClient
Parameters
- snapshot
- String
The snapshot identifier.
Returns
A new ShareClient instance.
Remarks
Pass null or empty string to remove the snapshot returning a URL to the base share.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.