public function setShareMetadata(
        $share,
        array $metadata,
        FileServiceOptions $options = null
    ) {
        $this->setShareMetadataAsync($share, $metadata, $options)->wait();
    }
public function setShareMetadata(
        $share,
        array $metadata,
        FileServiceOptions $options = null
    ) {
        $this->setShareMetadataAsync($share, $metadata, $options)->wait();
    }
public function setShareMetadata ( $ share , array $ metadata , FileServiceOptions $ options = null ) { $ this -> setShareMetadataAsync ( $ share , $ metadata , $ options ) -> wait ( ) ; }
Updates metadata of the share.

@param string                  $share    name
@param array                   $metadata metadata key/value pair.
@param FileServiceOptions|null $options optional  parameters

@return void

@see https://docs.microsoft.com/en-us/rest/api/storageservices/set-share-metadata
Updates metadata of the share .