public function getShareMetadata(
        $share,
        FileServiceOptions $options = null
    ) {
        return $this->getShareMetadataAsync($share, $options)->wait();
    }
public function getShareMetadata(
        $share,
        FileServiceOptions $options = null
    ) {
        return $this->getShareMetadataAsync($share, $options)->wait();
    }
public function getShareMetadata ( $ share , FileServiceOptions $ options = null ) { return $ this -> getShareMetadataAsync ( $ share , $ options ) -> wait ( ) ; }
Returns only user-defined metadata for the specified share.

@param string                  $share   name
@param FileServiceOptions|null $options optional parameters

@return GetSharePropertiesResult

@see https://docs.microsoft.com/en-us/rest/api/storageservices/get-share-metadata
Returns only user - defined metadata for the specified share .