def delete_file_share(self):
        """Delete the file share.

        Raises:
            NetskopeException: Netskope Custom Exception.
        """
        __method_name = inspect.currentframe().f_code.co_name
        try:
            applogger.info(
                "{}(method={}) : {} ({}) : Deleting the file share.".format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    consts.NETSKOPE_TO_AZURE_STORAGE,
                    self.nskp_data_type_for_logging,
                )
            )
            parent_dir = ShareServiceClient.from_connection_string(
                conn_str=consts.CONNECTION_STRING,
            )
            # deleting both the file shares for initializing iterators again.
            # deleting both share as if only one is deleted then there would be error in storage to sentinel. 
            parent_dir.delete_share(self.share_name)
            parent_dir.delete_share(self.share_name_for_duplication_check)
        except Exception as error:
            applogger.error(
                "{}(method={}) : {} ({}) : Unknown Error. Error-{}".format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    consts.NETSKOPE_TO_AZURE_STORAGE,
                    self.nskp_data_type_for_logging,
                    error,
                )
            )
            raise NetskopeException()
Delete the file share.

        Raises:
            NetskopeException: Netskope Custom Exception.
        
Solutions/Netskopev2/Data Connectors/NetskopeDataConnector/NetskopeToAzureStorage/netskope_to_azure_storage.py