ShareDirectoryClient.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 ShareDirectoryClient
class with an identical Uri source but the specified
snapshot
timestamp.
For more information, see Snapshot Share.
public virtual Azure.Storage.Files.Shares.ShareDirectoryClient WithSnapshot (string snapshot);
abstract member WithSnapshot : string -> Azure.Storage.Files.Shares.ShareDirectoryClient
override this.WithSnapshot : string -> Azure.Storage.Files.Shares.ShareDirectoryClient
Public Overridable Function WithSnapshot (snapshot As String) As ShareDirectoryClient
Parameters
- snapshot
- String
The snapshot identifier.
Returns
A new ShareDirectoryClient instance.
Remarks
Pass null or empty string to remove the snapshot returning a URL to the base directory.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET