Condividi tramite


ShareClient.GetProperties Method

Definition

The GetProperties(ShareFileRequestConditions, CancellationToken) operation returns all user-defined metadata, standard HTTP properties, and system properties for the share.

For more information, see Get Share Properties.

public virtual Azure.Response<Azure.Storage.Files.Shares.Models.ShareProperties> GetProperties (Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetProperties : Azure.Storage.Files.Shares.Models.ShareFileRequestConditions * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Files.Shares.Models.ShareProperties>
override this.GetProperties : Azure.Storage.Files.Shares.Models.ShareFileRequestConditions * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Files.Shares.Models.ShareProperties>
Public Overridable Function GetProperties (Optional conditions As ShareFileRequestConditions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ShareProperties)

Parameters

conditions
ShareFileRequestConditions

Optional ShareFileRequestConditions to add conditions on getting share properties.

cancellationToken
CancellationToken

Optional CancellationToken to propagate notifications that the operation should be cancelled.

Returns

A Response<T> describing the share's properties.

Remarks

A RequestFailedException will be thrown if a failure occurs.

Applies to