次の方法で共有


SqlServerDatabaseRestorePointCollection.GetIfExistsAsync メソッド

定義

サービスからこのリソースの詳細の取得を試みます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/restorePoints/{restorePointName}
  • 操作IdRestorePoints_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerDatabaseRestorePointResource>> GetIfExistsAsync (string restorePointName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerDatabaseRestorePointResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.SqlServerDatabaseRestorePointResource>>
Public Overridable Function GetIfExistsAsync (restorePointName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of SqlServerDatabaseRestorePointResource))

パラメーター

restorePointName
String

復元ポイントの名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

restorePointName は空の文字列であり、空でないと想定されていました。

restorePointName が null です。

適用対象