CloudFileShare.CreateIfNotExists(FileRequestOptions, OperationContext) メソッド

定義

共有 (存在しない場合) を作成します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual bool CreateIfNotExists (Microsoft.Azure.Storage.File.FileRequestOptions requestOptions = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateIfNotExists : Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> bool
override this.CreateIfNotExists : Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> bool
Public Overridable Function CreateIfNotExists (Optional requestOptions As FileRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As Boolean

パラメーター

requestOptions
FileRequestOptions

要求の追加オプションを指定する FileRequestOptions オブジェクトです。

operationContext
OperationContext

現在の操作のコンテキストを表す OperationContext オブジェクトです。

戻り値

共有がまだ存在せず作成された場合は true、それ以外の場合は false です。

属性

注釈

この API には、作成または書き込みのアクセス許可が必要です。

適用対象