ISnapshot.GrantAccessAsync(Int32, CancellationToken) メソッド

定義

スナップショットへのアクセスを非同期的に許可します。

public System.Threading.Tasks.Task<string> GrantAccessAsync (int accessDurationInSeconds, System.Threading.CancellationToken cancellationToken = default);
abstract member GrantAccessAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function GrantAccessAsync (accessDurationInSeconds As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

パラメーター

accessDurationInSeconds
Int32

アクセス期間 (秒単位)。

cancellationToken
CancellationToken

戻り値

適用対象