Language

FileShareResource.GetFileShareSnapshot(String, CancellationToken) Method

Definition

Get a FileShareSnapshot.

public virtual Azure.Response<Azure.ResourceManager.FileShares.FileShareSnapshotResource> GetFileShareSnapshot(string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFileShareSnapshot : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.FileShares.FileShareSnapshotResource>
override this.GetFileShareSnapshot : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.FileShares.FileShareSnapshotResource>
Public Overridable Function GetFileShareSnapshot (name As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of FileShareSnapshotResource)

Parameters

name
String

The name of the FileShareSnapshot.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

name is null.

name is an empty string, and was expected to be non-empty.

Applies to